pamrTrain(nlcv)
pamrTrain()所属R语言包:nlcv
Function providing a formula interface to pamr.train
运作提供一个公式界面到pamr.train
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Function that provides a classical R modelling interface, using a formula and data argument
功能,提供了一个经典的R建模界面,使用formula和data参数
用法----------Usage----------
pamrTrain(formula, data, ...)
参数----------Arguments----------
参数:formula
formula
公式
参数:data
data frame
数据框
参数:...
further arguments to be passed to pamr.train
被传递pamr.train的进一步参数
值----------Value----------
Object that is perfectly identical to the object returned by pamr.train
对象,它是完全一致的对象返回pamr.train
作者(S)----------Author(s)----------
Tobias Verbeke
参见----------See Also----------
pamr.train
pamr.train
举例----------Examples----------
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)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|