Description Usage Arguments Value Examples
summarygrid takes the prefix of the variable in the data.frame from getlatlong and calculates summary statistics. These include the arithmetic mean, the bias-corrected geometric mean, the number of NAs, and the number of positive values
1 | summarygrid(dat, whchvar)
|
dat |
the sub-set of the data.frame from getlatlong obtained from the function getpoints(view,abdat) |
whchvar |
the prefix of the variable of interest. This can be "blkg" (or glkg if exploring a greenlip data set), "days","mins", "divers", "kgday". |
a matrix of summary statistics for each year available and the total if present
1 2 3 4 5 6 7 | ## Not run:
# ab <- readRDS(paste0(datadir,"G1Ha_2018_10_23.rds"))#get spatial obj
# abdat <- getlatlong(ab) # convert to data.frame + lat long
# addat <- getsubblock(c("13C","13D","13E"),abdat)
# summarygrid(addat,"blkg")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.