Description Usage Arguments Value Examples
given a particular view (that is the leftlong, the rightlong, the uplat, and the downlat - as a vector of 4) getpoints will select those records from a data.frame being explored. This prepares the data for summarizing effort, catch, divers, etc.
1 | getpoints(view, dat, Long = "long", Lat = "lat")
|
view |
the leftlong, rightlong, uplat, and the downlat as a vector of 4 which identifies the window onto Tasmania being considered. |
dat |
a data.frame usually obtained from getlatlong applied to a SpatialPolygonsDataFrame. But it could be any that had a long and a lat field within it. |
Long |
the name of the longitude column in the data.frame. defaults to long |
Lat |
the name of the latitude column in the data.frame. defaults to lat |
a data.frame containing the specific records associated with the lat-long records within the area of the view.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.