Description Usage Arguments Value

View source: R/getDesignMatrix.R

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

1 2 | ```
getDesignMatrix(modelConfig = object[[1]]$configuration, object,
intercept = TRUE, center = TRUE)
``` |

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

`object` |
the |

`intercept` |
return the intercept column inside the matrix (default) or not? |

`center` |
should the data be centered (default) or not? |

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.