Create features from a directory of points
1 | point_features(dsn, true.loc, labels, crs = 4326)
|
dsn |
character string of data directory from where .csv's are stored |
true.loc |
sf object preferably generated from the function true_locations, used for calculating distance from user response to the true locations |
labels |
character vector of short labels to use for locations; needed for generating succinct column names for features |
crs |
coordinate reference system to use for distance calculations |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.