Publications by Educate-R - R
Remove leading 0 with ggplot2.
I recently had an occasion while working on a three variable interaction plot for a paper where I wanted to remove the leading 0’s in the x-axis text labels using ggplot2. This was primarily due to some space concerns I had for the x-axis labels. Unfortunately, I did not find an obvious way to do this in my first go around. After tickering a bi...
3575 sym R (3511 sym/6 pcs) 6 img
Speed test of sequence generation for unbalanced simulation
I have a simulation package that allows for the simulation of regression models including nested data structures. You can see the package on github here: simReg. Over the weekend I updated the package to allow for the simulation of unbalanced designs. I’m hoping to put together a new vigenette soon highlighting the functionality. I am working o...
2633 sym R (1814 sym/3 pcs)
Web Scraping to Item Response Theory – A College Football Adventure
Web Scraping to Item Response Theory: A College Football Adventure Brandon LeBeau, Andrew Zieffler, and Kyle Nickodem University of Iowa & University of Minnesota Background Began after Tim Brewster was fired Wanted to try to predict next great coach Data Available Data is available at three levels Coach Game by Game Team Coach Data Overa...
4444 sym R (5259 sym/13 pcs) 8 img
Interactively building test forms from an IRT perspective An application of R and Shiny
Interactively building test forms from an IRT perspective: An application of R and Shiny Brandon LeBeau University of Iowa Overview R R is an open source statistical programming language. Pros: Common statistical procedures are found in R Can extend functionality with packages/functions Cons: Need to be comfortable with code Reproducible ...
3801 sym R (1230 sym/4 pcs) 20 img
Simulation and power analysis of generalized linear mixed models
Simulation and power analysis of generalized linear mixed models Brandon LeBeau University of Iowa Overview (G)LMMs Power simglm package Demo Shiny App! Linear Mixed Model (LMM) Power Power is the ability to statistically detect a true effect (i.e. non-zero population effect). For simple models (e.g. t-tests, regression) there are closed for...
2081 sym R (297 sym/3 pcs) 4 img
Extending accessibility of open-source statistical software to the masses A shiny case study
Extending accessibility of open-source statistical software to the masses: A shiny case study Brandon LeBeau University of Iowa R R is an open source statistical programming language. Pros: Common statistical procedures are found in R Can extend functionality with packages/functions Cons: Need to be comfortable with code Flexibility of R ...
3462 sym R (767 sym/4 pcs)
Introduction of the pdfsearch package
I’m happy to introduce an add-on package, pdfsearch, that adds the ability to do keyword searches on pdf files. This add-on package uses the excellent pdftools package from the ropensci project to read in pdf files and perform keyword searches based character strings of interest. Installation The package is currently only hosted on github and c...
2801 sym R (10666 sym/5 pcs)
Use CSS to format markdown or HTML files
Markdown (and Rmarkdown) are great ways to quickly develop material without worrying about the formatting. The documents can then be compiled using the knitr or rmarkdown packages to output formats such as HTML, latex, or even word. The main drawback of this approach is that formatting of documents is limited to italics, bold, or strikethrough. M...
3722 sym R (1335 sym/5 pcs) 4 img 2 tbl
Make Power Fun (Again?)
Make Power Fun (Again?) Brandon LeBeau University of Iowa Overview (G)LMMs Power simglm package Shiny Demo – Broken! Linear Mixed Model (LMM) Power Power is the ability to statistically detect a true effect (i.e. non-zero population effect). For simple models (e.g. t-tests, regression) there are closed form equations for generating power. ...
3536 sym R (7762 sym/15 pcs) 4 img
simglm submission to CRAN this week
This is a quick note looking for any further feedback on the simglm package prior to CRAN submission later this week. The goal is to submit Thursday or Friday this week. The last few documentation finishing touches are happening now working toward a version 0.5.0 release on CRAN. For those who have not seen this package yet, the aim is to simulat...
1524 sym R (3927 sym/3 pcs)