Title: | What the Package Does (One Line, Title Case) |
---|---|
Description: | This is an implementation of the Chartkick.js library in R using the htmlwidgets framework. |
Authors: | Bilikisu Olatunji [aut, cre] |
Maintainer: | Bilikisu Olatunji <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.0.0.9000 |
Built: | 2024-11-24 05:56:16 UTC |
Source: | https://github.com/BWOlatunji/chartkickR |
chartkickR is an R package to draw charts based on Chartkick.js JavaScript Library
chartkickR( data, x = NULL, y = NULL, group = NULL, size = NULL, type, ..., width = NULL, height = NULL, elementId = NULL )
chartkickR( data, x = NULL, y = NULL, group = NULL, size = NULL, type, ..., width = NULL, height = NULL, elementId = NULL )
data |
data.frame containing data series |
x , y
|
List of name value pairs used to map variables on the chart. |
group |
string representing the column name used for grouping |
size |
bubble size when create bubble chart |
type |
string representing the chart type name i.e. "LineChart" |
... |
configurations arguments for the chart |
width |
chart's width |
height |
chart's height |
elementId |
html element id |
Output and render functions for using chartkickR within Shiny applications and interactive Rmd documents.
chartkickROutput(outputId, width = "100%", height = "400px") renderChartkickR(expr, env = parent.frame(), quoted = FALSE)
chartkickROutput(outputId, width = "100%", height = "400px") renderChartkickR(expr, env = parent.frame(), quoted = FALSE)
outputId |
output variable to read from |
width , height
|
Must be a valid CSS unit (like |
expr |
An expression that generates a chartkickR |
env |
The environment in which to evaluate |
quoted |
Is |