Description Usage Arguments Details Value
View source: R/as_xover_data.R
Converts an input dataset to be of class xover_data
.
1 | as_xover_data(data, summary = T)
|
data |
A |
summary |
A |
as_xover_data()
supports the conversion of an input dataset to be of
class xover_data
. Precisely, a matrix
or
data.frame
is provided (see data
) where each row
corresponds to a particular outcome variable, and the function
converts it to a tibble
with class xover_data
,
augmenting the column names as required. In adddition, checks are performed
that the dataset corresponds to a cross-over trial.
The input dataset must contain information on the period, subject, and treatment/sequence for each outcome variable.
A tibble
of class xover_data
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.