[R] Identifying breakpoints/inflection points?
dchristop
dchristop at econ.uoa.gr
Mon Jun 10 07:14:53 CEST 2013
You can try this:
library(inflection)
#you have to instsall package inflection first
a<-findiplist(cbind(year),cbind(piproute),1)
a
The answer:
[,1] [,2] [,3]
[1,] 5 35 1986.0
[2,] 5 30 1983.5
shows that the total inflection point is between 1983 and 1986, if we treat
data as first concave and then convex, as it can be found from a simple
graph.
--
View this message in context: http://r.789695.n4.nabble.com/Identifying-breakpoints-inflection-points-tp2065886p4669117.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list