Author Archives: robayedavies

Getting started – why bother?

Creative commons – flickr – Florida Memory: View of the Blue Hole swiming area at Florida Caverns State Park I sometimes recall an article by Jerry Fodor in, I think, the New York Review of Books where he asked himself … Continue reading

Posted in getting started, image, rstats | Leave a comment

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 – what’s next?

We will switch databases, to a set of data on item attributes. And we will work on another of the especially attractive and powerful features of R: the capacity to select and work with specific elements of a larger database: … Continue reading

Posted in .Interim directions, getting started, image | 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