# NOT RUN {
#generate a random dataset of size 30, normally distributed with mean 1000 and
#standard deviation 10
dataset <- rnorm(30, 1000,10)
#rescale the dataset to be constrained between 10 and 100
resc.val(dataset, min.v=10, max.v=100)
# }
Run the code above in your browser using DataCamp Workspace