rkillick / changepoint.online

4 stars 2 forks source link

Package masks acf from base R. #3

Closed rkillick closed 3 years ago

rkillick commented 3 years ago

library("changepoint.online") set.seed(1) m1=c(rnorm(100,0,1),rnorm(100,5,1)) acf(m1)

Should correctly plot the acf of the m1 time series but instead errors:

Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘acf’ for signature ‘"numeric"

AndrewC1998 commented 3 years ago

This issue has been fixed in the latest push. The error was coming about from an artefact of the changepoint package code that is no longer used.