Displaying 20 results from an estimated 557 matches for "on".
2009 Dec 15
1
Changing Column names in (Output) csv file
...prob[[10]] <- c(0.65,0.19,0.16)
pdf <- expand.grid(range_prob)
data_lab$probs <- apply(pdf, 1, prod)
joint_probs = xtabs(probs ~ Var1 + Var2+Var3+Var4+Var5+Var6+Var7+Var8+Var9+Var10, data = data_lab)
write.csv(data.frame(joint_probs), 'joint_probs.csv', row.names = FALSE)
ONS = read.csv('joint_probs.csv')
Names = NULL
for (i in 1:length(joint_probs))
{
Names[i] = paste(ONS$Var1[i], ONS$Var2[i], ONS$Var3[i], ONS$Var4[i], ONS$Var5[i], ONS$Var6[i], ONS$Var7[i], ONS$Var8[i],ONS$Var9[i], ONS$Var10[i])
}
write.csv(data.frame(labels = Names), 'Name...
2009 May 27
1
How to write a loop?
...
Following is a R script I am using to run the Fast Fourier Transform. The csv files has 10 columns with titles m1, m2, m3 .....m10.
When I use the following commands, I am getting the required results. The probelm is if there are 100 columns, it is not wise to define 100 commands as fk <- ONS$mk and so on. Thus, I need some guidance to write the loop for the STEP A and STEP B.
Thanking in advance
Regards
Maithili
My R Script
-----------------------------------------------------------------------------------------------
ONS <- read.csv("fast fourier transform.csv...
2010 Jan 19
0
Macualay Duration code in a Functional Form - Please Help
# I have written this code in Notepad++ and copied here.
## ONS - PPA
Duration = function(par_value, coupon_rate, freq_coupon, tenure, ytm)
{
macaulay_duration = NULL
modified_duration = NULL
freq_coupon_new = NULL
if(freq_coupon <= 0)
{
freq_coupon_new = 365
}
if(freq_coupon > 0 & freq_coupon <= 1)
{
freq_coupon_new...
2011 Dec 21
5
R Source Code Request Office For National Statistics UK
To R Support Team,
ONS would like a restricted number of its IT staff to view the source code
for the latest version of your software, to check it against our source
code security guidelines.The source code will be securely stored with
access limited.
ONS is quite happy to agree that we would not
- copy or change y...
2006 Jun 28
2
RV: error in VB6 aplication
When I run the VB6 aplication , this is the error log
wine "c:\silverlab\silverlab.exe"
fixme:ole:CoRegisterMessageFilter stub
fixme:ole:OleLoadPictureEx
(0x4143f104,774,0,{7bf80980-bf32-101a-8bbb-00aa00300c
ab},x=0,y=0,f=0,0x406bfae8), partially implemented.
fixme:ole:OleLoadPictureEx
(0x4143f104,1086,1,{7bf80980-b...
2007 Jul 07
1
Top Ten Female Turn Ons
Top Ten Female Turn Ons
When it comes to sexual turn ons, men and women are very different. It
is not a myth that women are attracted to a man who is comfortable with
his emotions.
http://2site.com/epqjag
The Truth About Creative Baby Shower Thank You Poems
Where are the cutest baby shower thank you poems?
Don'...
2005 Jun 20
2
Well, there are some archive add-ons
There are some rather nice archive replacements for Mailman that provide
full searching, etc.
I can provide more info if wanted.
Geoff
2003 Mar 18
2
To load Add-ons
Dear R Help-Team,
If I start R and type in
search()
the result is:
[1] ".GlobalEnv" "package:ctest" "Autoloads" "package:base"
I often need an Add-on-package. I can load it with "> library(package)" or
include a require-command in the .First-function. The .First-function is
fine, if I always use the same working directory. But I don't. And I'm not
the only one, who needs some Add-ons almost every time.
Is it possible to chan...
2010 Feb 15
1
Storing processed results in a loop
... 5 14
11 7 7
14 11 3
8 21 10
11 3 5
Following is my R code.
ONS = read.csv('Instrument.csv')
n = length(ONS)
Y = NULL
B = NULL
for (i in 1 : n)
{
Y[i] = ONS[i]
for (j in 1 : length(Y[[i]]))
{
B[j] = (Y[[i]][j])^2
}
}
Problem is when I type B, I get the processed result only for the last column i.e. Y[7]. It doesn't sto...
2010 Feb 15
1
CORRECTION - Storing results in a loop
Dear R Helpers
(There is a small correction in my earlier mail. In the 'instrument.csv' file, I had mentioned only three columns. Actually there are 7 columns. I regret the error. Rest contents remains the same. Thanks)
I have an 'instrument.csv' file with 7 instrument names and 5 rates each i.e. it has 7 columns and 6 rows...
2017 Feb 12
2
Problems with latest Firefox update -- can't install new extensions
Since the latest Firefox update to 45.7.0 on my CentOS 6.8 system, I can
no longer install add-ons/extensions. Things LOOK like they're working
but the extensions don't get stored in my normal area and they don't
appear in my Add-Ons menu. Is anyone else having this issue?
It has been a while since I added any new extensions s...
2002 Sep 27
3
Retaining regularly used add-ons
Hi everyone,
How might I go about configuring R to keep
add-on packages loaded from session to session?
Is this undesireable for some reason?
At present, I keep a file called "pckgs.txt" in my
working directory with, e.g.,
library(gnlm)
library(Hmisc)
...
and then type source("add-ons.txt&...
2007 Jan 17
4
FW: Realtime Voicemail Password Change Not Working
> I'm using asterisk 1.2.9.1 and mysql 3.23, asterisk add-ons 1.2.3.
> All seems to work normally with realtime voicemail, reads vmbox
> parameters from the db fine. When I try to change the password,
> asterisk operates normally, "enter new password" ok, "re-enter new
> password" ok, "password has been changed"
>...
2006 Jun 28
0
RV: RV: error in VB6 aplication
This error appears when y try to login into a SQL server .
I run the aplication Silverlab.exe ( in VB6) , and in the first windows
appear a image and two butonms 1 for exit an 2 to login ... I press a bottom
"Login " and ....
in a windows the wine put:
Database Engine Open Error !
Server Name :
Connection_String = Provider=SQLOLEDB.1;Persist Security Info=False;Use...
2010 Jan 19
0
Macaulay Duration for Group
Dear R helpers
I have following csv file which is an input
id par_value coupon_rate frequency_coupon tenure ytm
1 1000 10 1 5 12
# Here frequency_coupon is coded s.t. 0 means Daily compounding, 1 means monthly compouding, 2 means Quarterly, 3 means Half yearly and 4 means only once. Thus in...
2008 Dec 10
1
Stepwise regression
Hi,
I have the response variable 'Y' and four predictors say X1, X2, X3 and X4. Assuming all the assmptions like Y follows normal distribution etc. hold and I want to run linear multiple regression. How do I run the stepwise regression (forward as well as the backward regression).
>From other software (i.e....
2006 Mar 07
0
Asterisk add-ons - H323
How to upgrade h323 from Asterisk add-ons (from version 1.2.1 to 1.2.2)?
In INSTALL they don't say anything about upgrade...
Thank you for your time!
--
Tomislav Parcina
tparcina#lama.hr
2009 Dec 16
1
Mixing commercial/SVN Asterisk
Am I correct that if I'm running an -rc or from an SVN release tree that
there's no way I can use any commercial add-ons from Digium, such as
Skype, Cepstral, or G.729?
2003 Mar 18
0
Crash in Microsoft Excel, using Add-ons
When clicking on the Tools->Add-ons link, the following.
Running Excel without a Windows install..
Console output.. (Debug below)
wine -- ./fake_windows/Program\ Files/Microsoft\ Office/Office/EXCEL.EXE
fixme:ole:CoRegisterMessageFilter stub
fixme:mpr:WNetOpenEnumA (00000002, 00000001, 00000000, (nil), 0x4067ea...
2009 Dec 28
2
Modified R Code
Dear R helpers,
I have following input files. (Actually they are more than 10 rates but here i am considering only 2 rates to write my problem)
rate1.csv
min1 max1 min2 max2 min3 max3
1.05 1.30 1.30 1.65 1.65 1.99
rate2.csv
min1 max1 min2 max2 min3 max3...