count_params: Count the Number of Parameters in a Model

View source: R/utils.R

count_paramsR Documentation

Count the Number of Parameters in a Model

Description

Count the Number of Parameters in a Model

Usage

count_params(fit)

Arguments

fit

A fitted model object of class lm.

Value

The number of coefficients in the fitted model plus 1 for the residual standard error.


bstaton1/KuskoHarvPred documentation built on Aug. 15, 2024, 3:30 p.m.