apollo_validatedata: Validates data
Description
Checks consistency of the database with apollo_control
, orders it by indivID, and adds an internal ID variable (apollo_ID
)
Usage
apollo_validatedata(database, apollo_control)
Arguments
database
data.frame. Data used by model.
apollo_control
List. Options controlling the running of the code.
See ?apollo_validatecontrol
for details.
Value
Data.frame. Validated version of database.
Details
This function should be called after calling apollo_validatecontrol.