eb_rates | R Documentation |
The function to compute EB Rate from an event variable and a base variable.
eb_rates(df)
df |
A data frame with two selected variable: one is "event", anothor is "base" variable. E.g. guerry[c("hr60", "po60")] |
A data.frame with two columns "EB Rate" and "IsNull".
## Not run:
library(sf)
nat <- st_read("natregimes.shp")
ebr <- eb_rates(nat[c("HR60", "PO60")])
ebr
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.