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

Description Usage Arguments

View source: R/rowr.R

Description

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

Usage

1
as2(object, class)

Arguments

object

any R object

class

the name of the class to which object should be coerced


rowr documentation built on May 29, 2017, 2:52 p.m.

Search within the rowr package
Search all R packages, documentation and source code