whpt_predict | R Documentation |
Run prediction for WHPT ASPT and NTAXA Based on whpt-metric-model -
using random forest / GIS predictors only based on RIVPACS reference dataset.
See demo_data
for data structure / predictors required. Predictors
come from EA website:
https://environment.data.gov.uk/DefraDataDownload/?mapService=EA/RICT&mode=spatial
whpt_predict(data)
data |
Data frame of
|
Dataframe consisting of three variables sample_id, index
and
predicted_response
.
Sample ID - unique identifer for sample
Either Reference ASPT
or Reference NTAXA
)
Predicted response value
predictions <- whpt_predict(demo_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.