[R] bootstrap data frame

2011-01-16 Thread Lori
Is it possible to simultaneously bootstrap the mean of multiple vectors (columns) in a dataframe producing a  matrix where each row provides the mean for each vector for a given bootstrap sample?  Thank you for any assistance possible. KAM [[alternative HTML version deleted]]

[R] Function to read a string as the variables as opposed to taking the string name as the variable

2009-05-14 Thread Lori Simpson
third="first,second" max(first,second) //correctly outputs 6 max(third) //outputs "first,second" because it doesn't know to paste in the variables first and second, how do I get R to do this? Any help is appreciated. Lori Simpson 703.760.8575