Contact
Tips
-1
archive,category,category-tips,category-17,bridge-core-2.4.3,ajax_fade,page_not_loaded,,qode_grid_1300,side_area_uncovered_from_content,overlapping_content,qode-content-sidebar-responsive,qode-theme-ver-22.8,qode-theme-bridge,disabled_footer_top,wpb-js-composer js-comp-ver-6.3.0,vc_responsive,elementor-default,elementor-kit-3194

Tips

R-code, Tips / 15.09.2018

We analyze within-subjects designs with repeated-measures regressions, aka random-effects models. Learn how to set up such models in R. This concerns analyzing data with grouping, clustering, aka. hierarchical data, data with correlated errors, or data with violations of sphericity.
R-code, Tips / 18.09.2014

In R's default round() functions, odd numbers ending with .5 are rounded up (1.5 becomes 2), but even numbers are rounded down (2.5 becomes 2, rather than 3). This is compliant with a norm on rounding as outlined in the R documentation, but sometimes inconvenient.
Graphics, Tips / 11.09.2014

I recently discovered the RGL package for R to create animated graphs. I used it for 3D-surface plots for likelihood functions - I'll post about this soon. The R mailing list posted this fun animation of cubes by Francis Smart using the very samen package. ...