subset.casTable: Return a Subset of Rows and Columns from a CAS Table

View source: R/table_functions.R

subset.casTableR Documentation

Return a Subset of Rows and Columns from a CAS Table

Description

Return a subset of rows and columns from a CASTable that meet subsetting criteria.

Usage

subset.casTable(x, subset, select = NULL, drop = FALSE, ...)

Arguments

x

A CASTable object.

Value

A CASTable object with the rows and columns that meet the subset criteria.

Examples

## Not run: 
subset(ct, subset = ct[4] > 15, select = c("n1", "n4", "s"), drop = FALSE)
subset(ct, subset = ct$n4 > 15, select = c(1, 4, 5), drop = FALSE)

## End(Not run)

sassoftware/R-swat documentation built on Feb. 26, 2024, 8 a.m.