| as_ldat | R Documentation |
ldat'sConvert r-objects to ldat's
as_ldat(x, ...) ## S3 method for class 'data.frame' as_ldat(x, ...) ## Default S3 method: as_ldat(x, ...) ## S3 method for class 'ldat' as_ldat(x, ...)
x |
object to convert |
... |
further arguments passed to or from other methods |
Returns a ldat with columns corresponding to the columns in x.
When x is not a data.frame it is first converted to a
data.frame using a call to as.data.frame.
a <- data.frame(a = 1:10, b = rnorm(10)) b <- as_ldat(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.