[Rd] Aggregate dataframe variables, return more than 2 vars

2010-02-09 Thread violet lock
Hello r-devel, I have data.frame with 3 columns and I would like to group by 1 column(id), find the max of the third column (date) and return the data for that max date value along with the id and the value in the second column. Example: >dat <- data.frame(id = rep(1:3, 3), date = as.Date(rep(c("2

Re: [Rd] boxplot: auto sizing for ylim variable

2009-12-03 Thread violet lock
ain Healthcare > greg.s...@imail.org > 801.408.8111 > > > > -Original Message- > > From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r- > > project.org] On Behalf Of violet lock > > Sent: Tuesday, December 01, 2009 12:34 PM > > To: r-devel@r-projec

[Rd] boxplot: auto sizing for ylim variable

2009-12-02 Thread violet lock
Dear R-Devel, I am trying to create a boxplot for a large dataset (about 1500 entries) and was wondering if there was away to do auto sizing for the y-axis of a horizontal bar plot? I know I could use a control structure to loop through the data instead, but as I know SAS has something does this

[Rd] barplot: auto sizing for ylim variable

2009-12-01 Thread violet lock
Dear R-Devel, I am trying to create a barplot for a large dataset (about 1500 entries) and was wondering if there was away to do auto sizing for the y-axis of a horizontal bar plot such that the data displays in a readable format and can be scrolled or paged through? I know I could use a control