Learn R Programming

validate (version 0.1.4)

created: Creation timestamp

Description

Creation timestamp

Usage

created(x, ...)

## S3 method for class 'rule': created(x, ...)

## S3 method for class 'expressionset': created(x, ...)

Arguments

x
and R object
...
Arguments to be passed to other methods

Value

  • A POSIXct vector.

Methods (by class)

  • expressionset: Creation time of every rule inx

See Also

description, label, origin variables

Examples

Run this code
# retrieve properties
v <- validator(turnover > 0, staff.costs>0)

# number of rules in v:
length(v)

# per-rule
created(v)
origin(v)
names(v)

# set properties
names(v)[1] <- "p1"

label(v)[1] <- "turnover positive"
description(v)[1] <- "According to the official definition,
only positive values can be considered
valid turnovers.
"

# short description is also printed:
v

# print all info for first rule
v[[1]]

Run the code above in your browser using DataLab