# NOT RUN {
## NOTE: not run because it's too slow for R CMD check --as-cran
## calculate linear segments in semi-log bacterial growth data
## NOTE: library loads bacterial growth curve data as data.frame oddata
Sj <- dpseg_old(x=oddata$Time, y=log(oddata$A3), minl=5, P=0.0001, verb=1)
## inspect resulting segments
print(Sj)
## plot results
plot(Sj, delog=TRUE, log="y")
## NOTE: predict method & movie function do not work for dpseg_old
# }
Run the code above in your browser using DataLab