idle_na_locf | R Documentation |
Replace Values with Last Observation Carried Forward from Idle Sleep Mode
idle_na_locf(df)
df |
An object with columns |
A data set with the zeros filled in
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.