pubh (version 1.1.16)

rank_influence: 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

Run this code
# NOT RUN {
data(diet, package = "Epi")
model <- glm(chd ~ fibre, data = diet, family = binomial)
rank_influence(model)
# }

Run the code above in your browser using DataCamp Workspace