Displaying 3 results from an estimated 3 matches for "sdname".
Did you mean:
s_name
2010 Mar 31
2
Simplifying particular piece of code
...lify this, some sort of loop?
mrets is a zoo object.
.AV120 and .SD120 are columns in this object.
I need the exact .SR column names.
This does not work:
SRnames <- paste(colnames.mrets, ".SR", sep="")
AVnames <- paste(colnames.mrets, ".AV120", sep="")
SDnames <- paste(colnames.mrets, ".SD120", sep="")
for(i in seq(SRnames)){
mrets <- merge(mrets, SRnames[i]=apply(mrets, 1, MyFunc,
ret=AVnames[i], stdev=SDnames[i]))
}
Help much appreciated.
Regards,
Sergey
--
Simplicity is the last step of art./Bruce Lee
The more you know...
2007 Aug 30
0
How to mask or escape "=" in Windows command prompt?
I have defined a function with several arguments and have it stored in the
.RData file.
The 'function head' is defined as follows
EstimALIConc
<-function(sdname,SZ,W,farea,watri,biomodel,start.part=1,nparts=20,method=c("optim","DEoptim"))
{
[ blah-blah-blah ]
(function body doesn't matter)
}
Then I call Rscript:
e:> rscript --restore -e
"EstimALIConc('17-aug',27.8,5,1,watri,biomodel,1,100,method='DEoptim...
2006 Oct 26
0
Generating tables
...ther way to make a table which supports this? I am
merely using a data frame as a way to create a table I don't need the
data to be this data type.
Benjamin
On 10/26/06, Leeds, Mark (IED) <Mark.Leeds at morganstanley.com> wrote:
> I think colnames(DF)<-c("meanname","sdname","nname") should work if
> that's what you want.
>
>
>
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Benjamin
> Dickgiesser
> Sent: Thursday, October 26, 2006 1:08 PM...