# NOT RUN {
data(BPoirier)
BP<-BPoirier
# }
# NOT RUN {
a univariate point pattern in a rectangle sampling window
# }
# NOT RUN {
plot(spp(BP$trees, win=BP$rect))
# }
# NOT RUN {
a univariate point pattern in a circular sampling window
# }
# NOT RUN {
plot(spp(BP$trees, win=c(55,45,45)), out=TRUE, scale=TRUE)
# }
# NOT RUN {
a univariate point pattern in a complex sampling window
# }
# NOT RUN {
# }
# NOT RUN {
(points outside the sampling window displayed in red colour)
# }
# NOT RUN {
plot(spp(BP$trees, win=BP$rect, tri=BP$tri1), out=TRUE)
# }
# NOT RUN {
a multivariate point pattern in a rectangle sampling window
# }
# NOT RUN {
plot(spp(BP$trees, win=BP$rect, marks=BP$species))
# }
# NOT RUN {
a multivariate point pattern in a circular sampling window
# }
# NOT RUN {
# }
# NOT RUN {
(points inside/outside the sampling window displayed in blue colour/as red crosses)
# }
# NOT RUN {
plot(spp(BP$trees, win=c(55,45,45), marks=BP$species), out=TRUE, cols=c("blue","blue","blue"),
chars.out=c("+","+","+"), cols.out=c("red","red","red"))
# }
# NOT RUN {
a marked point pattern in a rectangle sampling window with circles in green colour
# }
# NOT RUN {
plot(spp(BP$trees, win=BP$rect, marks=BP$dbh), cols="green")
# }
# NOT RUN {
a marked point pattern in a circular sampling window
# }
# NOT RUN {
# }
# NOT RUN {
(squares in red colour inside and circles in blue colour outside)
# }
# NOT RUN {
plot(spp(BP$trees, win=c(55,45,45), marks=BP$dbh), out=TRUE, chars="squares",
cols="red", cols.out="blue")
# }
Run the code above in your browser using DataLab