R Base Graphs - Easy Guides - Wiki (2024)

    Previously, we described the essentials of R programming and provided quick start guides for importing data into R.


    This chapter contains articles describring how to visualize data using R base graphs.


    • Creating and Saving Graphs in R
    • Generic plot types in R
    • Scatter Plots
    • Scatter Plot Matrices
    • Box Plots
    • Strip Charts: 1-D scatter Plots
    • Bar Plots
    • Line Plots
    • Pie Charts
    • Histogram and Density Plots
    • QQ-plots: Quantile-Quantile plots
    • Dot Charts
    • Plot Group Means and Confidence Intervals

    • R base graphical Parameters
    • Creating graphs
    • Saving graphs
    • File formats for exporting plots

    R Base Graphs - Easy Guides - Wiki (1)

    create and save plots

    Read more: —> Creating and Saving Graphs in R.

    R Base Graphs - Easy Guides - Wiki (2)R Base Graphs - Easy Guides - Wiki (3)R Base Graphs - Easy Guides - Wiki (4)

    Read more: —> Generic plot types in R.

    • R base scatter plot: plot()
    • Enhanced scatter plots: car::scatterplot()
    • 3D scatter plots

    R Base Graphs - Easy Guides - Wiki (5)

    Read more: —> Scatter Plots.

    • R base box plots: boxplot()
    • Box plot with the number of observations: gplots::boxplot2()

    R Base Graphs - Easy Guides - Wiki (7)

    Read more —> Box Plots.

    R Base Graphs - Easy Guides - Wiki (8)

    Read more —> Strip Charts: 1-D scatter Plots.

    • Basic bar plots
      • Change group names
      • Change color
      • Change main title and axis labels
    • Stacked bar plots
    • Grouped bar plots

    R Base Graphs - Easy Guides - Wiki (9)

    Read more —> Bar Plots.

    • R base functions: plot() and lines()
    • Basic line plots
    • Plots with multiple lines

    R Base Graphs - Easy Guides - Wiki (10)

    Read more —> Line Plots.

    • Create basic pie charts: pie()
    • Create 3D pie charts: plotix::pie3D()

    R Base Graphs - Easy Guides - Wiki (11)

    Read more —> Pie Charts.

    • Create histogram plots: hist()
    • Create density plots: density()
    ## [1] 48.96467 56.38715 60.42221 43.27151 57.14562 57.53028

    R Base Graphs - Easy Guides - Wiki (12)R Base Graphs - Easy Guides - Wiki (13)

    Read more —> Histogram and Density Plots.

    Use qqPlot() [in car package]:

    R Base Graphs - Easy Guides - Wiki (14)

    Read more —> QQ-plots: Quantile-Quantile plots.

    • R base function: dotchart()
    • Dot chart of one numeric vector
    • Dot chart of a matrix

    R Base Graphs - Easy Guides - Wiki (15)

    Read more —> Dot charts.

    R Base Graphs - Easy Guides - Wiki (16)

    Read more —> Plot Group Means and Confidence Intervals.

    • Add and customize titles
    • Add legends
    • Add texts
    • Add straight lines
    • Add an axis to a plot
    • Change axis scale : minimum, maximum and log scale
    • Customize tick mark labels
    • Change plotting symbols
    • Change line types
    • Change colors

    Read more —> R base graphical Parameters.

    • Lattice Graphs
    • ggplot2 Graphs

    This analysis has been performed using R statistical software (ver. 3.2.4).


    Enjoyed this article? I’d be very grateful if you’d help it spread by emailing it to a friend, or sharing it on Twitter, Facebook or Linked In.

    Show me some love with the like buttons below... Thank you and please don't forget to share and comment below!!

    Avez vous aimé cet article? Je vous serais très reconnaissant si vous aidiez à sa diffusion en l'envoyant par courriel à un ami ou en le partageant sur Twitter, Facebook ou Linked In.

    Montrez-moi un peu d'amour avec les like ci-dessous ... Merci et n'oubliez pas, s'il vous plaît, de partager et de commenter ci-dessous!



    Recommended for You!


    Machine Learning Essentials: Practical Guide in R
    Practical Guide to Cluster Analysis in R
    Practical Guide to Principal Component Methods in R
    R Graphics Essentials for Great Data Visualization
    Network Analysis and Visualization in R
    More books on R and data science

    Recommended for you

    This section contains best data science and self-development resources to help you on your path.

    Coursera - Online Courses and Specialization

    Data science

    Popular Courses Launched in 2020

    Trending Courses

    Books - Data Science

    Our Books

    Others



    Want to Learn More on R Programming and Data Science?

    Follow us by Email

    On Social Networks:

    Get involved :
    Click to follow us on Facebook and Google+ :
    Comment this article by clicking on "Discussion" button (top-right position of this page)


    Categories contained by this category :

    Graphical parameters

    Articles contained by this category :

    Bar Plots - R Base Graphs
    Box Plots - R Base Graphs
    Creating and Saving Graphs - R Base Graphs
    Dot Charts - R Base Graphs
    Generic plot types in R software
    Histogram and Density Plots - R Base Graphs
    Line Plots - R Base Graphs
    Pie Charts - R Base Graphs
    Plot Group Means and Confidence Intervals - R Base Graphs
    QQ-plots: Quantile-Quantile plots - R Base Graphs
    Scatter Plot Matrices - R Base Graphs
    Scatter Plots - R Base Graphs
    Strip charts: 1-D scatter plots - R Base Graphs

    R Base Graphs - Easy Guides - Wiki (2024)

    References

    Top Articles
    Latest Posts
    Article information

    Author: Fredrick Kertzmann

    Last Updated:

    Views: 6728

    Rating: 4.6 / 5 (46 voted)

    Reviews: 85% of readers found this page helpful

    Author information

    Name: Fredrick Kertzmann

    Birthday: 2000-04-29

    Address: Apt. 203 613 Huels Gateway, Ralphtown, LA 40204

    Phone: +2135150832870

    Job: Regional Design Producer

    Hobby: Nordic skating, Lacemaking, Mountain biking, Rowing, Gardening, Water sports, role-playing games

    Introduction: My name is Fredrick Kertzmann, I am a gleaming, encouraging, inexpensive, thankful, tender, quaint, precious person who loves writing and wants to share my knowledge and understanding with you.