Closed limegreen closed 4 years ago
I tried running this both on my own data, and then also just running the example code from the readme file, and both times got the same error message
set.seed(666) library(zcurve) fit <- zcurve(OSC.z)
Error in density.default(augZ, n = 100, bw = bw, from = 1.96, to = 6) : need at least 2 points to select a bandwidth automatically
Ignore that. There was a zcurve function left in the global environment, possibly from the install process. Turning it on and off again fixed the problem!
I tried running this both on my own data, and then also just running the example code from the readme file, and both times got the same error message
Error in density.default(augZ, n = 100, bw = bw, from = 1.96, to = 6) : need at least 2 points to select a bandwidth automatically