removeFromDataTable: Remove Elements from a Data Table for Dependent Variables

View source: R/util.R

removeFromDataTableR Documentation

Remove Elements from a Data Table for Dependent Variables

Description

Removes elements from a data table previously setting based on dependent variables

Usage

removeFromDataTable(data, to_remove, wid = "row.pos", dv.var = NULL)

Arguments

data

a data.frame or list containing the data table

to_remove

a vector or list containing the elements to be removed from the data table

wid

a character vector containing the unique identifier for each row

dv.var

column with the information to classify observations based on dependent variables

Value

A data.frame with the eliminated data table


geiser/rshinystatistics documentation built on Feb. 18, 2024, 6:07 p.m.