Learn R Programming

OpasnetUtils (version 1.3)

unkeep: Remove unnecessary columns

Description

Removes columns in ovariable outputs

Usage

unkeep(X, cols = NA, sources = FALSE, prevresults = FALSE)

Arguments

X

an ovariable to be worked on

cols

character vector of columns to be removed

sources

if TRUE removes "...Source"-columns

prevresults

if TRUE removes Result-columns of other variables

Value

ovariable