## NOTE: Example is wrapped in `\dontrun{}` as function requires a large
## amount of data which is not included in the package.
if (FALSE) {
loc <- data.frame(id = "001", lon = -78.90, lat = 35.97)
calculate_narr(
from = narr, # derived from process_narr() example
locs = loc,
locs_id = "id",
radius = 0,
fun = "mean",
geom = FALSE
)
}
Run the code above in your browser using DataLab