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

Description Usage Arguments

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 1, 2019, 11:29 p.m.

Related to as2 in rowr...