consistency | R Documentation |
Assess observed WHPT scores against consistency rules taking into account the expected class.
consistency(data)
data |
Dataframe
|
Dataframe provides three outputs in three columns:
Sample ID - unique identifer for sample
Name of the three assessments completed: assessment
,
driver
and action
. assessment
identifies if the overall whpt result is
Likely problem detected
, Possible cause for concern
, Better than expected
or As expected
. The driver
identifies whether NTAXA, ASPT or
neither are driving the assessment
. The action
is the recommended action
to take: No action required
, Non-urgent discussion...
, Urgent discussion..
Associated value to the assessment column i.e. the output of the assessment
predictions <- whpt_predict(demo_data)
data <- dplyr::bind_rows(demo_data, predictions)
assessments <- consistency(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.