View source: R/active_forcing.R
active_forcing | R Documentation |
havok
.This function uses a threshold to determine when forcing
is active in a fitted havok
object.
active_forcing(x, thresh = stats::sd(x$Vr[, x$r]))
x |
An object of class |
thresh |
Numeric; A cutoff value for determining when forcing is active. Defaults to one standard deviation of the forcing term. |
A list of forcing values with their corresponding activity status.
data(ECG_measurements)
xdat <- ECG_measurements[,"channel1"]
dt <- ECG_measurements[2,"time"] - ECG_measurements[1,"time"]
stackmax <- 25
rmax <- 5
lambda <- .001
hav <- havok(xdat = xdat, dt = dt, stackmax = stackmax, lambda = lambda, rmax = rmax)
active_forcing(x = hav)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.