knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
TGMRF: Transformed Gaussian Markov Random Fields is a package that allow the use of several approaches to fit Poisson intensities.
# Install from CRAN (when available) install.packages("TGMRF") # Or the development version from GitHub # install.packages("devtools") devtools::install_github("DouglasMesquita/TGMRF")
library(TGMRF)
will load tgmrf, a function to fit Poisson regression models. The user can choose for several approaches to model the poisson intensities: gamma-precicison, gamma-shape, gamma-scale, lognormal, lognormal-precision, weibull-shape and weibull-scale.
See ?tgmrf
for examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.