EVOLUTION-MANAGER
Edit File: colorize.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Create vector of color from vector</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for colorize {highcharter}"><tr><td>colorize {highcharter}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Create vector of color from vector</h2> <h3>Description</h3> <p>Create vector of color from vector </p> <h3>Usage</h3> <pre> colorize(x, colors = c("#440154", "#21908C", "#FDE725")) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>x</code></td> <td> <p>A numeric, character or factor object.</p> </td></tr> <tr valign="top"><td><code>colors</code></td> <td> <p>A character string of colors (ordered) to colorize <code>x</code></p> </td></tr> </table> <h3>Examples</h3> <pre> colorize(runif(10)) colorize(LETTERS[rbinom(20, 5, 0.5)], c("#FF0000", "#00FFFF")) </pre> <hr /><div style="text-align: center;">[Package <em>highcharter</em> version 0.9.4 <a href="00Index.html">Index</a>]</div> </body></html>