Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set how zero cells are printed in the output of umxACE #16

Closed
tbates opened this issue Mar 30, 2017 · 0 comments
Closed

Set how zero cells are printed in the output of umxACE #16

tbates opened this issue Mar 30, 2017 · 0 comments

Comments

@tbates
Copy link
Owner

tbates commented Mar 30, 2017

In #15, @mcneale requested the ability to set how zero cells are printed in the output of umxACE etc.

Turns out previous me solved this request back in 2012 :-)
The default is "." for clarity, but you can set zero.print="whatever you want")

e.g.:

require(umx)
data(twinData) # ?twinData set from Australian twins.
# Pick the variables
selDVs = c("bmi1", "bmi2")
mzData <- twinData[twinData$zygosity %in%  "MZFF", ]
dzData <- twinData[twinData$zygosity %in% "DZFF", ]
m1 = umxACE(selDVs = selDVs, dzData = dzData, mzData = mzData)

-2 × log(Likelihood)
'log Lik.' 9659.215 (df=4)

Standardized solution

a1 c1 e1
bmi1 0.86 . 0.51
umxSummaryACE(m1, std= FALSE, zero.print="mike")

Raw solution

a1 c1 e1
bmi1 0.84 mike 0.49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant