POST

Visualizing data: getting started with bar charts

<<Previous post: Exploring data with descriptive statistics and frequency tables Once you’ve done a first-pass analysis of your data using summaries and tables, it’s time to visualize it with graphs and charts. For exploring categorical variables, it makes sense to start with a simple bar chart. We will start with using a built-in function of R, “barplot”, before getting into ggplot2 – a package that Read more

POST

Exploring data with descriptive statistics and frequency tables

<< Previous: Organizing and cleaning data: missing values, part 1 Once your variables are in the right shape, you can start examining your data. I like to start out with running descriptive statistics and frequency analyses for the variables I’m interested in, and see if there are any missing values and values out of the expected Read more

POST

Merging data files with different variables

<< Previous post: Converting & opening data files for use with R   When your data files have been transformed into the right .rdata format (e.g. by using a program like StatTransfer), you can simply open them in RStudio using: File → Open file… → (find and select the specific .rdata file you would like to open) Sometimes a complete database Read more

POST

Converting & opening data files for use with R

<< Previous post: Exploring RStudio’s basic layout & packages Each person seems to have a different preference for data analysis software. Most people stick to whatever they have learned for their first large research project. Some people are forced into a specific software package because their department or field uses it, which makes it easier to exchange code with other people. None Read more