505 search results for "boxplot"

facet_plot: a general solution to associate data with phylogenetic tree

October 26, 2016
By
facet_plot: a general solution to associate data with phylogenetic tree

ggtree provides gheatmap for visualizing heatmap with phylogenetic tree and msaplot for visualizing multiple sequence alignment with phylogenetic tree. We may have different data types and want to visualize and align them with the tree. For example, dotplot of SNP site (e.g. using geom_point(shape='|')), barplot of trait values (e.g. using geom_barh(stat='identity')) et al. To make it easy to associate different...

Read more »

Plotting Driving Routes and Rental Data for Houston | gepaf, gmap, plotly, Leaflet

October 25, 2016
By
Plotting Driving Routes and Rental Data for Houston | gepaf, gmap, plotly, Leaflet

I started with a new script to scrape rental data for Houston, and i’m curious to see if i could not only plot the posts and the rentals, but also a cluster plot using Leaflet. I’m also eager to try … Continue reading →

Read more »

Introduction To R Programming : How I Learn Best

October 22, 2016
By
Introduction To R Programming : How I Learn Best

How Best To Learn R Programming So what’s the best or most efficient way to learn R programming? I have read numerous books and blogs on R programming in an attempt to learn more about R. While doing this has helped me understand the basics, these resources tend to get off track. Usually, when I

Read more »

The new R Graph Gallery

October 20, 2016
By
The new R Graph Gallery

Once upon a time, there was the original R Graph Gallery, by Romain François. Sadly, it's been unavailable for several years. Now there's a new R Graph Gallery to fill the void, created by Yan Holtz. It contains more than 200 data visualizations categorized by type, along with the R code that created them. You can browse the gallery...

Read more »

Annotated Facets with ggplot2

October 20, 2016
By
Annotated Facets with ggplot2

I was recently asked to do a panel of grouped boxplots of a continuous variable, with each panel representing a categorical grouping variable. This seems easy enough with ggplot2 and the facet_wrap function, but then my collaborator wanted p-values on the graphs! This post is my approach to the problem. First of all, one caveat. I’m a

Read more »

Two Way ANOVA in R Exercises

October 17, 2016
By
Two Way ANOVA in R Exercises

One way analysis of variance helps us understand the relationship between one continuous dependent variable and one categorical independent variable. When we have one continuous dependent variable and more than one independent categorical variable we cannot use one way ANOVA. When we have two independent categorical variable we need to use two way ANOVA. When

Read more »

Understanding empirical Bayesian hierarchical modeling (using baseball statistics)

October 11, 2016
By
Understanding empirical Bayesian hierarchical modeling (using baseball statistics)

Previously in this series: Understanding the beta distribution Understanding empirical Bayes estimation Understanding credible intervals Understanding the Bayesian approach to false discovery rates Understanding Bayesian A/B testing Understanding beta binomial regression Suppose you were a scout hiring a new baseball player, and were choosing between two that have had 100...

Read more »

Create an inset plot

October 10, 2016
By
Create an inset plot

How to inset a plot on another plot in R The difficulty of plotting one plot over the top of another in R has always frustrated me. I often end up opening some photo editing software (like Gimp, which is free) and doing it manually. However, manual ed...

Read more »

Make ggplot graphics2 interactive with ggiraph

October 10, 2016
By

R's ggplot2 package is a well-known tool for producing beautiful static data visualizations that you can include in a printed report. But what if you want to include a ggplot2 graphic on a webpage and provide the ability for the user to interact with the data? The ggiraph package by David Gohel (available for installation via CRAN). WIth ggiraph,...

Read more »

The yarrr package (0.0.8) is (finally!) on CRAN

October 10, 2016
By
The yarrr package (0.0.8) is (finally!) on CRAN

Great news R pirates! The yarrr package, which contains the pirateplot, has now been updated to version 0.0.8 and is up on CRAN (after hiding in plain sight on GitHub). Let’s install the latest version (0.0.8) and go over some of the updates: The most important function in the yarrr package is pirateplot(). What the heck ...

Read more »

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)