% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/validation.R
\name{validate_family_response}
\alias{validate_family_response}
\title{Validate the response variable against the specified family}
\usage{
validate_family_response(data, formula, family)
}
\arguments{
\item{data}{A data frame.}

\item{formula}{A formula; the left-hand side is the response variable.}

\item{family}{Character string: `"gaussian"` or `"binomial"`.}
}
\value{
Invisibly returns `TRUE` when valid; stops otherwise.
}
\description{
Validate the response variable against the specified family
}
\keyword{internal}
