Create virtual reality charts.

aCharts

Format

An object of class R6ClassGenerator of length 24.

Methods

  • scatter Scatter plot.

  • bar Bar chart.

  • line Line chart.

  • labels Add labels.

  • plot Plot chart

  • get Get chart

  • browse Browse chart

  • embed Embed chart

  • insert Insert aframer components in the a_scene.

Arguments

  • scatter, required: data, x, y, z, optional: size, color

  • bar, required: data, x, y, z, height, optional: color, width

  • line, required: data, src.x, src.y, src.z, tgt.x, tgt.y, tgt.z, optional: color, width

  • labels, required: data, x, y, z, text, optional: color

Details

insert is used to "insert" aframe tags in the scene (a_scene)

Examples

aCharts$ new()$ scatter( data = mtcars, x = mpg, y = drat, z = wt, color = qsec )$ plot()$ browse()