Description Usage Arguments Details Value Examples
This function extracts all data from a pim.environment
and returns it as a data frame. Note that this is the original data
frame, not the one with pseudo observations.
1 2 3 4 | as.data.frame(x, row.names = NULL, optional = FALSE, ...)
## S4 method for signature 'pim.environment'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
|
x |
a |
row.names |
NULL or a character vector giving the row names for the data frame. Missing values are not allowed. |
optional |
logical. if TRUE, setting row names and converting
column names (to syntactic names: see |
... |
additional arguments to be passed to or from methods,
including |
TO DO: Insert link to how to get pseudo observations out.
a data frame.
1 2 3 4 | # Create a pim environment
data("DysData")
Dys <- new.pim.env(DysData)
str(as.data.frame(Dys))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.