CreateInjuryCodingReviewSet: Create injury coding review set

Description Usage Arguments

Description

This function takes the dataset as input and creates a set of injuries and codes for review.

Usage

1
2
CreateInjuryCodingReviewSet(dataset, sample.size = 100,
  number.of.reviewers = 1, log = TRUE, save = TRUE, return.set = FALSE)

Arguments

dataset

A data frame. Has the collated data from all centres. No default.

sample.size

A positive integer. Defines the size of the random sample to draw from the complete set. If NULL the complete set is kept. Defaults to 100.

number.of.reviewers

NOT YET IMPLEMENTED. A positive integer. Defines the number of reviewers. The set is randomly split in the same number of parts as the number of reviewers. Defaults to 1.

log

A logical vector of length 1. If TRUE a logfile is used to remove observations that have already been reviewed and appended with the IDs of observations that are included in the current set. Defaults to TRUE.

save

A logical vector of length 1. If TRUE the review set is saved to disk. Defaults to TRUE.

return.set

A logical vector of length 1. If TRUE the review set is returned to the parent environment. Defaults to FALSE.


martingerdin/beehive documentation built on May 16, 2019, 11:12 p.m.