A fellow grad student asked if I had ever done a repeated measures ANOVA. I went back to my stats labs and found some code in a .R script. Here I re-use and update that code within this markdown report to provide some commentary.
Scenario
The weights of moose calves from different regions are are compared over three time periods. 1. Using a repeated measures ANOVA we need to determine if the weights at each time interval are significantly different from one another.
I am currently working on a project that involves machine learning to predict of ecological attributes across landscapes at fine spatial resolution. Our current list is consists of 80 covariates stacked together. To make predictions across the landscape significant tiling of the raster data is needed. However, the tiling process itself takes significant time and creates a tiled dataset in the thousands of tiles… There is another way!
Recently I had the opportunity to attend a machine learning workshop hosted by the provincial BEC Team in Victoria, BC. and led by Tom Hengl of the OpenGeoHub Foudation. During this workshop we worked through various R machine learning packages. I learned some great new skills. The challenge really came down to taking time to understand all the steps – and then to apply it to my data / my projects.
For work and studies I have finally decided to take the plunge and start building an R-package.
The resources on how to do this:
Hilary Parker’s Writing and R package from scratch provides a short easy-to-get-started introduction.
Karl Broman’s R package primer – a minimal tutorial
Hadley Wickham’s R packages provides all the details.
From H. Parker – copied here so I can find it again easily
Comamnd-line tips and tricks Below are some of the windows commandline tools that I need to remember
Create a symbolic link This I use to control what files are in my cloud-back-up folder. Instead of placing a copy of the files in the backup folder I place a sym-link and the files I choose are backed up.
mklink /D [target] [source] note the /D is used to indicate a directory.