View source: R/niche_position.R
niche_position | R Documentation |
Vector
niche_position(
z,
type = c("unimodal", "multimodal"),
method = c("max", "median", "mean"),
quantile = 0.5,
cor = FALSE
)
z |
niche model |
type |
type of estimation. Default is "unimodal" |
method |
Method to estimate the niche centroid. Default is "max" |
quantile |
Numeric quantile to filter the niche |
cor |
Boolean to whether use cor or uncor estimation |
Returns an error if filename
does not exist.
Data frame.
## Not run:
accident_2015 <- fars_read("Project/data/accident_2015.csv.bz2")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.