tbates / umx

Making Structural Equation Modeling (SEM) in R quick & powerful
https://tbates.github.io/
44 stars 17 forks source link

umx_scale_wide_twin_data() sibs = 3 #243

Open lf-araujo opened 3 months ago

lf-araujo commented 3 months ago

Well,

the day someone tried using the feature came:


dt <- umx_scale_wide_twin_data(dt ,
 varsToScale = c( "ea_prs","adhd_prs"),
                               sep = "_T", twins = 1:3)

Error in umx_scale_wide_twin_data(dt, varsToScale = c("ea_prs", "adhd_prs"),  : 
  I only support two twins at present, but you asked for:'1', '2', and '3' 
comment on gitgub.com/tbates/umx/#82 to include arbitrary family members.
> [1] "org_babel_R_eoe"
lf-araujo commented 3 months ago

No worries, can do.