[R] [R-pkgs] Version 1.2 of pa package available on CRAN

2013-02-01 Thread Yang Lu
esults for sub-categories based on the Brinson Method. URL – http://cran.at.r-project.org/web/packages/pa/index.html It also includes a vignette at http://cran.at.r-project.org/web/packages/pa/vignettes/pa.pdf. Best regards, Yang Lu Yang Lu '14 SU 2896 Paresky Center Williams College, M

[R] Legend / bar order - ggplot2

2011-08-29 Thread Yang Lu
Hi all, I am trying to do a barplot in ggplot2 and want to make sure that the legend order is consistent with the bar order, that is the legend order is orig and match; and the bars are ordered in the same way. It seems to me that I can only control one of them. Any idea? library(ggplot2) df <

[R] how to best present concentrated data points/ ggplot2

2011-07-05 Thread Yang Lu
Hi all, I am trying to plot a weighted density plot for two different types and want to show the data points on the x axis. The code is as follows. The data points are very concentrated. Is there a better way to present it( should I set the alpha value or something else)? Thanks! YL library(

[R] Will R CMD build delete the .Rnw file?

2011-06-17 Thread Yang Lu
Hi, I used R CMD build to build a package but realized that the .Rnw file was deleted after the .tar.gz file was generated. Is it supposed to be the case? If not, any idea as to why it happened? Thanks, YL __ R-help@r-project.org mailing list https: