Learn R Programming

amt (version 0.1.4)

fit_clogit: Fit a conditional logistic regression

Description

This function is a wrapper around survival::clogit, making it usable in a piped workflow.

Usage

fit_clogit(data, formula, more = NULL, summary_only = FALSE, ...)

fit_ssf(data, formula, more = NULL, summary_only = FALSE, ...)

fit_issf(data, formula, more = NULL, summary_only = FALSE, ...)

Arguments

data

[data.frame] The data used to fit a model.

formula

[formula] The model formula.

more

[list] Optional list that is passed on the output.

summary_only

[logical(1)=FALSE] If TRUE only a broom::tidy summary of the model is returned.

...

Additional arguments, passed to survival::clogit.