logLik.manylm | R Documentation |

Calculate the log likelihood of a multivariate linear model.

## S3 method for class 'manylm' logLik(object, REML = FALSE, ...)

`object` |
a |

`...` |
some methods for this function require additional arguments. |

`REML` |
an optional logical value. If |

It is assumed that the scale has been estimated (by maximum likelihood or REML), and all the constants in the log-likelihood are included.

Returns an object, say `r`

, of class `logLik`

which is a
number with attributes, `attr(r, "df")`

(**d**egrees of
**f**reedom) giving the number of (estimated) parameters in the model.

data(spider) spiddat <- mvabund(spider$abund) lm.spider <- manylm(spiddat~., data=spider$x) logLik(lm.spider)

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.