-
scatter plot equivalent to pairs by ggplot http…
http://boisdebout53.org/?syleyman1=je-cherche-femme-mariage&66b=04 scatter plot equivalent to pairs() by ggplot. http://stackoverflow.com/questions/3735286/pairs-equivalent-in-ggplot2 Hadley recommends using the GGally package instead. It has a function, ggpairs that is a vastly improved pairs plot (lets you use non-continuous variables in your data frames). It plots different plots in each square, depending on the variable types:
-
Probability density function in R http www cyclismo…
description site de rencontres originaux Probability density function in R http://www.cyclismo.org/tutorial/R/probability.html Chi square goodness-of-fit test in R http://ww2.coastal.edu/kingw/statistics/R-tutorials/goodness.html Chi square independence test in R http://ww2.coastal.edu/kingw/statistics/R-tutorials/independ.html ANOVA in R http://personality-project.org/r/r.anova.html
-
http jeromyanglim blogspot ca 2010 05 abbreviations of…
http://jeromyanglim.blogspot.ca/2010/05/abbreviations-of-r-commands-explained.html 250+ R commands. Often times R users suffer from difficulties finding what commands are available for a specific process. This lists 250+ R commands in table.
-
R color palettes # Basic grDevice rainbow topo…
R color palettes Basic grDevice rainbow() topo.colors() terrain.colors() heat.colors() my.palette
-
RColorBrewer palette names
RColorBrewer palette names.
-
Change the label of legend not by changing…
Change the label of legend not by changing the data. # data grp
-
R factors levels labels # sample data originally…
R factors, levels, labels # sample data originally numbers # 1 = male, 2 = female people.n
-
Nice guide for R graphics http blog revolutionanalytics…
Nice guide for R graphics http://blog.revolutionanalytics.com/2009/01/10-tips-for-making-your-r-graphics-look-their-best.html
-
Treemap in R 1 Portpolio package Pros Quick…
Treemap in R 1. Portpolio package Pros: Quick, simple, bigger output Cons: One color scheme An Easy Way to Make a Treemap 2. Treemap package Pros: More customization, several algorithms Cons: smaller output size http://cran.r-project.org/web/packages/treemap/treemap.pdf Remarks: Index must be factor. Different types comp: (size – color) / color dens: color / size
-
Customize the color order and label of the…
Customize the color, order and label of the legend in ggplot2 Use scale_colour_manual() scale_colour_manual(values = c(“red”, “blue”), breaks = c(“S2”, “S1”), labels = c(“sample1”, “sample2”)) http://had.co.nz/ggplot2/scale_manual.html