Learn R Programming

crunch (version 1.3.2)

variable-to-R: Convert Variables to local R objects

Description

Convert Variables to local R objects

Usage

## S3 method for class 'CrunchVariable':
as.vector(x, mode = "any")

Arguments

x
a CrunchVariable subclass
mode
argument not used: part of the generic as.vector signature

Value

  • an R vector of the type corresponding to the Variable. E.g. CategoricalVariable yields type factor, NumericVariable yields numeric, etc.