pamrI: Instance of a learnerSchema for pamr models

Description Usage Author(s) See Also Examples

Description

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

Usage

1

Author(s)

Tobias Verbeke

See Also

MLearn

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
  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) 

  (mlobj <- MLearn(y ~ .,
      data = alldf,
      .method = pamrI,
      trainInd = 1:15))

nlcv documentation built on May 21, 2017, 12:53 a.m.

Search within the nlcv package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.