Learn R Programming

api2lm

A R package to support the book "A Progressive Introduction to Linear Models"

Copy Link

Version

Install

install.packages('api2lm')

Monthly Downloads

378

Version

0.2

License

GPL-3

Maintainer

Joshua French

Last Published

June 8th, 2023

Functions in api2lm (0.2)

autoplot.confint_adjust

Plot confint_adjust object
combine_coefs

Combine coefficients
cooks_plot

Index plot of Cook's distances for lm object
confint_adjust

Adjust confidence intervals for multiple comparisons
coef_compare

Compare coefficients of 2 models
coef_matrix

Return coefficient matrix
cooks_stats

Cook's statistics
cooks_test

Identify influential observations
dffits_stats

DFFITS statistics
dffits_plot

Index plot of DFFITS values for lm object
dfbetas_plot

dfbetas index plots
dwaine

Dwaine Studios data
crime2009

2009 Crime Data
format_perc_api2lm

Format percentages
dfbeta_plot

dfbeta index plots
influence_plot

Influence plots
index_plot_lm

Index plot of statistics from of an lm object
influence_stats

Influence statistics
index_plot_dfbetas_elements

Get elements for dfbetas index plot
index_plot_lm_elements

Create plot elements for index_plot_lm
get_residuals

Extract residuals from a model
print.predict_adjust

Print predict_adjust object
outlier_stats

Outlier statistics
rloo.lm

Compute leave-one-out residuals for `lm` objects.
outlier_test

Identify outliers
rplot_raw

Helper function for residuals_plot.lm
dffits_test

Identify influential observations
leverage_test

Identify leverage points
print.coef_matrix

Print an object of class coef_matrix produced by the coef_matrix function.
print.confint_adjust

Print confint_adjust object
set_lines_arglist

Set default values of lines_arglist
outlier_plot

Index plot of studentized residuals for lm object
set_abline_arglist

Set default values of abline_arglist
toluca

Toluca Company data
index_plot_raw

Index plot helper function
residual_plot

Plot residuals of a fitted model
sl_plot

Spread-level plot of a fitted model
set_text_arglist

Set the default values of text_arglist if not specified by the user.
predict_adjust

Adjust prediction intervals for multiple comparisons
plot.confint_adjust

Plot confint_adjust x
sl_plot.lm

Spread-level plot for lm object
leverage_stats

Leverage statistics
rloo

Compute leave-one-out residuals
residual_plot.lm

Plot residuals of a fitted lm object
leverage_plot

Index plot of leverage values for lm object
home_sales

Home sale prices in King County, WA
arg_check_cooks_test

Check arguments of cooks_test
arg_check_leverage_test

Check arguments of leverage_test
arg_check_influence_plot

Check arguments of dfbetas_plot
arg_check_dffits_test

Check arguments of dffits_test
arg_check_outlier_test

Check arguments of outlier_test
auto_mfrow

Automatically determine `mfrow`
arg_check_dfbeta_plot

Check arguments of dfbeta_plot
arg_check_residual_plot_lm

Check arguments of residual_plot.lm
arg_check_dfbetas_plot

Check arguments of dfbetas_plot
arg_check_index_plot_lm

Check arguments of residual_plot.lm