Re: [R] Different way of scaling data

2009-10-16 Thread Greg Snow
boun...@r- > project.org] On Behalf Of Noah Silverman > Sent: Friday, October 16, 2009 11:42 AM > To: r help > Subject: [R] Different way of scaling data > > Hi, > > I have a data.frame that I need to scale. > > I've been using the scale function and it works ni

Re: [R] Different way of scaling data

2009-10-16 Thread John Kane
library(reshape) ?rescaler I think something along the lines of rescaler(data.frame, type="range") should do what you want. --- On Fri, 10/16/09, Noah Silverman wrote: > From: Noah Silverman > Subject: [R] Different way of scaling data > To: "r help" > Re

[R] Different way of scaling data

2009-10-16 Thread Noah Silverman
Hi, I have a data.frame that I need to scale. I've been using the scale function and it works nicely. Some of the libraries I'm testing won't accept negative values for data, so I need to find a way to scale the data from 0 to 1 Any ideas? Thans! ___