dmat {ramify}R Documentation

Data Frames

Description

Like mat, but returns a data frame.

Usage

dmat(x, ...)

Arguments

x

A data vector, character string, or a list.

...

Aditional optional arguments passed on to mat.

Value

A data frame (i.e., an object of class "data.frame".

See Also

mat, bmat.

Examples

dmat('1e-01, 2+5, 3, 4, 5; 6, 7, 8, 9^2, pi', rows = FALSE)
z <- list(a = 1:10, b = 11:20, c = 21:30)
dmat(z)  # list elements form rows
dmat(z, rows= FALSE)  # list elements form columns

[Package ramify version 0.3.3 Index]