split_data | R Documentation |
Samples pseudo-absences from a environmental extent based on euclidean distances to the observations in a environmental PCA
split_data(
Obs,
spsNames = NULL,
method = c("Euclidean", "kmeans"),
split.percentage = 0.25
)
Obs |
a nx3 data.frame class object indicating longitud, latitud and species in the three first columns |
spsNames |
Species names to split occurrences from |
method |
Method used to split occurrences. Default is "Euclidean" |
split.percentage |
split percentage between train adn test data. Default is 0.25 |
Returns an error if filename
does not exist.
List
## 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.