mark: Create a new "mark" object.

View source: R/mark.R

markR Documentation

Create a new "mark" object.

Description

A mark object is a close mapping to a vega mark object. Vega marks are documented in https://vega.github.io/vega/docs/marks/.

Usage

mark(type, props, data)

is.mark(x)

Arguments

type

A string with the vega type.

props

A list of properties, created by props.

data

A reactive data object.

Details

This function is designed to be used by authors of new types of mark.


ggvis documentation built on March 31, 2023, 7:13 p.m.