% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/m2dt_utils.R
\name{get_outcome_variables}
\alias{get_outcome_variables}
\title{Identify the response variables of a fitted model}
\usage{
get_outcome_variables(model)
}
\arguments{
\item{model}{Fitted model object.}
}
\value{
Character vector of response variable names, or \code{character(0)}
  when the formula cannot be recovered.
}
\description{
Returns the variables appearing on the left-hand side of a model formula. A
survival response contributes both the time and status variables.
}
\keyword{internal}
