Description Usage Arguments Value Functions
View source: R/model_prediction.R
Main function for invoking and object handling. E.Coli hygiene models will be used to predict hygiene quality on differnt scopes.
1 2 3 4 5 6 7 | predict_quality(model, river_dir, output = "season")
get_newdata(variables, river_dir)
print_latest(model, newdata)
get_latest_season(newdata)
|
model |
stan_lm. A model of e.coli concentration in given river |
river_dir |
character. Path to river-data for up-to-date predictions. |
output |
character. |
variables |
character. A vector with all variables used in the model |
newdata |
data.frame with physical data used in the model |
Returns a list of physical data and prediction and linpred from model
Returns a data.frame with the merged data found
get_newdata
: Internal Usage
print_latest
: Internal Usage
get_latest_season
: Internal Usage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.