as.matrix.regcoeffs function

as.matrix method for regression coefficients class

as.matrix method for regression coefficients class

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

## 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
  • Maintainer: Sergey Kucheryavskiy
  • License: MIT + file LICENSE
  • Last published: 2024-08-19

Downloads (last 30 days):