nComp: generic accessor method for slot nComp

Description Usage Arguments Value Examples

Description

generic accessor method for slot nComp

PCA accessor nComp, number of component

Usage

1
2
3
4
nComp(object)

## S4 method for signature 'PCA'
nComp(object)

Arguments

object

object of class PCA

Value

contents of nComp slot

nuemric number of components

Examples

1
2
3
4
library(tofsimsData) 
data(tofsimsData)
testImage<-PCAnalysis(testImage,4)
nComp(analysis(testImage,1))

tofsims documentation built on Nov. 8, 2020, 5:10 p.m.