Re: [R] hsv2rgb in R

From: <>
Date: Mon, 31 Mar 2008 10:50:28 +0100

> I noted that there is a hsv2rgb in the C-API, but no corresponding
function in
> R, while rgb2hsv is available in R.
> Does the functionality of hsv2rgb hide under some other name?

I agree that it does seem like such a function ought to exist. You can use col2rgb(hsv(...)) to get what you want.


Mathematical Sciences Unit

ATTENTION: This message contains privileged and confidential inform...{{dropped:20}} mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 31 Mar 2008 - 09:53:22 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 31 Mar 2008 - 10:30:25 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive