-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf
Of greggallen at gmail.com
Sent: Sunday, November 04, 2012 7:22 PM
To: r-help at r-project.org
Subject: [R] Replace array with percentile values
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, 77, -1
would become: mesmentsCopy$V1: 50, 100, 0
The actual array has many more rows and columns, of course.
Cheers,
Greg Allen
Freelance Techno-Slave
SLC, Utah