powered by
umxHetCor Helper to return just the correlations from John Fox's polycor::hetcor function
umxHetCor(data, ML = FALSE, use = c("pairwise.complete.obs", "complete.obs"), treatAllAsFactor = FALSE, verbose = FALSE)
A data.frame of columns for which to compute heterochoric correlations
data.frame
Whether to use Maximum likelihood computation of correlations (default = FALSE)
How to handle missing data: "complete.obs" (Default), "pairwise.complete.obs"
Whether to treat all columns as factors, whether they are or not.
How much to tell the user about what was done.
- A matrix of correlations
-
Other Data Functions: umxCovData, umxFactor, 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_wide_twin_data, umx_scale, umx_swap_a_block, umx_wide2long, umx
umxCovData
umxFactor
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_wide_twin_data
umx_scale
umx_swap_a_block
umx_wide2long
umx
# NOT RUN { umxHetCor(mtcars[,c("mpg", "am")]) umxHetCor(mtcars[,c("mpg", "am")], treatAllAsFactor = FALSE, verbose = TRUE) # }
Run the code above in your browser using DataLab