prc: Principal Response Curves

View source: R/wrappers.R

prcR Documentation

Principal Response Curves

Description

Wrapper for the prc function to allow for formula input.

Usage

prc(formula, data, ...)

Arguments

formula

Model formula accepting a single response (block) and predictors. If no predictor is called 'time', time is assumed to be the second predictor.

data

The data set to analyse.

...

Additional arguments to prc.

Value

An object of class prc.

See Also

Main methods: asca, apca, limmpca, msca, pcanova, prc and permanova. Workhorse function underpinning most methods: hdanova. Extraction of results and plotting: asca_results, asca_plots, pcanova_results and pcanova_plots

Examples

data(caldana)
(pr <- prc(compounds ~ light * time, caldana))
summary(pr)

HDANOVA documentation built on April 12, 2025, 2:16 a.m.