as.data.frame.activity {read.gt3x} | R Documentation |
Convert an activity matrix to a data.frame
Description
Convert an activity matrix to a data.frame
Usage
## S3 method for class 'activity'
as.data.frame(x, ..., verbose = FALSE, add_light = FALSE)
Arguments
x |
Object of class 'activity' (returned by read.gt3x) |
... |
not used |
verbose |
print diagnostic messages |
add_light |
add light data to the |
Value
An object of class activity_df
which is also a data.frame with
the following attributes (and more)
-
subject_name
: Subject name from info file -
time_zone
: Time zone from info file -
missingness
: Data frame with timestamps and the number of missing values associated.
See Also
Other gt3x-parsers:
parse_gt3x_info()
,
print.gt3x_info()
,
read.gt3x()
[Package read.gt3x version 1.2.0 Index]