[R] ave documentation

2014-10-01 Thread John Christie
Hi, I was looking at the ave documentation and it seems awfully sparse. How about we change the description from: Subsets of x[] are averaged, where each subset consist of those observations with the same factor levels. to: Subsets of x[] are averaged, where each subset consist of those obser

[R] rewrite IQR

2010-09-27 Thread John Christie
unction. A simple pointer in the docs to quantile, na.rm option, and maybe even mention of types (especially type 6 when teaching students hand calculations) would be all that would be needed. Would this be a bad thing in any way? John Christie

[R] Dec. 1, 2009 tip of the day

2009-12-01 Thread John Christie
RE: Compression Hi R-Users, You can deal with pretty decent size data sets in R on a relatively new computer. I have one that I have been working with that is a nearly 100MB plain text file. With storage as inexpensive as it is these days that's not really all that much data and I could stor

[R] plotting effect confidence intervals

2009-04-17 Thread John Christie
Hi, I'm trying to work out plotting effect confidence intervals for a mixed effects design. For example, when measuring heights over age one will get two kinds of confidence intervals from the resulting model (using intervals in lme), a broad inference interval from the random intercept,

[R] stably updating the SD

2008-12-16 Thread John Christie
Hi, I have some summary data from which I know a few points and I'd like to remove them. Does anyone know if there is an R module that implements something like Hanson (1975)? Hanson (1975). Stably updating mean and standard deviation of data. Communications of the ACM, 18(1), 57-58.

[R] vector operation using regexpr?

2008-08-20 Thread John Christie
Hi, Here's my problem... I have a data frame with three columns containing strings. The first columns is a simple character. I want to get the index of that character in the second column and use it to extract the item from the third column. I can do this using a scalar method. But I'm