Scale dataset in R

148 Views Asked by At

I have 528 observed of temperature data the range value of data (2-53). I was to scaled the data to make it range between 0 and 1 to fit beta distribution to find weather the beta distribution is fit the data or not.

Can anyone tell me please how can I make scaled to my data?

1

There are 1 best solutions below

0
On

Divide them by the biggest value... e.g.

# Dummy data
x = rnorm(100, mean=15)

# Normalise
x = x/max(x)