plotRegression_Hatvalues: Suitable for regression: This function creates a plot for...

Description Usage Arguments

View source: R/plotRegression_Hatvalues.R

Description

Suitable for regression: This function creates a plot for hat-values

Usage

1
2
3
4
5
6
7
plotRegression_Hatvalues(
  df_original,
  y,
  predictors,
  hat_cutoff_min = 2,
  hat_cutoff_max = 3
)

Arguments

df_original

# original dataframe

y

# name of dependent variable

predictors

# name of predictors, for example c("expert", "conflict)

hat_cutoff_min

= 2 # horizontal line in plot at selected value x mean

hat_cutoff_max

= 3 # horizontal line in plot at selected value x mean


rjbderooij/blindData_Git documentation built on Dec. 20, 2020, 5:17 a.m.