Description Usage Arguments Value Note See Also Examples
Check whether the variables of a data frame contain imprecise observations
1 |
data |
data.frame to test to apply the check onto. |
A named logical vector of length ncol(data),
where TRUE indicates that "|" is present in the
values, which is used to indicate an imprecise observations.
This check is only reliabe for data, inheriting
class "impimp". If data does not inherit class
"impimp", the check is tried, but additionaly the
user is notified with a warning.
1 2 3 4 5 6 7 8 9 10 11 12 | A <- data.frame(x1 = c(1,0), x2 = c(0,0),
y1 = c(1,0), y2 = c(2,2))
B <- data.frame(x1 = c(1,1,0), x2 = c(0,0,0),
z1 = c(0,1,1), z2 = c(0,1,2))
AimpB <- impimp(A, B, method = "variable_wise")
BimpA <- impimp(B, A, method = "variable_wise")
AB <- rbindimpimp(AimpB, BimpA)
checkImprecision(AB)
data(iris)
checkImprecision(iris) # emits a warning
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.