# NOT RUN {
data(BPoirier)
BP <- BPoirier
# }
# NOT RUN {
Ripley's function
# }
# NOT RUN {
swr <- spp(BP$trees, win=BP$rect)
k.swr <- kfun(swr, 25, 1, 500)
plot(k.swr)
# }
# NOT RUN {
Intertype function
# }
# NOT RUN {
swrm <- spp(BP$trees, win=BP$rect, marks=BP$species)
k12.swrm <- k12fun(swrm, 25, 1, 500, marks=c("beech","oak"))
plot(k12.swrm, opt="L", cols=1)
# }
# NOT RUN {
Mark correlation function
# }
# NOT RUN {
swrm <- spp(BP$trees, win=BP$rect, marks=BP$dbh)
km.swrm <- kmfun(swrm, 25, 1, 500)
plot(km.swrm, main="Example 1", sub=NULL, legend=FALSE)
# }
Run the code above in your browser using DataLab