# NOT RUN {
data(contCA00)
LC_geom <- setup_LC_geometry(speed = 1, horizon = list(PLC = 2, FLC = 0),
shape = "cone")
bb <- data2LCs(t(contCA00$observed), LC.coordinates = LC_geom$coordinates)
mm <- mixed_LICORS(bb, num.states.init = 15, init = "KmeansPLC",
control = list(max.iter = 50, lambda = 0.001))
plot(mm)
ff_new <- estimate_LC_pdfs(bb$FLC, weight.matrix = mm$conditional_state_probs,
method = "nonparametric")
matplot(bb$FLC, ff_new, pch = ".", cex = 2)
# }
Run the code above in your browser using DataLab