Show Method for ftmglm or ftmlm objects
show-ftmglm-method.RdThis method formats and prints key statistics and information about the ftmglm or ftmlm object,
including the number of predictors used in the model, the formula, and a subset of the model's coefficients.
If there are many coefficients, only the first 10 are displayed followed by an ellipsis to indicate truncation.
The method enhances readability and quick assessment of the model without cluttering the output, which is particularly useful for complex models with many predictors or parameters.
Value
This method does not return a value; it is used for its side effect of printing to the console.
Details
The output includes:
Model Type: Identifies the model type of model.
Number of Predictors: Displays the number of predictors used in the model, not counting the intercept.
Formula: Shows the formula used to create the model, derived from the `formula` method for
ftmglmorftmlmobjects.Coefficients: Lists the model's coefficients. If the model has more than 10 coefficients, only the first 10 are displayed followed by "..." to indicate more coefficients are available but not shown.
Coefficients are formatted to three decimal places for clarity. This method is useful for quick checks and summaries of the model's parameters and settings without needing to invoke separate summary methods.