Category Archives: rstats

Getting started – referring to dataframe elements by place, name or condition – selecting elements to subset data

In the previous post, we revised how to read in dataframes (see also how to read in .csv files as dataframes), using the item norms database as an example (see also here), and we also revised how to get summary … Continue reading

Posted in 9. Getting started - subset, getting started, rstats, subset | Tagged , , | Leave a comment

Getting started – basics: vectors and matrices; creating them; manipulating them; referring to specific elements in them

We looked previously at data structures like vectors, and data types or modes, as in numeric, character string or logical. I’ll recap some of the previous post on vectors and then move on to talking about data structures like matrices … Continue reading

Posted in 8. Getting started - data, getting started, rstats | Tagged , , , , | Leave a comment

Getting started – recapping basics, adding foundational knowledge

This post assumes that you have installed R and R-studio, see here and here if not. Getting started with data analysis can require a shift in mind-set. Home base for most people is a spreadsheet Most people find it difficult to … Continue reading

Posted in 8. Getting started - data, getting started, rstats | Tagged , , , , , | Leave a comment

Getting started – selecting data, wrangling data – early (basic) moves

This post and the few following will switch focus from the ML subject scores database to a database built out of normative data about word attributes, which actually comes in a number of different parts (downloadable at the links). Remember that … Continue reading

Posted in .Interim directions, getting started, rstats | Tagged , , | Leave a comment

Getting started – statistical concepts – correlations

As we advance through the capabilities of R, we will increasingly take on the development of understanding of key statistical concepts. I have uploaded some undergraduate-level slides on correlations here: https://speakerdeck.com/robayedavies/r-class-correlations — check them out or, better, read a chapter … Continue reading

Posted in modelling, rstats | Tagged , | Leave a comment

Introduction to DMDX, R and reproducible research in psycholinguistics – some proselytizing

Here are some slides: https://speakerdeck.com/robayedavies/r-dmdx-and-reproducible-science – setting out a case for using DMDX with R to do reproducible science.

Posted in DMDX, rstats | Tagged , | Leave a comment

Getting started – drawing a scatterplot, with a linear regression smoother, edited title, label and theme, for report

This post assumes that you have installed and are able to load the ggplot2 package, that you have been able to download the ML subject scores database and can read it in to have it available as a dataframe in … Continue reading

Posted in 7. Getting started - scatterplots, getting started, rstats | Tagged , , , , , , , , , | Leave a comment

Getting started – positioning and getting multiple plots on one page, output as a pdf

This post assumes you know how to set a working directory, load a data file, and run a ggplot() function call to create a histogram using geom_histogram, as discussed here. What are going to do in this post is expand … Continue reading

Posted in 6. Getting started - grid plots, plotting data, rstats | Tagged , , , , , , , , | 1 Comment

Getting started – working directories, loading data, and a bit more plotting

For this post, I am going to assume that you know about files, folders and directories on your computer. In Windows (e.g. in XP and 7), you should be familiar with Windows Explorer. If you are not, this series of … Continue reading

Posted in 5. Getting started - load data, getting started, rstats, workflow | Tagged , , , , , , , , , , , , | 3 Comments

Getting started – getting helped

As we get started, we will need help, let’s work on how and where to find that help, and also how to act on it. We will need help Most modern software applications strive to ensure we get what we … Continue reading

Posted in 4. Getting started - help, getting started, help, rstats | Tagged | 1 Comment