View source: R/PLNnetworkfamily-S3methods.R

coefficient_path | R Documentation |

Extract the regularization path of a PLNnetwork fit

```
coefficient_path(Robject, precision = TRUE, corr = TRUE)
```

`Robject` |
an object with class |

`precision` |
a logical, should the coefficients of the precision matrix Omega or the covariance matrix Sigma be sent back. Default is |

`corr` |
a logical, should the correlation (partial in case |

Sends back a tibble/data.frame.

```
data(trichoptera)
trichoptera <- prepare_data(trichoptera$Abundance, trichoptera$Covariate)
fits <- PLNnetwork(Abundance ~ 1, data = trichoptera)
head(coefficient_path(fits))
```

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.