View source: R/utilityFunctions.R
mplus_as.numeric | R Documentation |
Helper function to convert strings formatted in Mplus Fortran-style scientific notation using D to indicate double.
mplus_as.numeric(vec, expect_sig = FALSE)
vec |
A character vector of Mplus numbers to convert to numeric |
expect_sig |
Whether to expect significance values denoted by asterisk; yields a 'sig' attribute that will be TRUE/FALSE |
A numeric vector
MplusAutomation:::mplus_as.numeric("3.1D2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.