Description Usage Arguments Details Value Examples
Derives the zeroed pressures of a segmented FemFit dataset.
1  | deriveZero(x, method = c("lmm", "manova"), ...)
 | 
x | 
 An "FemFit" object.  | 
method | 
 Specifies the statistical procedure to generate the zeroed pressures. See Details.  | 
... | 
 Arguments passed to   | 
"lmm" fits a linear mixed model to calculate the means of the baseline regions.
"manova" fits a multivariate analysis of variance to calculate the means of the baseline regions.
Returns a FemFit object with an updated df element containing the zeroed out pressures for each sensor as zeroPrssrX, where X is the sensor numbers 1 to 8.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  | AS005 = read_FemFit(c(
        "Datasets_AukRepeat/61aa0782289af385_283_csv.zip",
        "Datasets_AukRepeat/61aa0782289af385_284_csv.zip"
    ),
    remove.NAs = TRUE
  ) %>%
  # Segment the FemFit data
  segment(
    cp. = 0.001,
    numOfNodesToLabel = list(c(3, 1, 3, 4), c(4, 1, 5, 3))
  )
AS005_lmm = deriveZero(AS005, "lmm")
# The "lmm" method is recommended, but it can be shown that "manova" does return similar results...
AS005_manova = deriveZero(AS005, "manova")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.