Re: [R] Replace array with percentile values

2012-11-04 Thread William Dunlap
ware wdunlap tibco.com > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf > Of greggal...@gmail.com > Sent: Sunday, November 04, 2012 7:22 PM > To: r-help@r-project.org > Subject: [R] Replace array with percentile values &g

Re: [R] Replace array with percentile values

2012-11-04 Thread David Winsemius
On Nov 4, 2012, at 7:22 PM, greggal...@gmail.com wrote: > Hi: > > I have an array of measurements, that I've been doing linear > regression model and AI models on. Because there are many errors and > the values are "ill-formed" I would like to copy the array, but > replace each value with the P

[R] Replace array with percentile values

2012-11-04 Thread greggallen
Hi: I have an array of measurements, that I've been doing linear regression model and AI models on. Because there are many errors and the values are "ill-formed" I would like to copy the array, but replace each value with the PERCENTILE of that value, in the original array. i.e. mesments$V1: 9