pamrI function

Instance of a learnerSchema for pamr models

Instance of a learnerSchema for pamr models

This object is an instance of the learnerSchema object and will be typically used as the method argument of an MLearn call. data

Format

An object of class learnerSchema of length 1.

pamrI

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) # assure it is a factor (otherwise error message) alldf$y <- factor(alldf$y) library(MLInterfaces) (mlobj <- MLearn(y ~ ., data = alldf, .method = pamrI, trainInd = 1:15))

See Also

MLearn

Author(s)

Tobias Verbeke

  • Maintainer: Laure Cougnaud
  • License: GPL-3
  • Last published: 2018-06-29

Useful links