powered by
Scale wide data across all cases: currently twins
umx_scale_wide_twin_data(varsToScale, suffix, data)
The base names of the variables ("weight" etc.)
The suffix that distinguishes each case, e.g. "_T")
a wide dataframe
- new dataframe with variables scaled in place
- http://www.github.com/tbates/umx
umx_scale
Other Data Functions: umxCovData, umxFactor, umxHetCor, umxPadAndPruneForDefVars, umx_as_numeric, umx_cont_2_quantiles, umx_cov2raw, umx_long2wide, umx_lower2full, umx_make_MR_data, umx_make_TwinData, umx_make_bin_cont_pair_data, umx_make_fake_data, umx_merge_CIs, umx_read_lower, umx_reorder, umx_residualize, umx_round, umx_scale, umx_swap_a_block, umx_wide2long, umx
umxCovData
umxFactor
umxHetCor
umxPadAndPruneForDefVars
umx_as_numeric
umx_cont_2_quantiles
umx_cov2raw
umx_long2wide
umx_lower2full
umx_make_MR_data
umx_make_TwinData
umx_make_bin_cont_pair_data
umx_make_fake_data
umx_merge_CIs
umx_read_lower
umx_reorder
umx_residualize
umx_round
umx_swap_a_block
umx_wide2long
umx
# NOT RUN { data(twinData) df = umx_scale_wide_twin_data(twinData, varsToScale = c("ht", "wt"), suffix = "" ) plot(wt1 ~ wt2, data = df) # }
Run the code above in your browser using DataLab