objects: Objects Type Conversions

Description Usage Arguments Functions See Also Examples

Description

type less - object type conversions

Usage

1
2
3
adf(x, ...)

am(x, ...)

Arguments

x

tabular data object

...

other parameters passed onto methods

Functions

'adf()'

adf is a shorthand for the base function as.data.frame

'am()'

am is a shorthand for the base function as.matrix

See Also

as.data.frame and as.matrix in the base package

Examples

1
2
3
4
5
6
7
# example conversions
irisMatrix <- am(iris)
irisDataFrame <- adf(irisMatrix)

# check the class
class(irisMatrix)
class(irisDataFrame)

ShaulAb/typeless documentation built on May 28, 2019, 3:15 p.m.