More function name changes in AR.R