idle_na_locf: Replace Values with Last Observation Carried Forward from...

Description Usage Arguments Value Examples

View source: R/read_acc_csv.R

Description

Replace Values with Last Observation Carried Forward from Idle Sleep Mode

Usage

1

Arguments

df

An object with columns X, Y, and 'Z“

Value

A data set with the zeros filled in

Examples

1
2
3
4
5
6
df = data.frame(
  X = c(0.3/sqrt(0.5), rep(0, 3)),
  Y = c(0.4/sqrt(0.5), rep(0, 3)),
  Z = c(0.5/sqrt(0.5), rep(0, 3)),
  stringsAsFactors = FALSE)
idle_na_locf(df)

oslerinhealth/pygt3x documentation built on Nov. 20, 2020, 11:46 p.m.