plotgrid: plotgrid plots multiple grid data sets in one graphic

Description Usage Arguments Value Examples

Description

plotgrid simplifies the plotting of multiple plots of the grid data

Usage

1
plotgrid(view, dat, plots = c(2, 2), label, index = c(1:4))

Arguments

view

the length 4 vector with c(left,right,up, down) that acts as a window over Tasmania

dat

the data.frame from which to select the 1 hectare grids within the given view

plots

the par statement regarding the array of plots; the default = c(2,2)

label

the vector of variable names e.g. c("blkg2012","blkg2013")

index

the index values for which of the label to plot

Value

nothing, but this does generate a plot of plots in one graphic

Examples

1
2
3
4
5
## Not run: 
 # ab <- readRDS(paste0(datadir,"G1Ha_2018_10_23.rds"))#get spatial obj
 # abdat <- getlatlong(ab)     # convert to data.frame + lat long

## End(Not run)

haddonm/abspatial documentation built on June 7, 2019, 9:54 a.m.