How to unscale data?

Just do the inverse of what you did to scale the data, e.g. scale() subtracts the mean and divides by the sd. So you would add the mean and multiply by sd.