View source: R/missing_data_lm_functions.R
em.summary | R Documentation |
Function to return the EM means and standard deviations using the norm package.
em.summary(data)
data |
The dataset for the analysis. |
Returns (1) the EM means and (2) the EM standard deviations for the dataset.
## Not run: x <- c(1,2,3,4,5,NA,NA,7,7,7,7) y <- c(2.1,NA,2.1,1.8,2,2.2,4,NA,7,7,7) temp_data <- as.data.frame(cbind(y, x)) em.summary(temp_data) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.