% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fitmodel.R \name{fitModel} \alias{fitModel} \title{Fit a model using the fitModel function.} \usage{ fitModel(group, formula, data, ...) } \arguments{ \item{group}{ID to fit} \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) }