cranvas (version 0.8.5)

link_type: Set or query the type of linking

Description

Types of linking include hot, cold and self linking. Hot linking means other plots get updated immediately after the current plot is brushed; cold linking will not update other plots until they are on focus; self linking means all the elements in the same category as the current brushed element(s) will be brushed as well.

Usage

link_type(data)
link_type(data) <- value

Arguments

data
the mutaframe (typically created by qdata), with an attribute Link
value
the type of linking (possible values are hot, cold and self)

Value

link_type returns the type of linking

Examples

Run this code
mf <- qdata(iris)
link_type(mf)
link_type(mf) <- "self"
link_type(mf) <- "cold"

Run the code above in your browser using DataLab