Re: [R] hsv2rgb in R

From: <Richard.Cotton_at_hsl.gov.uk>
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.

Regards,
Richie.

Mathematical Sciences Unit
HSL



ATTENTION: This message contains privileged and confidential inform...{{dropped:20}}

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html 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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive