# NOT RUN {
data(eco.test)
variog <- eco.variogram(Z = eco[["P"]][, 2],XY = eco[["XY"]])
eco.plotCorrelog(variog)
# variogram plots support the use of ggplot2 syntax
require(ggplot2)
variogplot <- eco.plotCorrelog(variog) + theme_bw() + theme(legend.position="none")
variogplot
#-----------------------
# ACCESSORS USE EXAMPLE
#-----------------------
# the slots are accessed with the generic format
# (ecoslot. + name of the slot + name of the object).
# See help("EcoGenetics accessors")
ecoslot.OUT(variog) # slot OUT
ecoslot.BREAKS(variog) # slot BREAKS
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab