pamrtrained-class: Trained pamr Object

Description Summary Author(s) Examples

Description

Enables dispatching on it.

Summary

A method which summarises the results is available. result is a ClassifyResult object.

show(result)Prints a short summary of what result contains.

Author(s)

Dario Strbenac

Examples

1
2
3
4
5
6
7
  genesMatrix <- sapply(1:25, function(geneColumn) c(rnorm(100, 9, 1)))
  genesMatrix <- cbind(genesMatrix, sapply(1:25, function(geneColumn)
                                 c(rnorm(75, 9, 1), rnorm(25, 14, 1))))
  classes <- factor(rep(c("Poor", "Good"), each = 25))
    
  result <- nearestShrunkenCentroidTrainInterface(genesMatrix, classes)
  class(result)

ClassifyR documentation built on Nov. 17, 2017, 1:42 p.m.