Description Details Author(s) References Examples
An easy-to-use way to make plot with R package ggplot2
Package: | easyGgplot2 |
Type: | Package |
Version: | 1.0 |
Date: | 2014-08-31 |
License: | GPL-2 |
Alboukadel Kassambara <alboukadel.kassambara@gmail.com>
Maintainer: Alboukadel Kassambara <alboukadel.kassambara@gmail.com>
http://www.sthda.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #Boxplot
ggplot2.boxplot(data=ToothGrowth, xName='dose',yName='len',
mainTitle="Plot of length according\n to the dose",
xtitle="Dose (mg)", ytitle="Length")
#Dotplot
ggplot2.dotplot(data=ToothGrowth, xName='dose',yName='len',
mainTitle="Plot of length according\n to the dose",
xtitle="Dose (mg)", ytitle="Length")
#Scatterplot
ggplot2.scatterplot(data=mtcars, xName='wt',yName='mpg', size=3,
mainTitle="Plot of miles per gallon \n according to the weight",
xtitle="Weight (lb/1000)", ytitle="Miles/(US) gallon")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.