Learn R Programming

genvar (version 0.0.2.0)

subset.varlist: generate a varlist that is a subset of another

Description

generate a varlist that is a subset of another

Usage

# S3 method for varlist
subset(x, vars, ...)

Arguments

x

a varlist

vars

a set of variable names

...

currently ignored

Value

returns the subset of variable names with an attibute "type" giving the types. The vector is of class "varlist"