glfeng318 / rg2

G2 binding for R

Home Page:https://glfeng318.github.io/rg2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rg2

R-CMD-check CRAN status Lifecycle: stable

rg2 is a wrapper of G2 for R.

Installation

You can install rg2 from GitHub:

pak::pkg_install("glfeng318/rg2")

Documentation

Example

This is a basic example which shows you how to render a plot:

library(rg2)

g2(iris, encode('Sepal.Length','Sepal.Width',color='Species', shape='circle')) + 
  g2_point() + 
  title('iris')

About

G2 binding for R

https://glfeng318.github.io/rg2

License:Other


Languages

Language:R 98.2%Language:JavaScript 1.8%