Re: [R] Help with another ggplot error

2019-06-13 Thread Bill Poling
y, June 13, 2019 10:38 AM To: Bill Poling Cc: r-help (r-help@r-project.org) Subject: Re: [R] Help with another ggplot error > Hello I have created a function called autocorrelate. > > When I run it with ggplot I get this error: > #Error in autocorrelate(., NetEditRev, lags = 0:nrow(.))

Re: [R] Help with another ggplot error

2019-06-13 Thread William Dunlap via R-help
> Hello I have created a function called autocorrelate. > > When I run it with ggplot I get this error: > #Error in autocorrelate(., NetEditRev, lags = 0:nrow(.)) : unused argument (lags = 0:nrow(.)) This means that autocorrelate does not have an argument called lags. E.g. > f <-

[R] Help with another ggplot error

2019-06-13 Thread Bill Poling
#RStudio Version 1.2.1335 sessionInfo() #R version 3.5.3 (2019-03-11) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows >= 8 x64 (build 9200) Hello I have created a function called autocorrelate. When I run it with ggplot I get this error: #Error in autocorrelate(.,