Learn R Programming

naryn (version 2.6.30)

emr_filter.attr.src: Get or set attributes of a named filter

Description

Get or set attributes of a named filter.

Usage

emr_filter.attr.src(filter, src)

emr_filter.attr.keepref(filter, keepref)

emr_filter.attr.time.shift(filter, time.shift)

emr_filter.attr.val(filter, val)

emr_filter.attr.expiration(filter, expiration)

Value

None.

Arguments

filter

filter name.

src, keepref, time.shift, val, expiration

filter attributes.

Details

When only 'filter' argument is used in the call, the functions return the corresponding attribute of the named filter. Otherwise a new attribute value is set.

Note: since inter-dependency exists between certain attributes, the correctness of the attributes as a whole can only be verified when the named filter is applied to a track expression.

For more information about the valid attribute values please refer to the documentation of 'emr_filter.create'.

See Also

emr_filter.create

Examples

Run this code

emr_db.init_examples()
emr_filter.create("f1", "dense_track", time.shift = c(2, 4))
emr_filter.attr.src("f1")
emr_filter.attr.src("f1", "sparse_track")
emr_filter.attr.src("f1")

Run the code above in your browser using DataLab