Learn R Programming

tofsims (version 1.0.2)

nComp: generic accessor method for slot nComp

Description

generic accessor method for slot nComp

PCA accessor nComp, number of component

Usage

nComp(object)

## S3 method for class 'PCA': nComp(object)

Arguments

object
object of class PCA

Value

  • contents of nComp slot

    nuemric number of components

Examples

Run this code
library(tofsimsData) 
data(tofsimsData)
testImage<-PCAnalysis(testImage,4)
nComp(analysis(testImage,1))

Run the code above in your browser using DataLab