Select a column from a LaF object

Description

Selecting columns from an laf object works as it does for a data.frame.

Usage

1
2
3
4
5
## S4 method for signature 'laf'
x[[i]]

## S4 method for signature 'laf'
x$name

Arguments

x

an object of type laf

i

index of column to select. This should be a numeric or character vector.

name

the name of the column to select.

Value

Returns an object of type laf_column. This object behaves almost the same as an laf object except that is it no longer necessary (or possible) to specify which column should be used for functions that require this.