rosa: Response Oriented Sequential Alternation

Description Usage Arguments Value

View source: R/rosa.R

Description

Response Oriented Sequential Alternation

Usage

1
2
3
rosa(formula, ncomp, Y.add, common.comp = 1, data, subset, na.action,
  scale = FALSE, weights = NULL, validation = c("none", "CV", "LOO"),
  fixed.block = NULL, design.block = NULL, canonical = TRUE, ...)

Arguments

formula

Model formula accepting a single response (block) and predictor block names separated by + signs.

ncomp

The maximum number of ROSA components.

Y.add

Optional response(s) available in the data set.

common.comp

Automatically create all combinations of common components up to length common.comp (default = 1).

data

The data set to analyse.

subset

Expression for subsetting the data before modelling.

na.action

How to handle NAs (no action implemented).

scale

Optionally scale predictor variables by their individual standard deviations.

weights

Optional object weights.

validation

Optional cross-validation strategy "CV" or "LOO".

fixed.block

integer vector with block numbers for each component (0 = not fixed) or list of length <= ncomp (element length 0 = not fixed).

design.block

integer vector containing block numbers of design blocks

canonical

logical indicating if canonical correlation should be use when calculating loading weights (default), enabling B/W maximization, common components, etc. Alternatively (FALSE) a PLS2 strategy, e.g. for spectra response, is used.

...

Additonal arguments for cvseg or rosa.fit

Value

An object of classes rosa and mvr having several associated printing and plotting methods.


khliland/rosa documentation built on Dec. 29, 2021, 12:25 a.m.