as.data.frame.activity.Rd
Convert an activity matrix to a data.frame
# S3 method for activity as.data.frame(x, ..., verbose = FALSE, add_light = FALSE)
x | Object of class 'activity' (returned by read.gt3x) |
---|---|
... | not used |
verbose | print diagnostic messages |
add_light | add light data to the |
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.
Other gt3x-parsers:
parse_gt3x_info()
,
print.gt3x_info()
,
read.gt3x()