Skip to content

glfeng318/rg2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jun 20, 2024
cd297bd · Jun 20, 2024
Jan 20, 2024
Jun 20, 2024
Jun 18, 2024
Jun 20, 2024
Jun 18, 2024
Jun 20, 2024
Apr 19, 2021
Jul 5, 2020
Jan 2, 2024
Jun 18, 2024
Jan 1, 2024
Jan 1, 2024
Jun 20, 2024
Jun 18, 2024
Jun 20, 2024
Jun 20, 2024
Jun 18, 2024

Repository files navigation

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')