rank_influence: Ranks observations based upon influence measures on models.

View source: R/misc_functions.R

rank_influenceR Documentation

Ranks observations based upon influence measures on models.

Description

rank_influence calculates influence measures of each data observation on models and then ranks them.

Usage

rank_influence(model)

Arguments

model

A generalised linear model object.

Details

rank_influence is a wrap function that calls influence.measures, ranks observations on their significance influence on the model and displays the 10 most influential observations (if they are significant).

See Also

influence.measures.

Examples

data(diet, package = "Epi")
model <- glm(chd ~ fibre, data = diet, family = binomial)
rank_influence(model)

pubh documentation built on Oct. 8, 2024, 9:08 a.m.