Tag Archives: ggplot2

Getting started — Installation of RStudio and some packages + using ggplot() to make a simple plot

Install R Revise how to install R, as previously discussed here and here. Installation How do you download and install R? Google “CRAN” and click on the download link, then follow the instructions (e.g. at “install R for the first time”). … Continue reading

Posted in a. Getting started | Tagged , , , , , , , | Leave a comment

Mixed-effects modeling — four hour workshop — part III: Regression modeling

We completed a study on the factors that influence visual word recognition performance in lexical decision. We then put together a dataset for analysis here. We examined the distribution of inter-relation of critical variables in that dataset, acting to transform … Continue reading

Posted in 2.3 LME workshop III/IV, Uncategorized | 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 – a quick word on destinations – plotting

A critical reason for learning to use R is the superior capacity that affords to visualize data. If you learn to plot data with R you are learning to plot data using the best tools now available. There are four … Continue reading

Posted in .Interim directions, plotting data, rstats | Tagged , , , , , , | Leave a comment

Getting started – R-Studio, ggplot, installing packages and loading them for use

Install R Revise how to install R, as previously discussed here and here. Installation How do you download and install R? Google “CRAN” and click on the download link, then follow the instructions (e.g. at “install R for the first time”). … Continue reading

Posted in 3. Getting started - install, getting started, GUI, rstats | Tagged , , , , , , | 1 Comment