getUncenteredDesignMatrix: Construct the design matrix for a given bfp GLM model

Description Usage Arguments Value

View source: R/uncenteredDesignMatrix.R

Description

This is an internal function to construct the UNCENTERED design matrix for a given bfp GLM model.

Usage

1
2
getUncenteredDesignMatrix(modelConfig = object[[1]]$configuration, object,
  fixedColumns = TRUE)

Arguments

modelConfig

the model configuration list which must have elements “powers” and “powers”. Defaults to the configuration of the first element of

object

the GlmBayesMfp object, which is needed because it contains the covariates matrix and indices vector

fixedColumns

return the fixed columns inside the matrix (default) or not?

Value

The design matrix, where the non-fixed part is columnwise centered (that is, the colmeans are zero).


glmBfp documentation built on May 29, 2017, 9:02 a.m.

Search within the glmBfp package
Search all R packages, documentation and source code