powered by
This function takes a dataframe, list, or a named vector of variable (column) names to subset
cept(x,except='gn_sp')
the subset of x without those 'except' items specified
a dataframe, list, or named vector
a vector of the names of the items in x to exclude
data.path <- system.file("extdata","primate-example.data.csv", package="mmodely") data <- read.csv(data.path, row.names=1) df.except.gnsp <- cept(x=data,except='gn_sp')
Run the code above in your browser using DataLab