Last data update: 2014.03.03

R: A more robust form of the R 'as' function.
as2R Documentation

A more robust form of the R as function.

Description

Alternative to as that allows any data object to be converted to any other.

Usage

as2(object, class)

Arguments

object

any R object

class

the name of the class to which object should be coerced

Results