pamrTrain | R Documentation |
Function that provides a classical R modelling interface, using a
formula
and data
argument
pamrTrain(formula, data, ...)
formula |
formula |
data |
data frame |
... |
further arguments to be passed to |
Object that is perfectly identical to the object returned by
pamr.train
Tobias Verbeke
pamr.train
set.seed(120)
x <- matrix(rnorm(1000*20), ncol=20)
y <- sample(c(1:4), size=20, replace=TRUE)
alldf <- cbind.data.frame(t(x), y)
pamrTrain(y ~ ., alldf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.