Skip to content

Releases: tbates/umx

v4.21.0

15 Nov 11:11
97e23ed
Compare
Choose a tag to compare

What's Changed

  • IMPROVED: umxCLPM refactor and corrections by @lf-araujo
  • IMPROVED umxSummarizeTwinData reports complete pairs for rMZ and rDZ
  • IMPROVED: umxRAM Can include definition variables! h/t @lf-araujo
  • IMPROVED: umxReduce ACE can skip ADE model
  • IMPROVED: umxReduce output better formatted
  • IMPROVED: umx_check_parallel gains set optimizer, and row parallel
  • IMPROVED: umx_scale_wide_twin accepts sibs #253 from lf-araujo/patch-6
  • IMPROVED: umx_as.numeric explicit drop = TRUE
  • IMPROVED: umxEFA error reporting is more robust
  • IMPROVED umxBrownie makes a rare steak
  • IMPROVED: umxMR can standardize manifests.
  • IMPROVED: prolific_read_demog outputs a ready to paste demographics string.
  • IMPROVED: prolific_anonymize can delete more columns.
  • IMPROVED: various messages, and help improvements.
  • FIXED: umxReduce.MxModelACE now aware of umx_set_auto_run #241 @lf-araujo
  • HELP: umx_scale better
  • HELP: umx_scale clarify polychoric and pairwise functionality
  • HELP: umxRAM example a model with a def var on means

More twins, causation, unicode and maintainance

22 Nov 15:37
Compare
Choose a tag to compare

umx 4.19.00

  • November 2023 R 4.3.1 (2023-06-16)
  • FIXED: encode unicode beta in an expression instead of using uXXXX
  • IMPROVED: Move DiagrammeRsvg rsvg to Enhances
  • FIXED: umxMatrixFree undocumented argument 'byrow'
  • FIXED: umxMRDoC sketch mode fixed

umx 4.17.00

  • Sept 2023 R 4.3.1 (2023-09-15)
  • NEW: fin_ticker open a stock in the browser.
  • IMPROVED: umxTwinMaker can manage definition variables (by @lf-araujo)
  • IMPROVED: umxSummary suppress duplicate paths
  • FIXED: umxGxE_window handles target range without error once more (h/t Marla Kürten)
  • FIXED: umxMRDoC byrow misspelling

umx 4.16.00

  • August 2023 R 4.3.1 (2023-06-16)
  • NEW: umxMRDoC Direction of causation with twins! (by @lf-araujo)
  • NEW: umxMatrixFree to help in simulations (by @lf-araujo)
  • NEW: prolific_anonymize() remove IDs and other identifying columns: Ideal when sharing data.
  • NEW: ggAddR helper to add R/beta to a graph
  • NEW umx_strings2numeric helper function to recode strings to numbers
  • IMPROVED: RMSEA()
  • IMPROVED: umxAPA gains cols to allow input checking in place of Rs…
  • IMPROVED: umx_strings2numeric example, handle 1 col df
  • IMPROVED: prolific_read_demog handle "DATA_EXPIRED"
  • IMPROVED: umx_score_scale reliability works with correctAnswers
  • IMPROVED: umx_is_numeric works with tibble input h/t @psychelzh
  • IMPROVED: libs can for package update using force.update = TRUE
  • IMPROVED: umxAPA cor/means output data.frame input
  • FIXED: umxModify works with new R null behavior
  • FIXED: umxAPA (and others) report = "html" works properly.
  • REFS: umx_score_scale omega refs
  • RENAME: umx_read_prolific_demog -> prolific_read_demog

umx 4.15.1

  • Nov 2022 R 4.2.1
  • NEW: umx_merge_randomized_columns wide-2-mingled (rather than wide2long) to unify data from people assigned to different conditions.
  • NEW: umxDiscTwin Discordant twin test for causal effects.
  • NEW: umxDiscTwin Graphical output for publication.
  • NEW: umxPlot ease customized/journal-close, e.g. y~x, -> x y plot, with r^2.
  • IMPROVED: umxAPA t-test reporting.
  • IMPROVED: umx_score_scale gains error and proportion.
  • IMPROVED: umx_score_scale report only omega total when 1 factor extracted.
  • IMPROVED: umx_read_prolific_demog gains functionality.
  • IMPROVED: umxMR: gained `tryHard'
  • IMPROVED: umxGxEwindow: gained tryHard, smarter print control.
  • IMPROVED: umxGxEwindow: removes un-needed columns.
  • IMPROVED: umxGxE checks that selDefs are numeric (closes #196, h/t @salvatoj)
  • IMPROVED: umxRun: gained summary control.
  • IMPROVED: umx_read_prolific_demog more control, better defaults, and more reliable summary table.
  • IMPROVED: umx_score_scale cleaner output for 1 factor case with omega.
  • FIXED: xmu_twin_print_means now takes >1 covariate h/t @eren Kafadar #201
  • FIXED: xmu_safe_run_summary now takes refModels = FALSE h/t @lf-araujo #200
  • FIXED: umxACEcov plot and summary working (needed to filter covs from DVs).
  • FIXED: xmu_twin_print_means handles more than 1 covariate and improves labeling.
  • FIXED: umx_score_scale handles NA correctly.
  • SAFE CODING: umxPath stops when v*m* is used with firstAt or fixedAt.
  • SAFE CODING: umxAlgebra warns that it isn't functional.
  • MINOR: umx_print call fixed where was being called with file.
  • HELP: umxCP help .svg figure instead of `.png`` (smaller).
  • HELP: umxMR Remove unsupported 'weights' parameter.
  • ADMIN: copyright, tests, Rd improvements.

umx 4.10.50

  • December 2021 R 4.1.1 (2021/11/30)
  • IMPROVED: umxDoC can take data (#ht @lf-araujo )
  • IMPROVED: umxDoC plot Rd figure includes specifics.
  • IMPROVED: umxPower search plot with fixed N has effect size on the x axis.
  • IMPROVED: umxGxE plot legend location works for ggplot.
  • IMPROVED: umx_score_scale gains omega reliability.
  • IMPROVED: CI printing more robust (e.g. when they fail).
  • BUG: umx_score_scale bug in handling new mapstrings.
  • FIXED: umxDoC plot.
  • FIXED: omxLocateParameters call was breaking umxSummary.
  • FIXED: xmu_safe_run_summary supports intervals parameter.
  • FIXED: umxSummary works with umxSuperModel now that paths have types.
  • FIXED: umx_make_twinData works with custom names
  • FIXED: umx_make_twinData no longer shifts means now that mean and sd parameters are available.
  • NEW: helpers to umxGetModel, umxGetLatents, and `umxGetManifests

umx 4.10.10

  • November 2021 R 4.1.1 (2021/11/30)
  • NEW: umxPower can plot power search space! (beta!)
  • NEW: noNAs() helper returning complete rows of a data.frame.
  • NEW: umxThresholdMatrix can handle one value columns
  • IMPROVED: umxPath gains v0m.
  • IMPROVED: umxPower parameters ==1 for power search with fixed n
  • IMPROVED: umxPower ref
  • IMPROVED: power.ACE.test can run ADE model
  • IMPROVED: power.ACE.test Clarify which of power, effect, and n are fixed or being estimated.
  • IMPROVED: umxReduce.ACE gains tryHard (compute ACE/ADE/CE/AE, outputs a table an also AIC-based probability weights for which is the preferable model)
  • IMPROVED: umxReduce tests familiality (E model)
  • IMPROVED: umxReduce(ACE) includes the parameters of the reduced models. #ht @nick martin
  • IMPROVED: umxSummarizeTwinData takes an age column and notes when it can’t be found
  • IMPROVED: umx_score_scale can score items with character labels
  • IMPROVED: umx_score_scale gains the ability to report Cronbach alpha
  • CHANGED: umx_score_scale changed default na.rm = TRUE.
  • IMPROVED: umxAPA gains OR output for logit models
  • IMPROVED: tmx_show handles matrices
  • IMPROVED: umx_rename better names for deprecated parameters
  • IMPROVED: umxRun has tryHard (not a very useful function)
  • IMPROVED: umxCompare can silently return a data.frame for further modification
  • IMPROVED: umxCP warning to not use correlatedACE
  • IMPROVED: umxAPA (invisibly) returns the standardized model for lm
  • IMPROVED: bucks more control for formatting money
  • IMPROVED: libs now install.packages() if not found
  • IMPROVED: umx_make_TwinData shifts data to be positive if it not being scaled
  • IMPROVED: grViz() in place of print(DiagrammR())` (should work better with knitr)
  • CHANGE: fin_interest more memo/type-able parameter name for inflation
  • CHANGE: umxRun defaults to tryHard= "yes"
  • FIX: umxPower supports multiple path drop.
  • HELP: FishersMethod Rd ref
  • HELP: umxCP ref Martin, N. G., & Eaves, L. J. (1977). The Genetical Analysis of Covariance Structure. Heredity, 38, 79-95.
  • HELP: deg2rad Rd better in html
  • HELP: umxRAM sketch mode help
  • HELP: umxCP more refs for Rd
  • HELP: improvements

Releases

umx 4.9.0

  • July 2021 R 4.1.0 (2021-06-27)
  • NEW: umxACEv and umxACE work with nSib = 3!
  • BETA: umxCP correlatedACE was not being filtered out of the expectation #hat-tip @Micanzach But still working on what the right choices are here...
  • CHANGED: umxCP defaults to tryHard = "yes"
  • REMOVED: umxRAM deprecated parameter show after 4 years deprecation
  • FIXED: tmx_show works for M matrix, closed #163
  • FIXED: kable and kbl get format passed in at all calls
  • IMPROVED: umx_make_TwinData supports nSib > 2 for MZ/DZr mode
  • IMPROVED: umxAPA more use of cat to print (easier to read and copy)
  • IMPROVED: umx_open_CRAN_page printing if installed version if found
  • IMPROVED: umxAPA more use of cat to print (easier to read and copy)
  • IMPROVED: fin_interest compute effective interest
  • IMPROVED: xmuTwinSuper_NoBinary update for nSib > 2
  • MINOR: kable formats (pandoc "pipe" and "simple" added, "pandoc" removed)
  • MINOR: add_footnote in place of footnote...
  • HELP: umxPath and umxRAM help
  • HELP: better organization of functions/families
  • xmu: xmuTwinUpgradeMeansToCovariateModel can handle nSib=3
  • xmu: xmu_twin_make_def_means_mats_and_alg helper
  • xmu: xmu_start improved closes #158

umx 4.8.0

  • June 2021 R 4.1.0 (2021-06-01)
  • NEW: umxPlot now detects and plots Pearson-Aitken selection paths (solid red headless).
  • NEW: umxPlotFun plot functions without hassles. e.g umxPlotFun("sin(x)")
  • NEW: umxModelNames to get model and submodel names from a model.
  • NEW: libs as a short cut for multiple library() calls
    • e.g. libs("x", "y", c("a", "b"))
  • NEW: fin_valuation uses revenue, margin, expenses and PE to compute a market cap.
  • IMPROVED: fin_interest shorter parameter name dinflate and other improvements.
  • IMPROVED: umxACEv Tables now include markdown-compatible table captions.
  • IMPROVED: umxAPA reports R^2 for lm (in addition to beta & CI[] for each parameter)
  • IMPROVED: umxSummary sorts RAM parameters by type (factor loading etc.) and can filter means and residuals for ease of use.
  • IMPROVED: umxSummary gives desired levels for good TLI and RMSEA.
  • IMPROVED: umxSuperModel checks for duplicate names in incoming model names and makes them unique.
  • IMPROVED: umxCompare Maintain compatibility with new OpenMx changes to mxCompare (esp. for WLS).
  • IMPROVED: umx_read_lower accept names for lower diag.
  • IMPROVED: umxCP correlatedACE leaves the covariances fixed@0.
  • IMPROVED: umxACE added A_std closes #151
  • IMPROVED: umxAPA pretty printing.
  • IMPROVED: umxPlotFun check for character input.
  • NEW: xmu_summary_RAM_group_parameters sort and filter RAM model parameters for ease of understanding.
  • MINOR: umxFactor now used in all examples involving factor making.

umx 4.3.0

  • January 2021 R 4.0.3 (2020-10-10)
  • NEW plot can output to pdf, png, svg!
  • NEW umx_set_plot_format adds pdf, png, svg plot output (in addition to DiagrammeR and graphviz)
  • NEW: umx_lower.tri helper to get lower.tri values in 1 call
  • NEW: `umx_set_plot_use_hrbrthem...
Read more

underline

21 Sep 16:45
Compare
Choose a tag to compare

Just removing underscore character from image names to work around old CRAN latex engine

Full Changelog: v4.15.0...v4.15.1

New features causal modeling with twins, and many smaller improvements!

16 Sep 13:47
Compare
Choose a tag to compare

umx 4.15.0

  • NEW: umx_merge_randomized_columns wide-2-mingled (rather than wide2long) to unify data from people assigned to different conditions.
  • NEW: umxDiscTwin Discordant twin test for causal effects.
  • NEW: umxDiscTwin Graphical output for publication.
  • NEW: umxPlot ease customized/journal-close, e.g. y~x, -> x y plot, with r^2.
  • IMPROVED: umxAPA t-test reporting.
  • IMPROVED: umx_score_scale gains error and proportion.
  • IMPROVED: umx_score_scale report only omega total when 1 factor extracted.
  • IMPROVED: umx_read_prolific_demog gains functionality.
  • IMPROVED: umxMR: gained `tryHard'
  • IMPROVED: umxGxEwindow: gained tryHard, smarter print control.
  • IMPROVED: umxGxEwindow: removes un-needed columns.
  • IMPROVED: umxGxE checks that selDefs are numeric (closes #196, h/t @salvatoj)
  • IMPROVED: umxRun: gained summary control.
  • IMPROVED: umx_read_prolific_demog more control, better defaults, and more reliable summary table.
  • IMPROVED: umx_score_scale cleaner output for 1 factor case with omega.
  • FIXED: xmu_twin_print_means now takes >1 covariate h/t @eren Kafadar #201
  • FIXED: xmu_safe_run_summary now takes refModels = FALSE h/t @lf-araujo #200
  • FIXED: umxACEcov plot and summary working (needed to filter covs from DVs).
  • FIXED: xmu_twin_print_means handles more than 1 covariate and improves labeling.
  • FIXED: umx_score_scale handles NA correctly.
  • SAFE CODING: umxPath stops when v*m* is used with firstAt or fixedAt.
  • SAFE CODING: umxAlgebra warns that it isn't functional.
  • MINOR: umx_print call fixed where was being called with file.
  • HELP: umxCP help .svg figure instead of `.png`` (smaller).
  • HELP: umxMR Remove unsupported 'weights' parameter.
  • ADMIN: copyright, tests, Rd improvements.

v.4.10.10: update DoC.png/pdf

01 Dec 13:51
Compare
Choose a tag to compare
  • November 2021 R 4.1.1 (2021/11/30)
  • NEW: umxPower can plot power search space! (beta!)
  • NEW: noNAs() helper returning complete rows of a data.frame.
  • NEW: umxThresholdMatrix can handle one value columns
  • IMPROVED: umxPath gains v0m.
  • IMPROVED: umxPower parameters ==1 for power search with fixed n
  • IMPROVED: power.ACE.test Clarify which of power, effect, and n are fixed or being estimated.
  • IMPROVED: power.ACE.test can run ADE model
  • IMPROVED: umxReduce.ACE gains tryHard (compute ACE/ADE/CE/AE, outputs a table an also AIC-based probability weights for which is the preferable model)
  • IMPROVED: umxReduce tests familiality (E model)
  • IMPROVED: umxReduce(ACE) includes the parameters of the reduced models. #ht @nick martin
  • IMPROVED: umxSummarizeTwinData takes an age column and notes when it can’t be found
  • IMPROVED: umx_score_scale gains the ability to report Cronbach alpha
  • CHANGED: umx_score_scale changed default na.rm = TRUE.
  • IMPROVED: umxAPA gains OR output for logit models
  • IMPROVED: tmx_show handles matrices
  • IMPROVED: umx_rename better names for deprecated parameters
  • IMPROVED: umxRun has tryHard (not a very useful function)
  • IMPROVED: umxCompare can silently return a data.frame for further modification
  • IMPROVED: umxCP warning to not use correlatedACE
  • IMPROVED: umxAPA (invisibly) returns the standardized model for lm
  • IMPROVED: bucks more control for formatting money
  • IMPROVED: libs now install.packages() if not found
  • IMPROVED: umx_make_TwinData shifts data to be positive if it not being scaled
  • IMPROVED: grViz() in place of print(DiagrammR())` (should work better with knitr)
  • BETA: umx_score_scale can score items with character labels (not working in this release!!)
  • CHANGE: fin_interest more memo/type-able parameter name for inflation
  • CHANGE: umxRun defaults to tryHard= "yes"
  • FIX: umxPower supports multiple path drop.
  • HELP: FishersMethod Rd ref
  • HELP: umxCP ref Martin, N. G., & Eaves, L. J. (1977). The Genetical Analysis of Covariance Structure. Heredity, 38, 79-95.
  • HELP: deg2rad Rd better in html
  • HELP: umxRAM sketch mode help
  • HELP: umxCP more refs for Rd
  • HELP: improvements

Version: 4.9.0

07 Jul 19:12
Compare
Choose a tag to compare
  • NEW: umxACEv and umxACE work with nSib = 3!
  • BETA: umxCP correlatedACE was not being filtered out of the expectation #hat-tip @Micanzach But this feature is still broken; DON'T USE IT!
  • CHANGED: umxCP defaults to tryHard = "yes"
  • REMOVED: umxRAM deprecated parameter show after 4 years deprecation
  • FIXED: tmx_show works for M matrix, closed #163
  • FIXED: kable and kbl get format passed in at all calls
  • IMPROVED: umx_make_TwinData supports nSib > 2 for MZ/DZr mode
  • IMPROVED: umxAPA more use of cat to print (easier to read and copy)
  • IMPROVED: umx_open_CRAN_page printing if installed version if found
  • IMPROVED: umxAPA more use of cat to print (easier to read and copy)
  • IMPROVED: fin_interest compute effective interest
  • IMPROVED: xmuTwinSuper_NoBinary update for nSib > 2
  • MINOR: kable formats (pandoc "pipe" and "simple" added, "pandoc" removed)
  • MINOR: add_footnote in place of footnote...
  • HELP: umxPath and umxRAM help
  • HELP: better organization of functions/families
  • xmu: xmuTwinUpgradeMeansToCovariateModel can handle nSib=3
  • xmu: xmu_twin_make_def_means_mats_and_alg helper
  • xmu: xmu_start improved closes #158

umx 4.8.0

01 Jun 14:20
Compare
Choose a tag to compare

June 2021 R 4.1.0 (2021-06-01)

  • NEW: umxPlot now detects and plots Pearson-Aitken selection paths (solid red headless).
  • NEW: umxPlotFun plot functions without hassles. e.g umxPlotFun("sin(x)")
  • NEW: umxModelNames to get model and submodel names from a model.
  • NEW: libs as a short cut for multiple library() calls
    • e.g. libs("x", "y", c("a", "b"))
  • NEW: fin_valuation uses revenue, margin, expenses and PE to compute a market cap.
  • IMPROVED: fin_interest shorter parameter name dinflate and other improvements.
  • IMPROVED: umxACEv Tables now include markdown-compatible table captions.
  • IMPROVED: umxAPA reports R^2 for lm (in addition to beta & CI[] for each parameter)
  • IMPROVED: umxSummary sorts RAM parameters by type (factor loading etc.) and can filter means and residuals for ease of use.
  • IMPROVED: umxSummary gives desired levels for good TLI and RMSEA.
  • IMPROVED: umxSuperModel checks for duplicate names in incoming model names and makes them unique.
  • IMPROVED: umxCompare Maintain compatibility with new OpenMx changes to mxCompare (esp. for WLS).
  • IMPROVED: umx_read_lower accept names for lower diag.
  • IMPROVED: umxCP correlatedACE leaves the covariances fixed@0.
  • IMPROVED: umxACE added A_std closes #151
  • IMPROVED: umxAPA pretty printing.
  • IMPROVED: umxPlotFun check for character input.
  • NEW: xmu_summary_RAM_group_parameters sort and filter RAM model parameters for ease of understanding.
  • MINOR: umxFactor now used in all examples involving factor making.

umx 4.3.0

03 Feb 00:06
Compare
Choose a tag to compare
  • January 2021 R 4.0.3 (2020-10-10)
  • NEW plot can output to pdf, png, svg!
  • NEW umx_set_plot_format can choose between pdf, png, svg plot output (in addition to DiagrammeR and graphviz)
  • IMPROVED: umxSummary now reports algebra values when present in RAM models closes #70
  • IMPROVED: umxSummary tables have pandoc captions (see #145)
  • IMPROVED: umxCompare table output and plain-english summary printing (cat)
  • IMPROVED: umxCP practical workflows for correlated ACE
  • NEW: umx_lower.tri helper to get lower.tri values in 1 call
  • HELP: umxCP Document that correlatedA works on a, c and e, allowing factors built by these matrices to correlate.
  • BETA: umxGxEbiv lboundACE @ 0 by default
  • FIXED: umxSimplex example
  • FIXED: umxGxEbiv fix nonfunctional lboundACE and lboundM (thanks @mcneale)
  • FIXED: umxGxEbiv selVars order was imposed on expectation dimnames but didn't match the cov matrix due to bespoke nature of expCov algebras...
  • IMPROVED: fin_compound_interest now outputs a table of annual returns
  • IMPROVED: umxAPA uses cat to improve usability of summary data
  • NEW: umx_set_plot_use_hrbrthemes control
  • NEW: plot.percent plot support for percent change questions

Bunny-Wunnies Freak Out

12 Dec 20:28
Compare
Choose a tag to compare

umx 4.2.5: 40 additional features, fixes, code and help improvements!

  • December 2020 R 4.0.3 (2020-12-12) (commit a2a16bb)
  • NEW: tmx_show display model matrices on the web, with color-coded free/false, values + roll-over labels.
  • NEW: harmonic_mean with support for weights.
  • NEW: geometric_mean
  • NEW: fin_compound_interest
  • NEW: fin_percent_off
  • IMPROVED: umxPlotGxE gains CI ribbons (closes #96)
  • IMPROVED: umxPlotGxE defaults to use ggplot and now returns the graphs for decoration (closes #139)
  • IMPROVED: umxPlotGxE can now plot user-specified moderator ranges (closes #96)
  • IMPROVED: umxPlotIP now relies on matrix cells, not the labels they contain (closes #61)
  • IMPROVED: umxACE returns group models invisibly #134 @khusmann.
  • IMPROVED: plot now allows "ortho" "compound" and "polyline" spline control.
  • IMPROVED: umx_set_optimization_options can get and set "Parallel diagnostics"
  • IMPROVED: umx_set_optimization_options can get and set "Parallel diagnostics".
  • IMPROVED: tmx_show smart about not printing NULL matrices.
  • IMPROVED: 'umxEquategained anewlabels` parameter for the equated paths (rather than one path adopting the label of the other)
  • IMPROVED: umx_score_scale supports minManifests for factor scores
  • IMPROVED: umx_open_CRAN_page now can install a package if not installed, as well as open the CRAN page for the package.
  • IMPROVED: umx_rename_file nicer user feedback about matches and files checked
  • IMPROVED: umx_long2wide more resilient to zygosity column type
  • IMPROVED: umxSummarizeTwinData more resilient to name of age column
  • IMPROVED: plot strip_zero option works for fixed (@) parameters
  • IMPROVED: umx_is_class handle non-df input
  • IMPROVED: umxCI: gains regex parameter to support adding and removing CIs on labels matching a string pattern.
  • IMPROVED: umx_is_class handle non-df input
  • IMPROVED: umx_rename_file nicer user feedback about matches and files checked
  • IMPROVED: umx_set_table_format to markdown on load
  • FIXED: 'umxRAM` group option failing to pass autoRun tryHard Merge pull request #134 @khusmann
  • FIXED: umxRAM with a model as first parameter now doesn't demand new data. Updates data if data is provided.
  • FIXED: umxPlotIP wasn't working with threshold models (didn't ignore thresh names for plot).
  • FIXED: umx_time was using time units for model 1 for all models... h/t @khusmann
  • FIXED: umxPlotACEv was not displaying half the variables in an MV model as NA.
  • FIXED: umx_set_cores no longer use imxGetNumThreads which is actually hard-coded to not report number of threads.
  • FIXED: Check for more than one named CI requested (closes #136).
  • FIXED: tmx_show has html_font parameter in help.
  • WORKAROUND: 'umxSummarywrapsmxRefModels` error for WLS models in tryCatch to tell user OpenMx doesn't support fit stats for WLS as yet.
  • BACKWARD: umxThresholdMatrix changed parameter from selDVs to fullVarNames to prevent user error.
  • HELP: harmonic_mean example averaging speeds across distance.
  • NEW: umx_read_prolific_demog to read prolific academic demographics files.

means and covariates & 68 other things!

26 May 23:51
Compare
Choose a tag to compare

umx 4.0.0 May 2020

  • FIXED: umx_score_scale Fix a bad design decision where I was storing the reversed items in the data returned to the user. Worked for 1 run, but not repeats...
  • FIXED: umx_long2wide now looks for zygosity in more than just twin 1 h/t @nathangillespie for catching this case.
  • NEW: Covariates in twin models for ordinal and continuous manifests!
    • m1 = umxACE(selVars = "wt", selCovs= "age", sep="_T")
  • NEW: umxTwinMaker: Make twin models by specifying just the within-twin paths for one twin
    • umxTwinMaker handles making twin2, variance components covariances, MZ and DZ groups, makes a umxSuperModel and runs it!
    • plot() and "std= TRUE" work for any model now!
  • NEW: umxDoCp Path-based Direction of causation model.
  • IMPROVED: umxSummaryACE prints a means table!
    • including for intercepts only, no means model, and intercepts + covariate betas.
    • All RAM and twin models gain this also.
  • IMPROVED plot for umxACEv now prints model name on the diagram.
  • IMPROVED plot for umxACE now uses tips for printing.
  • IMPROVED: FishersMethod: accepts p-values for meta-analysis in "..." argument.
  • IMPROVED: namez handles class(list) objects, returning $ components.
  • IMPROVED: parameters supports standardizing parameters (closes #92) .
  • IMPROVED: power.ACE.test now prints the parameter and value when testing power (closes #111).
  • IMPROVED: umxCompare includes Delta-AIC.
  • IMPROVED: umxCP plot prints model name.
  • IMPROVED: umxGxE code to detect mismatched moderators
  • IMPROVED: umxGxE code to include co-twin moderator in means model
  • IMPROVED: umxGxE simplified algebra
  • IMPROVED: umxIP gains report option.
  • IMPROVED: umxIP plot prints model name.
  • IMPROVED: umxSummaryGxEbiv working, with a note that the whole function is beta. h/t @MikeNeale.
  • IMPROVED: umxThresholdMatrix re-implemented l_u_bound - wasn't working for some time h/t @nathangillespie.
  • IMPROVED: umxThresholdMatrix supports leaving all thresholds free with method= "allFree" h/t @nathangillespie.
  • IMPROVED: umx_check_names returns TRUE when no names are entered.
  • IMPROVED: umx_check can concatenate extra messages, and is by default polite with messages.
  • IMPROVED: umx_check handles ... items better
  • IMPROVED: umx_is_ordered can process mxData as well as df.
  • IMPROVED: umx_make_TwinData has dzAr.
  • IMPROVED: umx_make_twin_data_nice can turn numeric zyg column into human readable "MZMM" etc.
  • IMPROVED: umx_print gains option to append to existing file.
  • IMPROVED: umx_print gains option to make tables sort-able.
  • IMPROVED: umx_print gains option to output content in "both" md and html.
  • IMPROVED: umx_print supports report to html.
  • IMPROVED: umx_rename now uses "from=, to=" format for renaming columns.
  • IMPROVED: umx_rename was using old/replace instead of from/to (and so generating a polite note).
  • IMPROVED: umx_residualize now prints the betas (and CIs) of the residualization it performs.
  • IMPROVED: umx_score_scale checks input ranges
  • IMPROVED: umx_score_scale tell user what the max response is for reversed items if they leave this blank.
  • IMPROVED: umx_score_scale Warns user if there are NAs when "score" is totals.
  • IMPROVED: umx_rename_file: Perl mode is TRUE (allows lookahead/behind features; default list pattern is NULL.
  • IMPROVED: umx_rename_file now ignores file suffix by default.
  • IMPROVED: umx_rot can NA the last value.
  • IMPROVED: umx_var upgrades input to df (e.g. if you feed it a column, it now works).
  • IMPROVED: xmu_data_missing can hint= to user which dataset had missingness.
  • IMPROVED: xmu_make_mxData handles dropping rows, alerting about variance ratios.
  • IMPROVED: xmu_make_mxData now handles cov matrix input (added numObs parameter).
  • IMPROVED: better labels for output tables.
  • IMPROVED: standardize on expMean as name of means matrix even when it's a local algebra.
  • IMPROVED: twin Models print out means now.
  • HELP: umxACE improved tutorial, more tips * IMPROVED plot for umxACE now prints model name on the diagram.
  • HELP: umxACE covariate examples
  • HELP: umx_explode_twin_names links for find-ability
  • HELP: umxACE residualize examples match
  • NEW: umxRenameMatrix wrap up the multiple lines of code needed to modify a matrix in OpenMx.
  • NEW: umx_str_chars return selected characters of a string.
  • NEW: umxTwinUpgradeMeansToCovariateModel function to add def-based covariates to means in umx twin models.
  • NEW: xmu_data_missing helper to drop rows with missing def vars or stop and alert the user to do this.
  • NEW: xmu_extract_column to allow mxData
  • NEW: xmu_twin_add_WeightMatrices helper.
  • NEW: xmuDefMean helper
  • NEW: xmuDefBetas helper
  • NEW xmu_twin_upgrade_selDvs2SelVars helper.
  • NEW: xmu_make_TwinSuperModel handles selCovs
  • REPLACE: parallel::detectCores --> imxGetNumThreads (as OpenMx does).