comprcompClass: S3 class comprcomp.

Description Usage Arguments

Description

S3 class comprcomp.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
varplot(object, ...)

compvar(object, ...)

compscore(object, ...)

## S3 method for class 'comprcomp'
print(x, ...)

## S3 method for class 'comprcomp'
scores(object, X, Y, comp = 1:2, center, scale,
  grouping = FALSE, ...)

## S3 method for class 'lda'
scores(object, X, Y, comp = 1:2, ...)

## S3 method for class 'comprcomp'
compscore(object, X, sorted = FALSE, ...)

## S3 method for class 'comprcomp'
compvar(object, X, Y, comp, center, scale,
  grouping = FALSE, prop = FALSE, perc = FALSE, sorted = FALSE, ...)

## S3 method for class 'comprcomp'
varplot(object, X, Y, comp = 1:2, facet = TRUE, ...)

## S3 method for class 'comprcomp'
scoreplot(object, X, Y, comp = 1:2, ...)

## S3 method for class 'prcomp'
scoreplot(object, X, Y, comp = 1:2, ...)

## S3 method for class 'lda'
scoreplot(object, X, Y, comp = 1:2, ...)

Arguments

object

An object of class comprcomp.

...

Additional arguments.

x

An object of class comprcomp.

X

A matrix of data points (raw data).

Y

A vector of classes (factor).

comp

A vector of components (indcices).

center

A logical value indicating centering (per variable/per column).

scale

A logical value indicating scaling to unit variance (per variable/per column).

grouping

A logical value indicating doing PCA or CPCA (PCA per group). The default value is FALSE.

sorted

A logical indicating wether to sort results or not. The default value is FALSE.

prop

A logical indicating whether the data are to be reported in proportions. The default value is FALSE.

perc

A logical indicating whether the data are to be reported in percentage. The default value is FALSE.

facet

A logical indicating whether faceting is to applied in varplot method.


variani/cpca documentation built on May 3, 2019, 4:34 p.m.