arch_PCA: Principal Component Analysis.

Description Usage Arguments Value

Description

Plots Principal Component Analysis of alr transformed data.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
arch_PCA(
  df_chem,
  df_raw,
  nplot = nplot,
  alr = TRUE,
  printPCA = FALSE,
  labels = FALSE,
  shape_cat_number = 15,
  frame = TRUE,
  PCx = 1,
  PCy = 2,
  nshapes = 10,
  label.size = 3
)

Arguments

df_chem

chemical data

df_raw

categorical data and chemical data

nplot

number of plots to display

alr

when TRUE applies additive log ratio transformations (default = TRUE)

printPCA

when TRUE creates a pdf file with the PCA

labels

turn TRUE to display labels

shape_cat_number

from 1 to 15, the number of categories to display with

frame

= TRUE,

PCx

= 1,

PCy

=2

nshapes

Chose from 1-25 shapes to display all equally, default= 10.

label.size

= 3

Value

A principal component analysis plot.


esteful/ArchFlow documentation built on Dec. 20, 2021, 6:40 a.m.