Calculate average marginal effects from a fitted model object.

# S3 method for survreg
smargins(model, ..., n = 1000)

Arguments

model

A fitted model object.

...

Named values to set predictor variables to.

n

Number of simulations to run.

Value

A data.frame containing predictor variables values and expected values of the dependant variable.