Learn R Programming

lmSupport (version 2.9.13)

dfRemoveCases: Removes cases from dataframe

Description

Removes cases from dataframe. Cases can be numeric or character. If numeric, rownames must be able to be converted to numeric. Returns warning if cases not found in dataframe.

Usage

dfRemoveCases(Data, Cases)

Arguments

Data

a dataframe

Cases

a vector of numeric or character case IDs/rownames

Value

Returns dataframe with cases removed.

Examples

Run this code
# NOT RUN {
d = dfRemoveCases(BAC, c('0125', '0111'))
# }

Run the code above in your browser using DataLab