is.mlth.data.frame | R Documentation |
Functions to check and coerce the object to a mlth.data.frame
.
is.mlth.data.frame(x)
as.mlth.data.frame(x, row.names = NULL, ...)
## S3 method for class 'list'
as.mlth.data.frame(x, ...)
## Default S3 method:
as.mlth.data.frame(x, ...)
## S3 method for class 'data.frame'
as.mlth.data.frame(x, ...)
## S3 method for class 'matrix'
as.mlth.data.frame(x, ...)
## S3 method for class 'mlth.data.frame'
as.list(x)
x |
any R object |
row.names |
|
... |
other arguments passed |
is.mlth.data.frame
returns a multi-header data frame.
as.mlth.data.frame
returns TRUE
if the object has
"mlth.data.frame
" within its classes and FALSE
otherwise.
L <- list(
X = c('A', 'B', 'C'),
Y = list(
N = 1:3,
M = 4:6))
(A <- as.mlth.data.frame(L))
is.mlth.data.frame(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.