Hello, I am still struggling w/ the PLYR syntax. I am trying to build a customized function to detect outliers in a data frame based on the interquantile method. My data frame is called "ALL" & I am trying to create two new variables in my data frame: upper=q3+ 1.5*(q3-q1) & lower=q1-1.5*(q3-q1). I already have variables q1 & q3. How could I create the upper and lower variables using plyr so that it applies to the whole dataframe. Thank you for your help.
-- View this message in context: http://r.789695.n4.nabble.com/Using-PLYR-to-apply-a-custom-function-to-a-data-frame-tp4663897.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.