event | R Documentation |
The purpose of event information is to store information that allows for identification of the confronting event.
event(x)
event(x) <- value
## S4 method for signature 'confrontation'
event(x)
## S4 replacement method for signature 'confrontation'
event(x) <- value
x |
an object of class |
value |
|
A a character vector with elements
"agent"
, which defaults to the R version and platform returned by
R.version
, a timestamp ("time"
) in ISO 8601 format and a
"actor"
which is the user name returned by Sys.info()
. The
last element is called "trigger"
(default NA_character_
), which
can be used to administrate the event that triggered the confrontation.
Mark van der Loo and Olav ten Bosch (2017) Design of a generic machine-readable validation report structure, version 1.0.0.
Other confrontation-methods:
[,expressionset-method
,
as.data.frame,confrontation-method
,
confront()
,
confrontation-class
,
errors()
,
keyset()
,
length,expressionset-method
,
values()
Other validation-methods:
aggregate,validation-method
,
all,validation-method
,
any,validation-method
,
barplot,validation-method
,
check_that()
,
compare()
,
confront()
,
names<-,rule,character-method
,
plot,validation-method
,
sort,validation-method
,
summary()
,
validation-class
,
values()
Other indication-methods:
confront()
,
indication-class
,
summary()
data(retailers)
rules <- validator(turnover >= 0, staff >=0)
cf <- confront(retailers, rules)
event(cf)
# adapt event information
u <- event(cf)
u["trigger"] <- "spontaneous validation"
event(cf) <- u
event(cf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.