data_clean {registr} | R Documentation |
Convert data to a refund
object
Description
Function used for data cleaning.
Usage
data_clean(data)
Arguments
data |
Dataframe. Should have values id, value, index. |
Value
An list containing:
Y |
The original data sorted by id and index. |
Y_rows |
A dataframe containing the first and last row for each subject. |
[Package registr version 2.1.0 Index]