Displaying 2 results from an estimated 2 matches for "nfeatur".
Did you mean:
featur
2005 Nov 23
5
finding peaks in a simple dataset with R
I've been asked in private,
(and am replying BCC to the asker),
>> I saw your post on the R-help archives page about the possibility of
>> porting a function from S-Plus called peaks() to R. I am looking for
>> some way to locate peaks in a simple x,y data set, and thought that R
>> might be the way to go.
"of course" it is the way to go, don't get
2007 Jan 22
0
Recursive-SVM (R-SVM)
...limination of least important genes
### author: Dr. Xin Lu, Research Scientist
### Biostatistics Department, Harvard School of Public Health
library(e1071)
## read in SVM formated data in filename
## the format following the defination of SVMTorch
## the first line contains 2 integer: nSample nFeature+1
## followed by a matrix, each row for one sample, with the last column being +/1 1 for class label
ReadSVMdata <- function(filename)
{
dd <- read.table( filename, header=F, skip=1)
x <- as.matrix( dd[, 1:(ncol(dd)-1)] )
y <- factor( dd[, ncol(dd)] )
ret <- list(x=x, y=y)...