Fixed stats.R.
edited