Displaying 3 results from an estimated 3 matches for "sdnames".
Did you mean:
dnames
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
2006 Oct 26
0
Generating tables
I am actually trying to write something above the first column ( in
the example the column with numbers 1 to 8) is this possible at all?
If not, is there another 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: