Learn R Programming

dsBase (version 6.3.3)

asMatrixDS: Coerces an R object into a matrix

Description

this function is based on the native R function as.matrix

Usage

asMatrixDS(x.name)

Value

the object specified by the <newobj> argument (or its default name <x.name>.mat) which is written to the serverside. For further details see help on the clientside function ds.asMatrix

Arguments

x.name

the name of the input object to be coerced to class matrix. Must be specified in inverted commas. But this argument is usually specified directly by <x.name> argument of the clientside function ds.asMatrix

Author

Amadou Gaye, Paul Burton for DataSHIELD Development Team

Details

See help for function as.matrix in native R