group.spatial(data, meta, date.col, province.col, rank, group,
breaks = "year", file = NULL, ext = NULL,
height = 8, width = 10)RAM.dates).RAM.rank.formatting)."pdf", "png",
"tiff", "bmp", "jpg", or "svg".The breaks argument is slightly buggy at the moment, possibly
due to how Rtries to split Date objects. breaks can
be either an integer, in which case it will attempt to create that
many levels (i.e. setting breaks=3 should split the data into
three date 'blocks'.) breaks can also be a character vectors,
such as "quarter" or "year" which attempts to split
the date information accordingly. See cut.Date for
more details and a complete specification of what is allowed for
breaks.
data(ITS1, meta)
group.spatial(ITS1, meta, date.col="Harvestdate",
province.col="Province", rank="p",
group=c("Ascomycota", "Basidiomycota"),
breaks=2)Run the code above in your browser using DataLab