Learn R Programming

CVD (version 1.0.2)

createPNGbuttons: Creates PNG files to be used as colored caps (buttons)

Description

createPNGbuttons creates PNG files from a data.frame with RGB values.

Usage

createPNGbuttons(capsData = get("FarnsworthD15", envir = environment()), imgLength = 44, imgWidth = 78)

Arguments

capsData
Input file name.
imgLength
Input file name.
imgWidth
Input file name.

Value

png file object.

Examples

Run this code
## Not run: 
# createPNGbuttons(data.frame(R=0,G=0,B=0))
# data(FarnsworthD15)
# createPNGbuttons(FarnsworthD15)
# ## End(Not run)

Run the code above in your browser using DataLab