Description Usage Arguments Value Examples

This function returns a list containing the parameter estimates `beta`

, the variance-covariance matrix `vcov`

,
the residual degrees of freedom `df`

and the residual standard deviation `sigma`

based on a general linear model fitted by the `lm`

function from the stats package.
This function will only rarely be called by the end-user. When calculating these values for `protLM`

objects, we recommend using the function `getbetaVcovDfList`

.

1 2 |

`model` |
A general linear model object of class |

`exp_unit` |
The effect in the model that corresponds to the experimental unit. Only needed when one would like to calculate a more conservative way of estimating the degrees of freedom.
The default way ( |

`pars_between` |
Only used if |

A list containing (1) a named column matrix beta containing the parameter estimates, (2) a named square variance-covariance matrix, (3) a numeric value equal to the residual degrees of freedom, (4) a numeric value equal to the residual standard deviation of the model and (5) `NULL`

if `exp_unit`

is left to its default value `NULL`

, else: a conservative estimate of the degrees of freedom based on the number of experimental units and the degrees of freedom lost due to between-treatment effects.

1 2 3 |

statOmics/MSqRob documentation built on Nov. 24, 2018, 6:52 a.m.

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.