Description Usage Arguments Value
View source: R/functions_analysis.R
This is an accessory function to ensure that the sum of the estimates for each of the occupational groups is 1. If the input data is the original (i.e. incomplete) data, then all the sums should be <=1. If the input data is the results of smart guessing or imputing the missing values, the sums should all be (approximately) 1.
1 | checkSums(ors.data, column.name = "prediction")
|
ors.data |
Data frame containing ORS data, including estimates |
column.name |
Name of column containing estimates; default is "prediction" |
A vector whose length is the number of occupational groups present in the data, with each entry being the sum of the estimates associated with a given occupational group
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.