Find number of parameters in model

nparams(model)

# S3 method for glm
nparams(model)

# S3 method for lm
nparams(model)

# S3 method for polr
nparams(model)

# S3 method for clm
nparams(model)

# S3 method for multinom
nparams(model)

# S3 method for mlogit
nparams(model)

# S3 method for negbin
nparams(model)

Arguments

model

A statistical model object.

Value

A scalar giving the number of parameters estimated in the model.