Description Slots Author(s) Examples
An S4 class to represent individual identifiers
idUnique numerical individual identifier within src (integer, length 1)
nameName of the individual (character)
dobDate of birth of class (Date, length 1)
srcStudy name (character)
dnrName of data object (character)
Stef van Buuren 2019
1 2 3 4 5 6 | # Create a new ID for Ron and Jasper
ron <- new("individualID", name = c("Ron", "Smith"),
dob = as.Date("1999-08-22", "%Y-%m-%d"),
id = as.integer(204))
jasper <- new("individualID", name = c("Jasper", "Fielding"),
id = as.integer(220))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.