% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hazard_api.R
\name{coef.hazard}
\alias{coef.hazard}
\title{Extract coefficients from hazard model}
\usage{
\method{coef}{hazard}(object, ...)
}
\arguments{
\item{object}{A \code{hazard} object.}

\item{...}{Unused; for S3 compatibility.}
}
\value{
A named numeric vector of fitted parameter estimates, or \code{NULL}
if the model has not been fitted (\code{fit = FALSE}).
}
\description{
Extract coefficients from hazard model
}
\examples{
fit <- hazard(time = rexp(30, 0.5), status = rep(1L, 30),
              theta = c(0.3, 1.0), dist = "weibull", fit = TRUE)
coef(fit)
}
