prune_proc: Identify Rows for Prunning

View source: R/prune_01-B_proc.R

prune_procR Documentation

Identify Rows for Prunning

Description

Identify rows for prunning.

Usage

prune_proc(
  data,
  id = NA_character_,
  prune_var = "prune_id",
  func = NULL,
  cols,
  ...
)

Arguments

data

Dataframe.

id

String. ID used to identify the rows in column prune_var.

prune_var

The name of the column with the prune id. Default is "prune_id".

func

Function used to select the rows meeting the condition for prunning. Default is NULL. If identity() is used, nothing will be done.

cols

Names of columns to apply func to. Must be a character vector with a minimum length of one.

...

Additional arguments used by func.

Details

Set the column prune_var to id if the condition defined by func is met. See more details in the details section of prune.

Value

Data.frame with updated prune_var column.

See Also

prune


FrankLef/eflMuncher documentation built on July 9, 2022, 11:43 a.m.