Skip to content

Instantly share code, notes, and snippets.

View woobe's full-sized avatar
🏡
WFH

Jo-fai Chow woobe

🏡
WFH
View GitHub Profile
@woobe
woobe / README.md
Last active March 15, 2018 06:27
[Blog]: Towards (Yet) Another R Colour Palette Generator
@woobe
woobe / README.md
Last active December 21, 2017 16:41
[rPlotter]: Customised Palette Experiments

Introduction

I created a function called "extract_colours()" in my "rPlotter" package. Using this function, any image in PNG, JPG, JPEG or TIFF format can be converted into a simple colour palette.

YET, this is my very first attempt, the colours are only sorted by alphabetical order at the moment. More work is needed to arrange colours based on colour theory and other factors.

Example 1a - R Logo R Logo

Output 1a

@woobe
woobe / README.md
Last active August 29, 2015 14:00
[Rcpp]: Code Snippets

Rcpp Code Snippets

Learning Rcpp to speed things up!

simple_comparison.R

Example: Fibonacci Recursive expr min lq median uq max neval

@woobe
woobe / README.md
Last active August 29, 2015 13:57
[rblocks]: Experiments

The rBlocks Experiement

Having fun with Ramnath Vaidyanathan's new package rblocks!

Iris & AirPassengers

iris

ap