Skip to content
Snippets Groups Projects
fitModel.Rd 627 B
Newer Older
Arnaud Duvermy's avatar
Arnaud Duvermy committed
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fitmodel.R
Arnaud Duvermy's avatar
Arnaud Duvermy committed
\name{fitModel}
\alias{fitModel}
Arnaud Duvermy's avatar
Arnaud Duvermy committed
\title{Fit a model using the fitModel function.}
\usage{
Arnaud Duvermy's avatar
Arnaud Duvermy committed
}
\arguments{
\item{group}{ID to fit}
Arnaud Duvermy's avatar
Arnaud Duvermy committed
\item{formula}{Formula specifying the model formula}

\item{data}{Data frame containing the data}

\item{...}{Additional arguments to be passed to the glmmTMB::glmmTMB function}
}
\value{
Fitted model object or NULL if there was an error
}
\description{
Fit a model using the fitModel function.
}
\examples{
fitModel("mtcars" , formula = mpg ~ cyl + disp, data = mtcars)
Arnaud Duvermy's avatar
Arnaud Duvermy committed
}