• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
The Analysis Factor

The Analysis Factor

Statistical Consulting, Resources, and Statistics Workshops for Researchers

  • Home
  • Our Programs
    • Membership
    • Online Workshops
    • Free Webinars
    • Consulting Services
  • About
    • Our Team
    • Our Core Values
    • Our Privacy Policy
    • Employment
    • Collaborate with Us
  • Statistical Resources
  • Contact
  • Blog
  • Login

plotting

Doing Scatterplots in R

by guest contributer 1 Comment

by David Lillis, Ph.D.

In this lesson, we see how to use qplot to create a simple scatterplot.

The qplot (quick plot) system is a subset of the ggplot2 (grammar of graphics) package which you can use to create nice graphs. It is great for creating graphs of categorical data, because you can map symbol colour, size and shape to the levels of your categorical variable. To use qplot first install ggplot2 as follows:
[Read more…] about Doing Scatterplots in R

Tagged With: graph, plots, plotting, R

Related Posts

  • R Graphics: Plotting in Color with qplot Part 2
  • R is Not So Hard! A Tutorial, Part 22: Creating and Customizing Scatter Plots
  • R Graphics: Plotting in Color with qplot
  • Graphing Non-Linear Mathematical Expressions in R

Graphing Non-Linear Mathematical Expressions in R

by guest contributer 1 Comment

by David Lillis, Ph.D.

In Part 20 of this series, let’s see how to create mathematical expressions for your graph in R.  We’ll use an example of graphing a cosine curve, along with relevant Greek letters as the axis label [Read more…] about Graphing Non-Linear Mathematical Expressions in R

Tagged With: expressions, graph, mathematical, nonlinear, plots, plotting, R

Related Posts

  • R Graphics: Plotting in Color with qplot Part 2
  • R Graphics: Plotting in Color with qplot
  • Doing Scatterplots in R
  • R is Not So Hard! A Tutorial, Part 22: Creating and Customizing Scatter Plots

R Graphics: Multiple Graphs and par(mfrow=(A,B))

by guest contributer 6 Comments

by David Lillis, Ph.D.

Today we see how to set up multiple graphs on the same page. We use the syntax  par(mfrow=(A,B)) [Read more…] about R Graphics: Multiple Graphs and par(mfrow=(A,B))

Tagged With: graphing, graphs, plotting, R

Related Posts

  • R is Not So Hard! A Tutorial, Part 22: Creating and Customizing Scatter Plots
  • R Graphics: Plotting in Color with qplot Part 2
  • Doing Scatterplots in R
  • R Is Not So Hard! A Tutorial, Part 7: More Plotting in R

R Is Not So Hard! A Tutorial, Part 7: More Plotting in R

by guest contributer 1 Comment

by David Lillis, Ph.D.

In Part 7, let’s look at further plotting in R. Try entering the following three commands together (the semi-colon allows you to place several commands on the same line).

Let’s take an example with two variables and enhance it.

X <- c(3, 4, 6, 6, 7, 8, 9, 12)
B1 <- c(4, 5, 6, 7, 17, 18, 19, 22)
B2 <- c(3, 5, 8, 10, 19, 21, 22, 26)

[Read more…] about R Is Not So Hard! A Tutorial, Part 7: More Plotting in R

Tagged With: plotting, R, Statistical Software

Related Posts

  • R is Not So Hard! A Tutorial, Part 22: Creating and Customizing Scatter Plots
  • R Graphics: Plotting in Color with qplot Part 2
  • Doing Scatterplots in R
  • R Graphics: Multiple Graphs and par(mfrow=(A,B))

R Is Not So Hard! A Tutorial, Part 6: Basic Plotting in R

by guest contributer Leave a Comment

by David Lillis, Ph.D.

In Part 6, let’s look at basic plotting in R.  Try entering the following three commands together (the semi-colon allows you to place several commands on the same line).

x <- seq(-4, 4, 0.2) ;  y <- 2*x^2 + 4*x - 7
plot(x, y) [Read more…] about R Is Not So Hard! A Tutorial, Part 6: Basic Plotting in R

Tagged With: plotting, R, Statistical Software, statistics

Related Posts

  • R Is Not So Hard! A Tutorial, Part 7: More Plotting in R
  • Member Training: What’s the Best Statistical Package for You?
  • The Advantages of RStudio
  • What Really Makes R So Hard to Learn?

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2

Primary Sidebar

This Month’s Statistically Speaking Live Training

  • Member Training: A Gentle Introduction to Bootstrapping

Upcoming Free Webinars

Getting Started with R
3 Overlooked Strengths of Structural Equation Modeling
4 Critical Steps in Building Linear Regression Models

Upcoming Workshops

    No Events

Copyright © 2008–2022 The Analysis Factor, LLC. All rights reserved.
877-272-8096   Contact Us

The Analysis Factor uses cookies to ensure that we give you the best experience of our website. If you continue we assume that you consent to receive cookies on all websites from The Analysis Factor.
Continue Privacy Policy
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT