Learn R Programming

mdatools (version 0.14.1)

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 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