multivariate_import: Prepare data for multivariate analysis

View source: R/multivariate_import.R

multivariate_importR Documentation

Prepare data for multivariate analysis

Description

does all the preparation work for multivariate methods

Usage

multivariate_import(dataframe, elementsonly, zeros, transform)

Arguments

dataframe

pass the name of a dataframe parsed using "itrax_import()" or "itrax_join()"

elementsonly

if TRUE, only chemical elements are included. If FALSE, the data is passed unfiltered, otherwise a character vector of desired variable names can be supplied

zeros

if "addone", adds one to all values. If "limit", replaces zero values with 0.001. Otherwise a function can be supplied to remove zero values.

transform

binary operator that if TRUE will center-log-transform the data, if FALSE will leave the data untransformed. Otherwise, a function can be supplied to transform the data.


itraxR documentation built on July 26, 2023, 5:48 p.m.