R package for statistical downscaling