# NOT RUN {
data(HsSP)
data(drc)
timeRange <- 54.5
idx <- order(drc)
drc <- drc[idx]
Data <- HsSP[idx]
set.seed(1234)
Data <- Data + runif(length(Data), -1e-4, 1e-4)
thetaVec <- 1:360
# }
# NOT RUN {
thrResultMom <- ThrSelection(Data=Data, drc=drc, h=60, b=0.35, thetaGrid=thetaVec,
EVIestimator="Mom", useKernel=T, concent=10, bw=30,
numCores=2)$thr
thrResultML <- ThrSelection(Data=Data, drc=drc, h=60, b=0.35, thetaGrid=thetaVec,
EVIestimator="ML", useKernel=T, concent=10, bw=30,
numCores=2)$thr
# }
# NOT RUN {
## See also examples in vignettes:
# vignette("localMethods", package = "circularEV")
# vignette("splineML", package = "circularEV")
# }
Run the code above in your browser using DataLab