rgbToHsv: Convert RGB values to HSV.

Description Usage Arguments Value Examples

View source: R/cultural-analytics.r

Description

This function converts colorspace library RGB values to their HSV equivalents.

Usage

1
rgbToHsv(rgbs)

Arguments

rgbs

Colorspace library RGB values.

Value

Colorspace library HSV values.

Examples

1
2
rgbs<-RGB(c(0.1, 0.2, 0.3), c(0.4, 0.5, 0.6), c(0.7, 0.8, 0.9))
hsvs<-rgbToHsv(rgbs)

CulturalAnalytics documentation built on May 31, 2017, 3:28 a.m.