Description Usage Arguments Examples
View source: R/initialInspectionCortisol.R
This function does an intial inspection on the data.
1 | initialInspectCortisol(dat, calibName, calibValue, nVar, drop)
|
dat |
A data frame |
calibVar |
The name of the calibration variable (usually STAND or A) |
calibValue |
The value for calibration (usually 0) |
cpmVar |
The name for the CPM variable (usually CPM) |
idVar |
The ID variable; is often "N". |
drop |
Which participant to drop. |
1 2 3 4 5 6 7 8 9 10 11 12 | dat = data.frame(N = 1:10,
CPM = c(44396.5, 47774.5, 23676.0, 24290.3, 23541.0,
20108.7, 20101.3, 19383.7, 17013.7, 17678.7),
STAND = c(NA, NA, 0, 0, 1,
1, 3, 10, 30, 100))
# The First Pass #
initialInspectCortisol(dat, "STAND", 0, "CPM")
# Deleting Observations #
initialInspectCortisol(dat, "STAND", 0, "CPM", "N", 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.