R: #' @keywords internal where <- function(name, env =...

get_training_data {pdp} | R Documentation

## #' @keywords internal where <- function(name, env = parent.frame()) if (identical(env, emptyenv())) stop("Can't find ", name, ".", call. = FALSE) else if (exists(name, envir = env, inherits = FALSE)) env else where(name, parent.env(env))

### Description

#' @keywords internal where <- function(name, env = parent.frame()) if (identical(env, emptyenv())) stop("Can't find ", name, ".", call. = FALSE) else if (exists(name, envir = env, inherits = FALSE)) env else where(name, parent.env(env))

### Usage

    get_training_data(object)

[Package pdp version 0.8.0 Index]