R/lmranks_obs_influence.R

Defines functions rstudent.lmranks influence.lmranks dfbetas.lmranks dfbeta.lmranks cooks.distance.lmranks rstandard.lmranks

#' @importFrom stats cooks.distance dfbeta dfbetas influence rstandard rstudent
#' @export
rstandard.lmranks <- function(model, ...){
  cli::cli_abort(c("This method returns incorrect results.",
                   "i" = "The notion of prediction standard error is not theoretically developped yet."))
  NextMethod()
}

#' @export
cooks.distance.lmranks <- function(model, ...){
  cli::cli_abort(c("This method returns incorrect results.",
                 "i" = "Deleting and observation changes values of ranks in (in)dependent values. Standard *smart* method breaks down then."))
}

#' @export
dfbeta.lmranks <- function(model, ...){
  cli::cli_abort(c("This method returns incorrect results.",
                 "i" = "Deleting and observation changes values of ranks in (in)dependent values. Standard *smart* method breaks down then."))
}

#' @export
dfbetas.lmranks <- function(model, ...){
  cli::cli_abort(c("This method returns incorrect results.",
                 "i" = "Deleting and observation changes values of ranks in (in)dependent values. Standard *smart* method breaks down then."))
}

#' @export
influence.lmranks <- function(model, ...){
  cli::cli_abort(c("This method returns incorrect results.",
                 "i" = "Deleting and observation changes values of ranks in (in)dependent values. Standard *smart* method breaks down then."))
}

#' @export
rstudent.lmranks <- function(model, ...){
  cli::cli_abort(c("This method returns incorrect results.",
                 "i" = "Deleting and observation changes values of ranks in (in)dependent values. Standard *smart* method breaks down then."))
}
danielwilhelm/R-CS-ranks documentation built on Sept. 11, 2024, 4:18 p.m.