Learn R Programming

mdatools (version 0.5.3)

as.matrix.regcoeffs: as.matrix method for regression coefficients class

Description

returns matrix with regression coeffocoents for given response number and amount of components

Usage

## S3 method for class 'regcoeffs':
as.matrix(x, ncomp = 1, ny = 1, ...)

Arguments

x
regression coefficients object (class regcoeffs)
ncomp
number of components to return the coefficients for
ny
number of response variable to return the coefficients for
...
other arguments