powered by
ldat
Convert r-objects to ldat's
as_ldat(x, ...)# S3 method for data.frame as_ldat(x, ...)# S3 method for default as_ldat(x, ...)# S3 method for ldat as_ldat(x, ...)
# S3 method for data.frame as_ldat(x, ...)
# S3 method for default as_ldat(x, ...)
# S3 method for ldat as_ldat(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.
x
data.frame
as.data.frame
# NOT RUN { a <- data.frame(a = 1:10, b = rnorm(10)) b <- as_ldat(a) # }
Run the code above in your browser using DataLab