Description Usage Arguments Value Examples
getblock literally selects the data relating to the input blocks. The function stops with a warning if an invalid block is requested. It converts the oid column to numeric and adds a repeat column counting the years in which catches was taken
1 |
inblock |
a vector of blocks or a block as a number |
indat |
the abalone data.frame from which to select the data |
indices |
identifies the column indices of the years within the data over which to summarize the data for repeated years |
a data.frame containing records only for the requested blocks
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 <- getblock(24,abdat)
# addat <- getblock(124,abdat)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.