Description Usage Arguments Details Value Examples
Transform the database to the appropriate format for finding pairs.
1 | prepare_db(your_database, ids_column, dates_column)
|
your_database |
the data frame to be analyzed |
ids_column |
character, column name with the person identifiers |
dates_column |
character, column name with the visit dates |
The dates are ordered in an increasing order within each subject.
a data frame with two columns:
"subject"
person identifiers
"dates"
dates of the clinic visits
1 2 3 4 | data("simulated_data")
db_dates<-prepare_db(your_database = simulated_data,
ids_column = "subject",
dates_column = "sim_dates")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.