View source: R/impute_primary.R
latch_accel | R Documentation |
Impute primary accelerometer data for missing packets
latch_accel(vector_size, accel_input, samp_rate) get_latch_index(missing_times, reference_times) get_latch_values(indices, RAW) get_latch_entries( samp_rate, timestamps, accel_x, accel_y, accel_z, return_empty = FALSE ) latch_replicate(start_time, stop_time, x_val, y_val, z_val) impute_C(gaps, object) impute_primary(object, verbose) idle_sleep_impute(object, events, info, tz, verbose)
vector_size |
int. The size of the final vector |
accel_input |
NumericVector. The accelerometer values to reference for latching |
samp_rate |
int. The sampling rate |
missing_times |
vector of missing timestamps for which to identify a latch index |
reference_times |
vector of reference timestamps for use in determining the latch index |
indices |
IntegerVector containing latch indices |
RAW |
DataFrame containing raw acceleration data |
timestamps |
vector of timestamps on which to perform latching |
accel_x |
vector of x-axis accelerations on which to perform latching |
accel_y |
vector of y-axis accelerations on which to perform latching |
accel_z |
vector of z-axis accelerations on which to perform latching |
return_empty |
bool. Return an empty data frame? |
gaps |
DataFrame with gap information |
object |
data frame of primary accelerometer data |
verbose |
logical. Print updates to console? |
events |
the result of parsing EVENTS packets (internal use) |
info |
the result of |
tz |
character. The timezone to use |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.