pca: PCA & Group plot

View source: R/pca.h.R

pcaR Documentation

PCA & Group plot

Description

PCA & Group plot

Usage

pca(
  data,
  mode = "simple",
  labels,
  vars,
  eigen = FALSE,
  plot = FALSE,
  plot1 = FALSE,
  plot2 = FALSE,
  vars1,
  facs,
  plot3 = FALSE,
  plot4 = FALSE,
  width = 500,
  height = 500,
  width1 = 500,
  height1 = 500,
  width2 = 500,
  height2 = 500,
  width3 = 500,
  height3 = 500,
  width4 = 500,
  height4 = 500
)

Arguments

data

The data as a data frame.

mode

.

labels

.

vars

.

eigen

.

plot

.

plot1

.

plot2

.

vars1

.

facs

.

plot3

.

plot4

.

width

.

height

.

width1

.

height1

.

width2

.

height2

.

width3

.

height3

.

width4

.

height4

.

Value

A results object containing:

results$instructions a html
results$eigen a table
results$plot an image
results$plot1 an image
results$plot2 an image
results$plot3 an image
results$plot4 an image

Tables can be converted to data frames with asDF or as.data.frame. For example:

results$eigen$asDF

as.data.frame(results$eigen)


hyunsooseol/snowCluster documentation built on April 5, 2025, 2:06 a.m.