Skip to content

R-CoderDotCom/cyberpunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cyberpunk R package

A function to create cyberpunk-style graphs with R based on ggplot2

Important note: the final aim of this project is to provide new ggplot2 geoms and themes based on this style. At this moment the project is just a preview (a ggplot2 wrapper actually). If you like this type of charts check also ggCyberPunk

Installation

# Install the development version from GitHub:
# install.packages("devtools")
devtools::install_github("R-CoderDotCom/cyberpunk")

Line chart

my_df <- data.frame(x = c(4, 5, 5, 7, 9, 8, 6, 7),
                    z = c(1, 1.5, 4, 3, 5, 6, 4.5, 5))
cyber_lines(x = 0:7,
           df = my_df,
           area = TRUE,
           glow = TRUE,
           bg.col = "black",
           grid.col = rgb(1, 1, 1, 0.1),
           main = "Cyberpunk")

Bar chart

# Data
df <- data.frame(x = c("A","B","C","D"),
                 y = c(1:4))

# Barplot
cyber_bars(df, area = FALSE, bg.col = "black")

About

A function to create cyberpunk-style graphs with R based on ggplot2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy