Deploying to gh-pages from @ gnoblet/visualizeR@a791074dde 🚀
248
reference/bar.html
Normal file
|
|
@ -0,0 +1,248 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Simple bar chart — hbar • visualizeR</title><!-- favicons --><link rel="icon" type="image/png" sizes="96x96" href="../favicon-96x96.png"><link rel="icon" type="”image/svg+xml”" href="../favicon.svg"><link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png"><link rel="icon" sizes="any" href="../favicon.ico"><link rel="manifest" href="../site.webmanifest"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Simple bar chart — hbar"><meta name="description" content="`bar()` is a simple bar chart with some customization allowed, in particular the `theme_fun` argument for theming. `hbar()` uses `bar()` with sane defaults for a horizontal bar chart."><meta property="og:description" content="`bar()` is a simple bar chart with some customization allowed, in particular the `theme_fun` argument for theming. `hbar()` uses `bar()` with sane defaults for a horizontal bar chart."><meta property="og:image" content="https://gnoblet.github.io/visualizeR/logo.png"></head><body>
|
||||
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
||||
|
||||
|
||||
<nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">visualizeR</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.0</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div id="navbar" class="collapse navbar-collapse ms-3">
|
||||
<ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<button class="nav-link dropdown-toggle" type="button" id="dropdown-articles" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Articles</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdown-articles"><li><a class="dropdown-item" href="../articles/bar_charts.html">Bar charts</a></li>
|
||||
</ul></li>
|
||||
<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
|
||||
</ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
|
||||
<input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
|
||||
<li class="nav-item"><a class="external-link nav-link" href="https://github.com/gnoblet/visualizeR/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
|
||||
</ul></div>
|
||||
|
||||
|
||||
</div>
|
||||
</nav><div class="container template-reference-topic">
|
||||
<div class="row">
|
||||
<main id="main" class="col-md-9"><div class="page-header">
|
||||
<img src="../logo.png" class="logo" alt=""><h1>Simple bar chart</h1>
|
||||
<small class="dont-index">Source: <a href="https://github.com/gnoblet/visualizeR/blob/main/R/bar.R" class="external-link"><code>R/bar.R</code></a></small>
|
||||
<div class="d-none name"><code>bar.Rd</code></div>
|
||||
</div>
|
||||
|
||||
<div class="ref-description section level2">
|
||||
<p>`bar()` is a simple bar chart with some customization allowed, in particular the `theme_fun` argument for theming. `hbar()` uses `bar()` with sane defaults for a horizontal bar chart.</p>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">hbar</span><span class="op">(</span></span>
|
||||
<span> <span class="va">...</span>,</span>
|
||||
<span> flip <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> add_text <span class="op">=</span> <span class="cn">FALSE</span>,</span>
|
||||
<span> theme_fun <span class="op">=</span> <span class="fu"><a href="theme_default.html">theme_bar</a></span><span class="op">(</span>flip <span class="op">=</span> <span class="va">flip</span>, add_text <span class="op">=</span> <span class="va">add_text</span><span class="op">)</span></span>
|
||||
<span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="fu">bar</span><span class="op">(</span></span>
|
||||
<span> <span class="va">df</span>,</span>
|
||||
<span> <span class="va">x</span>,</span>
|
||||
<span> <span class="va">y</span>,</span>
|
||||
<span> group <span class="op">=</span> <span class="st">""</span>,</span>
|
||||
<span> facet <span class="op">=</span> <span class="st">""</span>,</span>
|
||||
<span> order <span class="op">=</span> <span class="st">"none"</span>,</span>
|
||||
<span> x_rm_na <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> y_rm_na <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> group_rm_na <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> facet_rm_na <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> y_expand <span class="op">=</span> <span class="fl">0.1</span>,</span>
|
||||
<span> add_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"cat_5_main_1"</span><span class="op">)</span>,</span>
|
||||
<span> add_color_guide <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> flip <span class="op">=</span> <span class="cn">FALSE</span>,</span>
|
||||
<span> wrap <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> position <span class="op">=</span> <span class="st">"dodge"</span>,</span>
|
||||
<span> alpha <span class="op">=</span> <span class="fl">1</span>,</span>
|
||||
<span> x_title <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> y_title <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> group_title <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> title <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> subtitle <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> caption <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> width <span class="op">=</span> <span class="fl">0.8</span>,</span>
|
||||
<span> add_text <span class="op">=</span> <span class="cn">FALSE</span>,</span>
|
||||
<span> add_text_size <span class="op">=</span> <span class="fl">4.5</span>,</span>
|
||||
<span> add_text_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"dark_grey"</span><span class="op">)</span>,</span>
|
||||
<span> add_text_font_face <span class="op">=</span> <span class="st">"bold"</span>,</span>
|
||||
<span> add_text_threshold_display <span class="op">=</span> <span class="fl">0.05</span>,</span>
|
||||
<span> add_text_suffix <span class="op">=</span> <span class="st">"%"</span>,</span>
|
||||
<span> add_text_expand_limit <span class="op">=</span> <span class="fl">1.2</span>,</span>
|
||||
<span> add_text_round <span class="op">=</span> <span class="fl">1</span>,</span>
|
||||
<span> theme_fun <span class="op">=</span> <span class="fu"><a href="theme_default.html">theme_bar</a></span><span class="op">(</span>flip <span class="op">=</span> <span class="va">flip</span>, add_text <span class="op">=</span> <span class="va">add_text</span>, axis_text_x_angle <span class="op">=</span> <span class="fl">0</span>,</span>
|
||||
<span> axis_text_x_vjust <span class="op">=</span> <span class="fl">0.5</span>, axis_text_x_hjust <span class="op">=</span> <span class="fl">0.5</span><span class="op">)</span>,</span>
|
||||
<span> scale_fill_fun <span class="op">=</span> <span class="fu"><a href="scale_color_visualizer_discrete.html">scale_fill_visualizer_discrete</a></span><span class="op">(</span><span class="op">)</span>,</span>
|
||||
<span> scale_color_fun <span class="op">=</span> <span class="fu"><a href="scale_color_visualizer_discrete.html">scale_color_visualizer_discrete</a></span><span class="op">(</span><span class="op">)</span></span>
|
||||
<span><span class="op">)</span></span></code></pre></div>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
|
||||
|
||||
|
||||
<dl><dt id="arg-flip">flip<a class="anchor" aria-label="anchor" href="#arg-flip"></a></dt>
|
||||
<dd><p>TRUE or FALSE (default). Default to TRUE or horizontal bar plot.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-add-text">add_text<a class="anchor" aria-label="anchor" href="#arg-add-text"></a></dt>
|
||||
<dd><p>TRUE or FALSE. Add values as text.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-theme-fun">theme_fun<a class="anchor" aria-label="anchor" href="#arg-theme-fun"></a></dt>
|
||||
<dd><p>Whatever theme function. For no custom theme, use theme_fun = NULL.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-df">df<a class="anchor" aria-label="anchor" href="#arg-df"></a></dt>
|
||||
<dd><p>A data frame.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-x">x<a class="anchor" aria-label="anchor" href="#arg-x"></a></dt>
|
||||
<dd><p>A quoted numeric column.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-y">y<a class="anchor" aria-label="anchor" href="#arg-y"></a></dt>
|
||||
<dd><p>A quoted character column or coercible as a character column.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-group">group<a class="anchor" aria-label="anchor" href="#arg-group"></a></dt>
|
||||
<dd><p>Some quoted grouping categorical column, e.g. administrative areas or population groups.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-facet">facet<a class="anchor" aria-label="anchor" href="#arg-facet"></a></dt>
|
||||
<dd><p>Some quoted grouping categorical column, e.g. administrative areas or population groups.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-order">order<a class="anchor" aria-label="anchor" href="#arg-order"></a></dt>
|
||||
<dd><p>A character scalar specifying the order type (one of "none", "y", "grouped"). See details.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-x-rm-na">x_rm_na<a class="anchor" aria-label="anchor" href="#arg-x-rm-na"></a></dt>
|
||||
<dd><p>Remove NAs in x?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-y-rm-na">y_rm_na<a class="anchor" aria-label="anchor" href="#arg-y-rm-na"></a></dt>
|
||||
<dd><p>Remove NAs in y?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-group-rm-na">group_rm_na<a class="anchor" aria-label="anchor" href="#arg-group-rm-na"></a></dt>
|
||||
<dd><p>Remove NAs in group?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-facet-rm-na">facet_rm_na<a class="anchor" aria-label="anchor" href="#arg-facet-rm-na"></a></dt>
|
||||
<dd><p>Remove NAs in facet?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-y-expand">y_expand<a class="anchor" aria-label="anchor" href="#arg-y-expand"></a></dt>
|
||||
<dd><p>Multiplier to expand the y axis.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-add-color">add_color<a class="anchor" aria-label="anchor" href="#arg-add-color"></a></dt>
|
||||
<dd><p>Add a color to bars (if no grouping).</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-add-color-guide">add_color_guide<a class="anchor" aria-label="anchor" href="#arg-add-color-guide"></a></dt>
|
||||
<dd><p>Should a legend be added?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-wrap">wrap<a class="anchor" aria-label="anchor" href="#arg-wrap"></a></dt>
|
||||
<dd><p>Should x-labels be wrapped? Number of characters.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-position">position<a class="anchor" aria-label="anchor" href="#arg-position"></a></dt>
|
||||
<dd><p>Should the chart be stacked? Default to "dodge". Can take "dodge" and "stack".</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-alpha">alpha<a class="anchor" aria-label="anchor" href="#arg-alpha"></a></dt>
|
||||
<dd><p>Fill transparency.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-x-title">x_title<a class="anchor" aria-label="anchor" href="#arg-x-title"></a></dt>
|
||||
<dd><p>The x scale title. Default to NULL.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-y-title">y_title<a class="anchor" aria-label="anchor" href="#arg-y-title"></a></dt>
|
||||
<dd><p>The y scale title. Default to NULL.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-group-title">group_title<a class="anchor" aria-label="anchor" href="#arg-group-title"></a></dt>
|
||||
<dd><p>The group legend title. Default to NULL.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-title">title<a class="anchor" aria-label="anchor" href="#arg-title"></a></dt>
|
||||
<dd><p>Plot title. Default to NULL.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-subtitle">subtitle<a class="anchor" aria-label="anchor" href="#arg-subtitle"></a></dt>
|
||||
<dd><p>Plot subtitle. Default to NULL.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-caption">caption<a class="anchor" aria-label="anchor" href="#arg-caption"></a></dt>
|
||||
<dd><p>Plot caption. Default to NULL.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-width">width<a class="anchor" aria-label="anchor" href="#arg-width"></a></dt>
|
||||
<dd><p>Bar width.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-add-text-size">add_text_size<a class="anchor" aria-label="anchor" href="#arg-add-text-size"></a></dt>
|
||||
<dd><p>Text size.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-add-text-color">add_text_color<a class="anchor" aria-label="anchor" href="#arg-add-text-color"></a></dt>
|
||||
<dd><p>Text color.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-add-text-font-face">add_text_font_face<a class="anchor" aria-label="anchor" href="#arg-add-text-font-face"></a></dt>
|
||||
<dd><p>Text font_face.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-add-text-threshold-display">add_text_threshold_display<a class="anchor" aria-label="anchor" href="#arg-add-text-threshold-display"></a></dt>
|
||||
<dd><p>Minimum value to add the text label.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-add-text-suffix">add_text_suffix<a class="anchor" aria-label="anchor" href="#arg-add-text-suffix"></a></dt>
|
||||
<dd><p>If percent is FALSE, should we add a suffix to the text label?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-add-text-expand-limit">add_text_expand_limit<a class="anchor" aria-label="anchor" href="#arg-add-text-expand-limit"></a></dt>
|
||||
<dd><p>Default to adding 10% on top of the bar.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-add-text-round">add_text_round<a class="anchor" aria-label="anchor" href="#arg-add-text-round"></a></dt>
|
||||
<dd><p>Round the text label.</p></dd>
|
||||
|
||||
</dl></div>
|
||||
|
||||
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
||||
</nav></aside></div>
|
||||
|
||||
|
||||
<footer><div class="pkgdown-footer-left">
|
||||
<p>Developed by Noblet Guillaume.</p>
|
||||
</div>
|
||||
|
||||
<div class="pkgdown-footer-right">
|
||||
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.3.</p>
|
||||
</div>
|
||||
|
||||
</footer></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
|
||||
84
reference/check_vars_in_df.html
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Check if variables are in data frame — check_vars_in_df • visualizeR</title><!-- favicons --><link rel="icon" type="image/png" sizes="96x96" href="../favicon-96x96.png"><link rel="icon" type="”image/svg+xml”" href="../favicon.svg"><link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png"><link rel="icon" sizes="any" href="../favicon.ico"><link rel="manifest" href="../site.webmanifest"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Check if variables are in data frame — check_vars_in_df"><meta name="description" content="Check if variables are in data frame"><meta property="og:description" content="Check if variables are in data frame"><meta property="og:image" content="https://gnoblet.github.io/visualizeR/logo.png"></head><body>
|
||||
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
||||
|
||||
|
||||
<nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">visualizeR</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.0</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div id="navbar" class="collapse navbar-collapse ms-3">
|
||||
<ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<button class="nav-link dropdown-toggle" type="button" id="dropdown-articles" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Articles</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdown-articles"><li><a class="dropdown-item" href="../articles/bar_charts.html">Bar charts</a></li>
|
||||
</ul></li>
|
||||
<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
|
||||
</ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
|
||||
<input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
|
||||
<li class="nav-item"><a class="external-link nav-link" href="https://github.com/gnoblet/visualizeR/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
|
||||
</ul></div>
|
||||
|
||||
|
||||
</div>
|
||||
</nav><div class="container template-reference-topic">
|
||||
<div class="row">
|
||||
<main id="main" class="col-md-9"><div class="page-header">
|
||||
<img src="../logo.png" class="logo" alt=""><h1>Check if variables are in data frame</h1>
|
||||
<small class="dont-index">Source: <a href="https://github.com/gnoblet/visualizeR/blob/main/R/checks.R" class="external-link"><code>R/checks.R</code></a></small>
|
||||
<div class="d-none name"><code>check_vars_in_df.Rd</code></div>
|
||||
</div>
|
||||
|
||||
<div class="ref-description section level2">
|
||||
<p>Check if variables are in data frame</p>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">check_vars_in_df</span><span class="op">(</span><span class="va">df</span>, <span class="va">vars</span><span class="op">)</span></span></code></pre></div>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
|
||||
|
||||
|
||||
<dl><dt id="arg-df">df<a class="anchor" aria-label="anchor" href="#arg-df"></a></dt>
|
||||
<dd><p>A data frame</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-vars">vars<a class="anchor" aria-label="anchor" href="#arg-vars"></a></dt>
|
||||
<dd><p>A vector of variable names</p></dd>
|
||||
|
||||
</dl></div>
|
||||
<div class="section level2">
|
||||
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
|
||||
<p>A stop statement</p>
|
||||
</div>
|
||||
|
||||
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
||||
</nav></aside></div>
|
||||
|
||||
|
||||
<footer><div class="pkgdown-footer-left">
|
||||
<p>Developed by Noblet Guillaume.</p>
|
||||
</div>
|
||||
|
||||
<div class="pkgdown-footer-right">
|
||||
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.3.</p>
|
||||
</div>
|
||||
|
||||
</footer></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
|
||||
99
reference/color.html
Normal file
|
|
@ -0,0 +1,99 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Helpers to extract defined colors as hex codes — color • visualizeR</title><!-- favicons --><link rel="icon" type="image/png" sizes="96x96" href="../favicon-96x96.png"><link rel="icon" type="”image/svg+xml”" href="../favicon.svg"><link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png"><link rel="icon" sizes="any" href="../favicon.ico"><link rel="manifest" href="../site.webmanifest"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Helpers to extract defined colors as hex codes — color"><meta name="description" content="[color()] returns the requested columns, returns NA if absent. [color_pattern()] returns all colors that start with the pattern."><meta property="og:description" content="[color()] returns the requested columns, returns NA if absent. [color_pattern()] returns all colors that start with the pattern."><meta property="og:image" content="https://gnoblet.github.io/visualizeR/logo.png"></head><body>
|
||||
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
||||
|
||||
|
||||
<nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">visualizeR</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.0</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div id="navbar" class="collapse navbar-collapse ms-3">
|
||||
<ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<button class="nav-link dropdown-toggle" type="button" id="dropdown-articles" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Articles</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdown-articles"><li><a class="dropdown-item" href="../articles/bar_charts.html">Bar charts</a></li>
|
||||
</ul></li>
|
||||
<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
|
||||
</ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
|
||||
<input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
|
||||
<li class="nav-item"><a class="external-link nav-link" href="https://github.com/gnoblet/visualizeR/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
|
||||
</ul></div>
|
||||
|
||||
|
||||
</div>
|
||||
</nav><div class="container template-reference-topic">
|
||||
<div class="row">
|
||||
<main id="main" class="col-md-9"><div class="page-header">
|
||||
<img src="../logo.png" class="logo" alt=""><h1>Helpers to extract defined colors as hex codes</h1>
|
||||
<small class="dont-index">Source: <a href="https://github.com/gnoblet/visualizeR/blob/main/R/color.R" class="external-link"><code>R/color.R</code></a></small>
|
||||
<div class="d-none name"><code>color.Rd</code></div>
|
||||
</div>
|
||||
|
||||
<div class="ref-description section level2">
|
||||
<p>[color()] returns the requested columns, returns NA if absent. [color_pattern()] returns all colors that start with the pattern.</p>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">color</span><span class="op">(</span><span class="va">...</span>, unname <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="fu">color_pattern</span><span class="op">(</span><span class="va">pattern</span>, unname <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span></code></pre></div>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
|
||||
|
||||
|
||||
<dl><dt id="arg--">...<a class="anchor" aria-label="anchor" href="#arg--"></a></dt>
|
||||
<dd><p>Character names of colors. If NULL returns all colors.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-unname">unname<a class="anchor" aria-label="anchor" href="#arg-unname"></a></dt>
|
||||
<dd><p>Boolean. Should the output vector be unnamed? Default to `TRUE`.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-pattern">pattern<a class="anchor" aria-label="anchor" href="#arg-pattern"></a></dt>
|
||||
<dd><p>Pattern of the start of colors' name.</p></dd>
|
||||
|
||||
</dl></div>
|
||||
<div class="section level2">
|
||||
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
|
||||
<p>Hex codes named or unnamed.</p>
|
||||
</div>
|
||||
<div class="section level2">
|
||||
<h2 id="naming-of-colors">Naming of colors<a class="anchor" aria-label="anchor" href="#naming-of-colors"></a></h2>
|
||||
|
||||
|
||||
<p>* All branding colors start with "branding";
|
||||
* All , categorical colors start with ", cat_";
|
||||
* All sequential colors start with "seq_";</p>
|
||||
<p>Then, a number indicates the number of colors that belong to the palettes, a string the name of the palette, and, finally, a number the position of the color. E.g., "seq_5_red_4" would be the 4th color of a continuous palettes of 5 colors in the red band. Exception is made for white, light_grey, dark_grey, and black.</p>
|
||||
</div>
|
||||
|
||||
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
||||
</nav></aside></div>
|
||||
|
||||
|
||||
<footer><div class="pkgdown-footer-left">
|
||||
<p>Developed by Noblet Guillaume.</p>
|
||||
</div>
|
||||
|
||||
<div class="pkgdown-footer-right">
|
||||
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.3.</p>
|
||||
</div>
|
||||
|
||||
</footer></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
|
||||
8
reference/color_pattern.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=https://gnoblet.github.io/visualizeR/reference/color.html" />
|
||||
<meta name="robots" content="noindex">
|
||||
<link rel="canonical" href="https://gnoblet.github.io/visualizeR/reference/color.html">
|
||||
</head>
|
||||
</html>
|
||||
|
||||
202
reference/dumbbell.html
Normal file
|
|
@ -0,0 +1,202 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Make dumbbell chart. — dumbbell • visualizeR</title><!-- favicons --><link rel="icon" type="image/png" sizes="96x96" href="../favicon-96x96.png"><link rel="icon" type="”image/svg+xml”" href="../favicon.svg"><link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png"><link rel="icon" sizes="any" href="../favicon.ico"><link rel="manifest" href="../site.webmanifest"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Make dumbbell chart. — dumbbell"><meta name="description" content="Make dumbbell chart."><meta property="og:description" content="Make dumbbell chart."><meta property="og:image" content="https://gnoblet.github.io/visualizeR/logo.png"></head><body>
|
||||
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
||||
|
||||
|
||||
<nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">visualizeR</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.0</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div id="navbar" class="collapse navbar-collapse ms-3">
|
||||
<ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<button class="nav-link dropdown-toggle" type="button" id="dropdown-articles" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Articles</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdown-articles"><li><a class="dropdown-item" href="../articles/bar_charts.html">Bar charts</a></li>
|
||||
</ul></li>
|
||||
<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
|
||||
</ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
|
||||
<input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
|
||||
<li class="nav-item"><a class="external-link nav-link" href="https://github.com/gnoblet/visualizeR/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
|
||||
</ul></div>
|
||||
|
||||
|
||||
</div>
|
||||
</nav><div class="container template-reference-topic">
|
||||
<div class="row">
|
||||
<main id="main" class="col-md-9"><div class="page-header">
|
||||
<img src="../logo.png" class="logo" alt=""><h1>Make dumbbell chart.</h1>
|
||||
<small class="dont-index">Source: <a href="https://github.com/gnoblet/visualizeR/blob/main/R/dumbbell.R" class="external-link"><code>R/dumbbell.R</code></a></small>
|
||||
<div class="d-none name"><code>dumbbell.Rd</code></div>
|
||||
</div>
|
||||
|
||||
<div class="ref-description section level2">
|
||||
<p>Make dumbbell chart.</p>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">dumbbell</span><span class="op">(</span></span>
|
||||
<span> <span class="va">df</span>,</span>
|
||||
<span> <span class="va">col</span>,</span>
|
||||
<span> <span class="va">group_x</span>,</span>
|
||||
<span> <span class="va">group_y</span>,</span>
|
||||
<span> point_size <span class="op">=</span> <span class="fl">5</span>,</span>
|
||||
<span> point_alpha <span class="op">=</span> <span class="fl">1</span>,</span>
|
||||
<span> segment_size <span class="op">=</span> <span class="fl">2.5</span>,</span>
|
||||
<span> segment_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"light_blue_grey"</span><span class="op">)</span>,</span>
|
||||
<span> group_x_title <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> group_y_title <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> x_title <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> title <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> subtitle <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> caption <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> line_to_y_axis <span class="op">=</span> <span class="cn">FALSE</span>,</span>
|
||||
<span> line_to_y_axis_type <span class="op">=</span> <span class="fl">3</span>,</span>
|
||||
<span> line_to_y_axis_width <span class="op">=</span> <span class="fl">0.5</span>,</span>
|
||||
<span> line_to_y_axis_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"dark_grey"</span><span class="op">)</span>,</span>
|
||||
<span> add_text <span class="op">=</span> <span class="cn">FALSE</span>,</span>
|
||||
<span> add_text_vjust <span class="op">=</span> <span class="fl">2</span>,</span>
|
||||
<span> add_text_size <span class="op">=</span> <span class="fl">3.5</span>,</span>
|
||||
<span> add_text_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"dark_grey"</span><span class="op">)</span>,</span>
|
||||
<span> theme_fun <span class="op">=</span> <span class="fu"><a href="theme_default.html">theme_dumbbell</a></span><span class="op">(</span><span class="op">)</span>,</span>
|
||||
<span> scale_fill_fun <span class="op">=</span> <span class="fu"><a href="scale_color_visualizer_discrete.html">scale_fill_visualizer_discrete</a></span><span class="op">(</span><span class="op">)</span>,</span>
|
||||
<span> scale_color_fun <span class="op">=</span> <span class="fu"><a href="scale_color_visualizer_discrete.html">scale_color_visualizer_discrete</a></span><span class="op">(</span><span class="op">)</span></span>
|
||||
<span><span class="op">)</span></span></code></pre></div>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
|
||||
|
||||
|
||||
<dl><dt id="arg-df">df<a class="anchor" aria-label="anchor" href="#arg-df"></a></dt>
|
||||
<dd><p>A data frame.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-col">col<a class="anchor" aria-label="anchor" href="#arg-col"></a></dt>
|
||||
<dd><p>A numeric column.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-group-x">group_x<a class="anchor" aria-label="anchor" href="#arg-group-x"></a></dt>
|
||||
<dd><p>The grouping column on the x-axis; only two groups.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-group-y">group_y<a class="anchor" aria-label="anchor" href="#arg-group-y"></a></dt>
|
||||
<dd><p>The grouping column on the y-axis.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-point-size">point_size<a class="anchor" aria-label="anchor" href="#arg-point-size"></a></dt>
|
||||
<dd><p>Point size.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-point-alpha">point_alpha<a class="anchor" aria-label="anchor" href="#arg-point-alpha"></a></dt>
|
||||
<dd><p>Point alpha.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-segment-size">segment_size<a class="anchor" aria-label="anchor" href="#arg-segment-size"></a></dt>
|
||||
<dd><p>Segment size.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-segment-color">segment_color<a class="anchor" aria-label="anchor" href="#arg-segment-color"></a></dt>
|
||||
<dd><p>Segment color.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-group-x-title">group_x_title<a class="anchor" aria-label="anchor" href="#arg-group-x-title"></a></dt>
|
||||
<dd><p>X-group and legend title.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-group-y-title">group_y_title<a class="anchor" aria-label="anchor" href="#arg-group-y-title"></a></dt>
|
||||
<dd><p>Y-axis and group title.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-x-title">x_title<a class="anchor" aria-label="anchor" href="#arg-x-title"></a></dt>
|
||||
<dd><p>X-axis title.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-title">title<a class="anchor" aria-label="anchor" href="#arg-title"></a></dt>
|
||||
<dd><p>Title.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-subtitle">subtitle<a class="anchor" aria-label="anchor" href="#arg-subtitle"></a></dt>
|
||||
<dd><p>Subtitle.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-caption">caption<a class="anchor" aria-label="anchor" href="#arg-caption"></a></dt>
|
||||
<dd><p>Caption.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-line-to-y-axis">line_to_y_axis<a class="anchor" aria-label="anchor" href="#arg-line-to-y-axis"></a></dt>
|
||||
<dd><p>TRUE or FALSE; add a line connected points and Y-axis.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-line-to-y-axis-type">line_to_y_axis_type<a class="anchor" aria-label="anchor" href="#arg-line-to-y-axis-type"></a></dt>
|
||||
<dd><p>Line to Y-axis type.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-line-to-y-axis-width">line_to_y_axis_width<a class="anchor" aria-label="anchor" href="#arg-line-to-y-axis-width"></a></dt>
|
||||
<dd><p>Line to Y-axis width.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-line-to-y-axis-color">line_to_y_axis_color<a class="anchor" aria-label="anchor" href="#arg-line-to-y-axis-color"></a></dt>
|
||||
<dd><p>Line to Y-axis color.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-add-text">add_text<a class="anchor" aria-label="anchor" href="#arg-add-text"></a></dt>
|
||||
<dd><p>TRUE or FALSE; add text at the points.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-add-text-vjust">add_text_vjust<a class="anchor" aria-label="anchor" href="#arg-add-text-vjust"></a></dt>
|
||||
<dd><p>Vertical adjustment.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-add-text-size">add_text_size<a class="anchor" aria-label="anchor" href="#arg-add-text-size"></a></dt>
|
||||
<dd><p>Text size.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-add-text-color">add_text_color<a class="anchor" aria-label="anchor" href="#arg-add-text-color"></a></dt>
|
||||
<dd><p>Text color.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-theme-fun">theme_fun<a class="anchor" aria-label="anchor" href="#arg-theme-fun"></a></dt>
|
||||
<dd><p>A ggplot2 theme, default to `theme_dumbbell()`</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-scale-fill-fun">scale_fill_fun<a class="anchor" aria-label="anchor" href="#arg-scale-fill-fun"></a></dt>
|
||||
<dd><p>A ggplot2 scale_fill function, default to `scale_fill_visualizer_discrete()`</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-scale-color-fun">scale_color_fun<a class="anchor" aria-label="anchor" href="#arg-scale-color-fun"></a></dt>
|
||||
<dd><p>A ggplot2 scale_color function, default to `scale_color_visualizer_discrete()`</p></dd>
|
||||
|
||||
</dl></div>
|
||||
<div class="section level2">
|
||||
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
|
||||
<p>A dumbbell chart.</p>
|
||||
</div>
|
||||
|
||||
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
||||
</nav></aside></div>
|
||||
|
||||
|
||||
<footer><div class="pkgdown-footer-left">
|
||||
<p>Developed by Noblet Guillaume.</p>
|
||||
</div>
|
||||
|
||||
<div class="pkgdown-footer-right">
|
||||
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.3.</p>
|
||||
</div>
|
||||
|
||||
</footer></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
|
||||
BIN
reference/figures/README-example-alluvial-plot-1.png
Normal file
|
After Width: | Height: | Size: 239 KiB |
BIN
reference/figures/README-example-bar-chart-1.png
Normal file
|
After Width: | Height: | Size: 70 KiB |
BIN
reference/figures/README-example-bar-chart-2.png
Normal file
|
After Width: | Height: | Size: 67 KiB |
BIN
reference/figures/README-example-bar-chart-3.png
Normal file
|
After Width: | Height: | Size: 73 KiB |
BIN
reference/figures/README-example-bar-chart-4.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
reference/figures/README-example-donut-plot-1.png
Normal file
|
After Width: | Height: | Size: 112 KiB |
BIN
reference/figures/README-example-dumbbell-plot-1.png
Normal file
|
After Width: | Height: | Size: 102 KiB |
BIN
reference/figures/README-example-lollipop-chart-1.png
Normal file
|
After Width: | Height: | Size: 149 KiB |
BIN
reference/figures/README-example-lollipop-chart-2.png
Normal file
|
After Width: | Height: | Size: 177 KiB |
BIN
reference/figures/README-example-map.png
Normal file
|
After Width: | Height: | Size: 281 KiB |
241
reference/figures/README-example-map.svg
Normal file
|
After Width: | Height: | Size: 838 KiB |
BIN
reference/figures/README-example-point-chart-1.png
Normal file
|
After Width: | Height: | Size: 177 KiB |
BIN
reference/figures/README-example-point-chart-2.png
Normal file
|
After Width: | Height: | Size: 357 KiB |
BIN
reference/figures/README-example-point-chart-3.png
Normal file
|
After Width: | Height: | Size: 191 KiB |
BIN
reference/figures/README-example-waffke-plot-1.png
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
reference/figures/README-example-waffle-plot-1.png
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
reference/figures/logo.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
127
reference/index.html
Normal file
|
|
@ -0,0 +1,127 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Package index • visualizeR</title><!-- favicons --><link rel="icon" type="image/png" sizes="96x96" href="../favicon-96x96.png"><link rel="icon" type="”image/svg+xml”" href="../favicon.svg"><link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png"><link rel="icon" sizes="any" href="../favicon.ico"><link rel="manifest" href="../site.webmanifest"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Package index"><meta property="og:image" content="https://gnoblet.github.io/visualizeR/logo.png"></head><body>
|
||||
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
||||
|
||||
|
||||
<nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">visualizeR</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.0</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div id="navbar" class="collapse navbar-collapse ms-3">
|
||||
<ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<button class="nav-link dropdown-toggle" type="button" id="dropdown-articles" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Articles</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdown-articles"><li><a class="dropdown-item" href="../articles/bar_charts.html">Bar charts</a></li>
|
||||
</ul></li>
|
||||
<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
|
||||
</ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
|
||||
<input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
|
||||
<li class="nav-item"><a class="external-link nav-link" href="https://github.com/gnoblet/visualizeR/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
|
||||
</ul></div>
|
||||
|
||||
|
||||
</div>
|
||||
</nav><div class="container template-reference-index">
|
||||
<div class="row">
|
||||
<main id="main" class="col-md-9"><div class="page-header">
|
||||
<img src="../logo.png" class="logo" alt=""><h1>Package index</h1>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="all-functions">All functions<a class="anchor" aria-label="anchor" href="#all-functions"></a></h2>
|
||||
|
||||
|
||||
|
||||
|
||||
</div><div class="section level2">
|
||||
|
||||
|
||||
|
||||
|
||||
<dl><dt>
|
||||
|
||||
<code><a href="bar.html">hbar()</a></code> <code><a href="bar.html">bar()</a></code>
|
||||
|
||||
</dt>
|
||||
<dd>Simple bar chart</dd>
|
||||
</dl><dl><dt>
|
||||
|
||||
<code><a href="check_vars_in_df.html">check_vars_in_df()</a></code>
|
||||
|
||||
</dt>
|
||||
<dd>Check if variables are in data frame</dd>
|
||||
</dl><dl><dt>
|
||||
|
||||
<code><a href="color.html">color()</a></code> <code><a href="color.html">color_pattern()</a></code>
|
||||
|
||||
</dt>
|
||||
<dd>Helpers to extract defined colors as hex codes</dd>
|
||||
</dl><dl><dt>
|
||||
|
||||
<code><a href="dumbbell.html">dumbbell()</a></code>
|
||||
|
||||
</dt>
|
||||
<dd>Make dumbbell chart.</dd>
|
||||
</dl><dl><dt>
|
||||
|
||||
<code><a href="palette.html">palette()</a></code>
|
||||
|
||||
</dt>
|
||||
<dd>Interpolate a color palette</dd>
|
||||
</dl><dl><dt>
|
||||
|
||||
<code><a href="palette_gen.html">palette_gen()</a></code> <code><a href="palette_gen.html">palette_gen_categorical()</a></code> <code><a href="palette_gen.html">palette_gen_sequential()</a></code>
|
||||
|
||||
</dt>
|
||||
<dd>Generate color palettes</dd>
|
||||
</dl><dl><dt>
|
||||
|
||||
<code><a href="point.html">point()</a></code>
|
||||
|
||||
</dt>
|
||||
<dd>Simple scatterplot</dd>
|
||||
</dl><dl><dt>
|
||||
|
||||
<code><a href="reorder_by.html">reorder_by()</a></code>
|
||||
|
||||
</dt>
|
||||
<dd>Reorder a Data Frame</dd>
|
||||
</dl><dl><dt>
|
||||
|
||||
<code><a href="scale_color_visualizer_discrete.html">scale_color_visualizer_discrete()</a></code> <code><a href="scale_color_visualizer_discrete.html">scale_fill_visualizer_discrete()</a></code> <code><a href="scale_color_visualizer_discrete.html">scale_fill_visualizer_continuous()</a></code> <code><a href="scale_color_visualizer_discrete.html">scale_color_visualizer_continuous()</a></code>
|
||||
|
||||
</dt>
|
||||
<dd>Scale constructors for fill and colors</dd>
|
||||
</dl><dl><dt>
|
||||
|
||||
<code><a href="theme_default.html">theme_bar()</a></code> <code><a href="theme_default.html">theme_default()</a></code> <code><a href="theme_default.html">theme_dumbbell()</a></code> <code><a href="theme_default.html">theme_point()</a></code>
|
||||
|
||||
</dt>
|
||||
<dd>Custom Theme for Bar Charts</dd>
|
||||
</dl></div>
|
||||
</main></div>
|
||||
|
||||
|
||||
<footer><div class="pkgdown-footer-left">
|
||||
<p>Developed by Noblet Guillaume.</p>
|
||||
</div>
|
||||
|
||||
<div class="pkgdown-footer-right">
|
||||
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.3.</p>
|
||||
</div>
|
||||
|
||||
</footer></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
|
||||
92
reference/palette.html
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Interpolate a color palette — palette • visualizeR</title><!-- favicons --><link rel="icon" type="image/png" sizes="96x96" href="../favicon-96x96.png"><link rel="icon" type="”image/svg+xml”" href="../favicon.svg"><link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png"><link rel="icon" sizes="any" href="../favicon.ico"><link rel="manifest" href="../site.webmanifest"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Interpolate a color palette — palette"><meta name="description" content="Interpolate a color palette"><meta property="og:description" content="Interpolate a color palette"><meta property="og:image" content="https://gnoblet.github.io/visualizeR/logo.png"></head><body>
|
||||
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
||||
|
||||
|
||||
<nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">visualizeR</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.0</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div id="navbar" class="collapse navbar-collapse ms-3">
|
||||
<ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<button class="nav-link dropdown-toggle" type="button" id="dropdown-articles" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Articles</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdown-articles"><li><a class="dropdown-item" href="../articles/bar_charts.html">Bar charts</a></li>
|
||||
</ul></li>
|
||||
<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
|
||||
</ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
|
||||
<input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
|
||||
<li class="nav-item"><a class="external-link nav-link" href="https://github.com/gnoblet/visualizeR/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
|
||||
</ul></div>
|
||||
|
||||
|
||||
</div>
|
||||
</nav><div class="container template-reference-topic">
|
||||
<div class="row">
|
||||
<main id="main" class="col-md-9"><div class="page-header">
|
||||
<img src="../logo.png" class="logo" alt=""><h1>Interpolate a color palette</h1>
|
||||
<small class="dont-index">Source: <a href="https://github.com/gnoblet/visualizeR/blob/main/R/palette.R" class="external-link"><code>R/palette.R</code></a></small>
|
||||
<div class="d-none name"><code>palette.Rd</code></div>
|
||||
</div>
|
||||
|
||||
<div class="ref-description section level2">
|
||||
<p>Interpolate a color palette</p>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">palette</span><span class="op">(</span>palette <span class="op">=</span> <span class="st">"cat_5_main"</span>, reverse <span class="op">=</span> <span class="cn">FALSE</span>, show_palettes <span class="op">=</span> <span class="cn">FALSE</span>, <span class="va">...</span><span class="op">)</span></span></code></pre></div>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
|
||||
|
||||
|
||||
<dl><dt id="arg-palette">palette<a class="anchor" aria-label="anchor" href="#arg-palette"></a></dt>
|
||||
<dd><p>Character name of a palette in palettes</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-reverse">reverse<a class="anchor" aria-label="anchor" href="#arg-reverse"></a></dt>
|
||||
<dd><p>Boolean indicating whether the palette should be reversed</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-show-palettes">show_palettes<a class="anchor" aria-label="anchor" href="#arg-show-palettes"></a></dt>
|
||||
<dd><p>Should the ouput be the set of palettes names to pick from? Default to `FALSE`</p></dd>
|
||||
|
||||
|
||||
<dt id="arg--">...<a class="anchor" aria-label="anchor" href="#arg--"></a></dt>
|
||||
<dd><p>Additional arguments to pass to colorRampPalette()</p></dd>
|
||||
|
||||
</dl></div>
|
||||
<div class="section level2">
|
||||
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
|
||||
<p>A color palette</p>
|
||||
</div>
|
||||
|
||||
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
||||
</nav></aside></div>
|
||||
|
||||
|
||||
<footer><div class="pkgdown-footer-left">
|
||||
<p>Developed by Noblet Guillaume.</p>
|
||||
</div>
|
||||
|
||||
<div class="pkgdown-footer-right">
|
||||
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.3.</p>
|
||||
</div>
|
||||
|
||||
</footer></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
|
||||
92
reference/palette_gen.html
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Generate color palettes — palette_gen • visualizeR</title><!-- favicons --><link rel="icon" type="image/png" sizes="96x96" href="../favicon-96x96.png"><link rel="icon" type="”image/svg+xml”" href="../favicon.svg"><link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png"><link rel="icon" sizes="any" href="../favicon.ico"><link rel="manifest" href="../site.webmanifest"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Generate color palettes — palette_gen"><meta name="description" content="[palette_gen()] generates a color palette and let you choose whether continuous or discrete. [palette_gen_categorical()] and [palette_gen_sequential()] generates respectively discrete and continuous palettes."><meta property="og:description" content="[palette_gen()] generates a color palette and let you choose whether continuous or discrete. [palette_gen_categorical()] and [palette_gen_sequential()] generates respectively discrete and continuous palettes."><meta property="og:image" content="https://gnoblet.github.io/visualizeR/logo.png"></head><body>
|
||||
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
||||
|
||||
|
||||
<nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">visualizeR</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.0</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div id="navbar" class="collapse navbar-collapse ms-3">
|
||||
<ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<button class="nav-link dropdown-toggle" type="button" id="dropdown-articles" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Articles</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdown-articles"><li><a class="dropdown-item" href="../articles/bar_charts.html">Bar charts</a></li>
|
||||
</ul></li>
|
||||
<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
|
||||
</ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
|
||||
<input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
|
||||
<li class="nav-item"><a class="external-link nav-link" href="https://github.com/gnoblet/visualizeR/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
|
||||
</ul></div>
|
||||
|
||||
|
||||
</div>
|
||||
</nav><div class="container template-reference-topic">
|
||||
<div class="row">
|
||||
<main id="main" class="col-md-9"><div class="page-header">
|
||||
<img src="../logo.png" class="logo" alt=""><h1>Generate color palettes</h1>
|
||||
<small class="dont-index">Source: <a href="https://github.com/gnoblet/visualizeR/blob/main/R/palette_gen.R" class="external-link"><code>R/palette_gen.R</code></a></small>
|
||||
<div class="d-none name"><code>palette_gen.Rd</code></div>
|
||||
</div>
|
||||
|
||||
<div class="ref-description section level2">
|
||||
<p>[palette_gen()] generates a color palette and let you choose whether continuous or discrete. [palette_gen_categorical()] and [palette_gen_sequential()] generates respectively discrete and continuous palettes.</p>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">palette_gen</span><span class="op">(</span><span class="va">palette</span>, <span class="va">type</span>, direction <span class="op">=</span> <span class="fl">1</span>, <span class="va">...</span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="fu">palette_gen_categorical</span><span class="op">(</span>palette <span class="op">=</span> <span class="st">"cat_5_main"</span>, direction <span class="op">=</span> <span class="fl">1</span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="fu">palette_gen_sequential</span><span class="op">(</span>palette <span class="op">=</span> <span class="st">"cat_5_main"</span>, direction <span class="op">=</span> <span class="fl">1</span>, <span class="va">...</span><span class="op">)</span></span></code></pre></div>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
|
||||
|
||||
|
||||
<dl><dt id="arg-palette">palette<a class="anchor" aria-label="anchor" href="#arg-palette"></a></dt>
|
||||
<dd><p>Palette name from [palette()].</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-type">type<a class="anchor" aria-label="anchor" href="#arg-type"></a></dt>
|
||||
<dd><p>"categorical" or "sequential" or "divergent".</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-direction">direction<a class="anchor" aria-label="anchor" href="#arg-direction"></a></dt>
|
||||
<dd><p>1 or -1; should the order of colors be reversed?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg--">...<a class="anchor" aria-label="anchor" href="#arg--"></a></dt>
|
||||
<dd><p>Additional arguments to pass to [colorRampPalette()] when type is "continuous".</p></dd>
|
||||
|
||||
</dl></div>
|
||||
|
||||
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
||||
</nav></aside></div>
|
||||
|
||||
|
||||
<footer><div class="pkgdown-footer-left">
|
||||
<p>Developed by Noblet Guillaume.</p>
|
||||
</div>
|
||||
|
||||
<div class="pkgdown-footer-right">
|
||||
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.3.</p>
|
||||
</div>
|
||||
|
||||
</footer></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
|
||||
8
reference/palette_gen_categorical.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=https://gnoblet.github.io/visualizeR/reference/palette_gen.html" />
|
||||
<meta name="robots" content="noindex">
|
||||
<link rel="canonical" href="https://gnoblet.github.io/visualizeR/reference/palette_gen.html">
|
||||
</head>
|
||||
</html>
|
||||
|
||||
8
reference/palette_gen_sequential.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=https://gnoblet.github.io/visualizeR/reference/palette_gen.html" />
|
||||
<meta name="robots" content="noindex">
|
||||
<link rel="canonical" href="https://gnoblet.github.io/visualizeR/reference/palette_gen.html">
|
||||
</head>
|
||||
</html>
|
||||
|
||||
185
reference/point.html
Normal file
|
|
@ -0,0 +1,185 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Simple scatterplot — point • visualizeR</title><!-- favicons --><link rel="icon" type="image/png" sizes="96x96" href="../favicon-96x96.png"><link rel="icon" type="”image/svg+xml”" href="../favicon.svg"><link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png"><link rel="icon" sizes="any" href="../favicon.ico"><link rel="manifest" href="../site.webmanifest"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Simple scatterplot — point"><meta name="description" content="Simple scatterplot"><meta property="og:description" content="Simple scatterplot"><meta property="og:image" content="https://gnoblet.github.io/visualizeR/logo.png"></head><body>
|
||||
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
||||
|
||||
|
||||
<nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">visualizeR</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.0</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div id="navbar" class="collapse navbar-collapse ms-3">
|
||||
<ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<button class="nav-link dropdown-toggle" type="button" id="dropdown-articles" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Articles</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdown-articles"><li><a class="dropdown-item" href="../articles/bar_charts.html">Bar charts</a></li>
|
||||
</ul></li>
|
||||
<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
|
||||
</ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
|
||||
<input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
|
||||
<li class="nav-item"><a class="external-link nav-link" href="https://github.com/gnoblet/visualizeR/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
|
||||
</ul></div>
|
||||
|
||||
|
||||
</div>
|
||||
</nav><div class="container template-reference-topic">
|
||||
<div class="row">
|
||||
<main id="main" class="col-md-9"><div class="page-header">
|
||||
<img src="../logo.png" class="logo" alt=""><h1>Simple scatterplot</h1>
|
||||
<small class="dont-index">Source: <a href="https://github.com/gnoblet/visualizeR/blob/main/R/point.R" class="external-link"><code>R/point.R</code></a></small>
|
||||
<div class="d-none name"><code>point.Rd</code></div>
|
||||
</div>
|
||||
|
||||
<div class="ref-description section level2">
|
||||
<p>Simple scatterplot</p>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">point</span><span class="op">(</span></span>
|
||||
<span> <span class="va">df</span>,</span>
|
||||
<span> <span class="va">x</span>,</span>
|
||||
<span> <span class="va">y</span>,</span>
|
||||
<span> group <span class="op">=</span> <span class="st">""</span>,</span>
|
||||
<span> facet <span class="op">=</span> <span class="st">""</span>,</span>
|
||||
<span> facet_scales <span class="op">=</span> <span class="st">"free"</span>,</span>
|
||||
<span> x_rm_na <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> y_rm_na <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> group_rm_na <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> facet_rm_na <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> add_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"cat_5_main_1"</span><span class="op">)</span>,</span>
|
||||
<span> add_color_guide <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> flip <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> alpha <span class="op">=</span> <span class="fl">1</span>,</span>
|
||||
<span> size <span class="op">=</span> <span class="fl">2</span>,</span>
|
||||
<span> x_title <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> y_title <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> group_title <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> title <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> subtitle <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> caption <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> theme_fun <span class="op">=</span> <span class="fu"><a href="theme_default.html">theme_point</a></span><span class="op">(</span><span class="op">)</span>,</span>
|
||||
<span> scale_fill_fun <span class="op">=</span> <span class="fu"><a href="scale_color_visualizer_discrete.html">scale_fill_visualizer_discrete</a></span><span class="op">(</span><span class="op">)</span>,</span>
|
||||
<span> scale_color_fun <span class="op">=</span> <span class="fu"><a href="scale_color_visualizer_discrete.html">scale_color_visualizer_discrete</a></span><span class="op">(</span><span class="op">)</span></span>
|
||||
<span><span class="op">)</span></span></code></pre></div>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
|
||||
|
||||
|
||||
<dl><dt id="arg-df">df<a class="anchor" aria-label="anchor" href="#arg-df"></a></dt>
|
||||
<dd><p>A data frame.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-x">x<a class="anchor" aria-label="anchor" href="#arg-x"></a></dt>
|
||||
<dd><p>A quoted numeric column.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-y">y<a class="anchor" aria-label="anchor" href="#arg-y"></a></dt>
|
||||
<dd><p>A quoted numeric column.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-group">group<a class="anchor" aria-label="anchor" href="#arg-group"></a></dt>
|
||||
<dd><p>Some quoted grouping categorical column, e.g. administrative areas or population groups.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-facet">facet<a class="anchor" aria-label="anchor" href="#arg-facet"></a></dt>
|
||||
<dd><p>Some quoted grouping categorical column.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-facet-scales">facet_scales<a class="anchor" aria-label="anchor" href="#arg-facet-scales"></a></dt>
|
||||
<dd><p>Character. Either "free" (default) or "fixed" for facet scales.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-x-rm-na">x_rm_na<a class="anchor" aria-label="anchor" href="#arg-x-rm-na"></a></dt>
|
||||
<dd><p>Remove NAs in x?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-y-rm-na">y_rm_na<a class="anchor" aria-label="anchor" href="#arg-y-rm-na"></a></dt>
|
||||
<dd><p>Remove NAs in y?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-group-rm-na">group_rm_na<a class="anchor" aria-label="anchor" href="#arg-group-rm-na"></a></dt>
|
||||
<dd><p>Remove NAs in group?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-facet-rm-na">facet_rm_na<a class="anchor" aria-label="anchor" href="#arg-facet-rm-na"></a></dt>
|
||||
<dd><p>Remove NAs in facet?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-add-color">add_color<a class="anchor" aria-label="anchor" href="#arg-add-color"></a></dt>
|
||||
<dd><p>Add a color to points (if no grouping).</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-add-color-guide">add_color_guide<a class="anchor" aria-label="anchor" href="#arg-add-color-guide"></a></dt>
|
||||
<dd><p>Should a legend be added?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-flip">flip<a class="anchor" aria-label="anchor" href="#arg-flip"></a></dt>
|
||||
<dd><p>TRUE or FALSE.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-alpha">alpha<a class="anchor" aria-label="anchor" href="#arg-alpha"></a></dt>
|
||||
<dd><p>Fill transparency.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-size">size<a class="anchor" aria-label="anchor" href="#arg-size"></a></dt>
|
||||
<dd><p>Point size.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-x-title">x_title<a class="anchor" aria-label="anchor" href="#arg-x-title"></a></dt>
|
||||
<dd><p>The x scale title. Default to NULL.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-y-title">y_title<a class="anchor" aria-label="anchor" href="#arg-y-title"></a></dt>
|
||||
<dd><p>The y scale title. Default to NULL.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-group-title">group_title<a class="anchor" aria-label="anchor" href="#arg-group-title"></a></dt>
|
||||
<dd><p>The group legend title. Default to NULL.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-title">title<a class="anchor" aria-label="anchor" href="#arg-title"></a></dt>
|
||||
<dd><p>Plot title. Default to NULL.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-subtitle">subtitle<a class="anchor" aria-label="anchor" href="#arg-subtitle"></a></dt>
|
||||
<dd><p>Plot subtitle. Default to NULL.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-caption">caption<a class="anchor" aria-label="anchor" href="#arg-caption"></a></dt>
|
||||
<dd><p>Plot caption. Default to NULL.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-theme-fun">theme_fun<a class="anchor" aria-label="anchor" href="#arg-theme-fun"></a></dt>
|
||||
<dd><p>Whatever theme. Default to theme_point(). NULL if no theming needed.</p></dd>
|
||||
|
||||
</dl></div>
|
||||
|
||||
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
||||
</nav></aside></div>
|
||||
|
||||
|
||||
<footer><div class="pkgdown-footer-left">
|
||||
<p>Developed by Noblet Guillaume.</p>
|
||||
</div>
|
||||
|
||||
<div class="pkgdown-footer-right">
|
||||
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.3.</p>
|
||||
</div>
|
||||
|
||||
</footer></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
|
||||
121
reference/reorder_by.html
Normal file
|
|
@ -0,0 +1,121 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Reorder a Data Frame — reorder_by • visualizeR</title><!-- favicons --><link rel="icon" type="image/png" sizes="96x96" href="../favicon-96x96.png"><link rel="icon" type="”image/svg+xml”" href="../favicon.svg"><link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png"><link rel="icon" sizes="any" href="../favicon.ico"><link rel="manifest" href="../site.webmanifest"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Reorder a Data Frame — reorder_by"><meta name="description" content="Reorder a Data Frame"><meta property="og:description" content="Reorder a Data Frame"><meta property="og:image" content="https://gnoblet.github.io/visualizeR/logo.png"></head><body>
|
||||
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
||||
|
||||
|
||||
<nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">visualizeR</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.0</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div id="navbar" class="collapse navbar-collapse ms-3">
|
||||
<ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<button class="nav-link dropdown-toggle" type="button" id="dropdown-articles" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Articles</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdown-articles"><li><a class="dropdown-item" href="../articles/bar_charts.html">Bar charts</a></li>
|
||||
</ul></li>
|
||||
<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
|
||||
</ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
|
||||
<input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
|
||||
<li class="nav-item"><a class="external-link nav-link" href="https://github.com/gnoblet/visualizeR/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
|
||||
</ul></div>
|
||||
|
||||
|
||||
</div>
|
||||
</nav><div class="container template-reference-topic">
|
||||
<div class="row">
|
||||
<main id="main" class="col-md-9"><div class="page-header">
|
||||
<img src="../logo.png" class="logo" alt=""><h1>Reorder a Data Frame</h1>
|
||||
<small class="dont-index">Source: <a href="https://github.com/gnoblet/visualizeR/blob/main/R/reorder_by.R" class="external-link"><code>R/reorder_by.R</code></a></small>
|
||||
<div class="d-none name"><code>reorder_by.Rd</code></div>
|
||||
</div>
|
||||
|
||||
<div class="ref-description section level2">
|
||||
<p>Reorder a Data Frame</p>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">reorder_by</span><span class="op">(</span><span class="va">df</span>, <span class="va">x</span>, <span class="va">y</span>, group <span class="op">=</span> <span class="st">""</span>, order <span class="op">=</span> <span class="st">"y"</span>, dir_order <span class="op">=</span> <span class="fl">1</span><span class="op">)</span></span></code></pre></div>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
|
||||
|
||||
|
||||
<dl><dt id="arg-df">df<a class="anchor" aria-label="anchor" href="#arg-df"></a></dt>
|
||||
<dd><p>A data frame to be reordered.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-x">x<a class="anchor" aria-label="anchor" href="#arg-x"></a></dt>
|
||||
<dd><p>A character scalar specifying the column to be reordered.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-y">y<a class="anchor" aria-label="anchor" href="#arg-y"></a></dt>
|
||||
<dd><p>A character scalar specifying the column to order by if ordering by values.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-group">group<a class="anchor" aria-label="anchor" href="#arg-group"></a></dt>
|
||||
<dd><p>A character scalar specifying the grouping column (optional).</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-order">order<a class="anchor" aria-label="anchor" href="#arg-order"></a></dt>
|
||||
<dd><p>A character scalar specifying the order type (one of "none", "y", "grouped"). See details.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-dir-order">dir_order<a class="anchor" aria-label="anchor" href="#arg-dir-order"></a></dt>
|
||||
<dd><p>A logical scalar specifying whether to flip the order.</p></dd>
|
||||
|
||||
</dl></div>
|
||||
<div class="section level2">
|
||||
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
|
||||
<p>The reordered data frame.</p>
|
||||
</div>
|
||||
<div class="section level2">
|
||||
<h2 id="details">Details<a class="anchor" aria-label="anchor" href="#details"></a></h2>
|
||||
<p>Ordering takes the following possible values:</p>
|
||||
<p>* "none": No reordering.
|
||||
* "y": Order by values of y.
|
||||
* "grouped_y": Order by values of y and group.
|
||||
* "x": Order alphabetically by x.
|
||||
* "grouped_x": Order alphabetically by x and group.</p>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="co"># Example usage</span></span></span>
|
||||
<span class="r-in"><span><span class="va">df</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span>col1 <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"b"</span>, <span class="st">"a"</span>, <span class="st">"c"</span><span class="op">)</span>, col2 <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">10</span>, <span class="fl">25</span>, <span class="fl">3</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="fu">reorder_by</span><span class="op">(</span><span class="va">df</span>, <span class="st">"col1"</span>, <span class="st">"col2"</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> col1 col2</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 1 c 3</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 b 10</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 3 a 25</span>
|
||||
<span class="r-in"><span></span></span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
||||
</nav></aside></div>
|
||||
|
||||
|
||||
<footer><div class="pkgdown-footer-left">
|
||||
<p>Developed by Noblet Guillaume.</p>
|
||||
</div>
|
||||
|
||||
<div class="pkgdown-footer-right">
|
||||
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.3.</p>
|
||||
</div>
|
||||
|
||||
</footer></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
|
||||
8
reference/scale_color_visualizer_continuous.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=https://gnoblet.github.io/visualizeR/reference/scale_color_visualizer_discrete.html" />
|
||||
<meta name="robots" content="noindex">
|
||||
<link rel="canonical" href="https://gnoblet.github.io/visualizeR/reference/scale_color_visualizer_discrete.html">
|
||||
</head>
|
||||
</html>
|
||||
|
||||
118
reference/scale_color_visualizer_discrete.html
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Scale constructors for fill and colors — scale_color_visualizer_discrete • visualizeR</title><!-- favicons --><link rel="icon" type="image/png" sizes="96x96" href="../favicon-96x96.png"><link rel="icon" type="”image/svg+xml”" href="../favicon.svg"><link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png"><link rel="icon" sizes="any" href="../favicon.ico"><link rel="manifest" href="../site.webmanifest"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Scale constructors for fill and colors — scale_color_visualizer_discrete"><meta name="description" content="This function is based on [palette()]. If palette is NULL, the used palette will be magma from gpplot2's viridis scale constructors."><meta property="og:description" content="This function is based on [palette()]. If palette is NULL, the used palette will be magma from gpplot2's viridis scale constructors."><meta property="og:image" content="https://gnoblet.github.io/visualizeR/logo.png"></head><body>
|
||||
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
||||
|
||||
|
||||
<nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">visualizeR</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.0</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div id="navbar" class="collapse navbar-collapse ms-3">
|
||||
<ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<button class="nav-link dropdown-toggle" type="button" id="dropdown-articles" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Articles</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdown-articles"><li><a class="dropdown-item" href="../articles/bar_charts.html">Bar charts</a></li>
|
||||
</ul></li>
|
||||
<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
|
||||
</ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
|
||||
<input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
|
||||
<li class="nav-item"><a class="external-link nav-link" href="https://github.com/gnoblet/visualizeR/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
|
||||
</ul></div>
|
||||
|
||||
|
||||
</div>
|
||||
</nav><div class="container template-reference-topic">
|
||||
<div class="row">
|
||||
<main id="main" class="col-md-9"><div class="page-header">
|
||||
<img src="../logo.png" class="logo" alt=""><h1>Scale constructors for fill and colors</h1>
|
||||
<small class="dont-index">Source: <a href="https://github.com/gnoblet/visualizeR/blob/main/R/scale.R" class="external-link"><code>R/scale.R</code></a></small>
|
||||
<div class="d-none name"><code>scale_color_visualizer_discrete.Rd</code></div>
|
||||
</div>
|
||||
|
||||
<div class="ref-description section level2">
|
||||
<p>This function is based on [palette()]. If palette is NULL, the used palette will be magma from gpplot2's viridis scale constructors.</p>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">scale_color_visualizer_discrete</span><span class="op">(</span></span>
|
||||
<span> palette <span class="op">=</span> <span class="st">"cat_5_main"</span>,</span>
|
||||
<span> direction <span class="op">=</span> <span class="fl">1</span>,</span>
|
||||
<span> reverse_guide <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> title_position <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> <span class="va">...</span></span>
|
||||
<span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="fu">scale_fill_visualizer_discrete</span><span class="op">(</span></span>
|
||||
<span> palette <span class="op">=</span> <span class="st">"cat_5_main"</span>,</span>
|
||||
<span> direction <span class="op">=</span> <span class="fl">1</span>,</span>
|
||||
<span> reverse_guide <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> title_position <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> <span class="va">...</span></span>
|
||||
<span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="fu">scale_fill_visualizer_continuous</span><span class="op">(</span></span>
|
||||
<span> palette <span class="op">=</span> <span class="st">"seq_5_main"</span>,</span>
|
||||
<span> direction <span class="op">=</span> <span class="fl">1</span>,</span>
|
||||
<span> reverse_guide <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> title_position <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> <span class="va">...</span></span>
|
||||
<span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="fu">scale_color_visualizer_continuous</span><span class="op">(</span></span>
|
||||
<span> palette <span class="op">=</span> <span class="st">"seq_5_main"</span>,</span>
|
||||
<span> direction <span class="op">=</span> <span class="fl">1</span>,</span>
|
||||
<span> reverse_guide <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> title_position <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> <span class="va">...</span></span>
|
||||
<span><span class="op">)</span></span></code></pre></div>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
|
||||
|
||||
|
||||
<dl><dt id="arg-palette">palette<a class="anchor" aria-label="anchor" href="#arg-palette"></a></dt>
|
||||
<dd><p>Palette name from [palette()].</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-direction">direction<a class="anchor" aria-label="anchor" href="#arg-direction"></a></dt>
|
||||
<dd><p>1 or -1; should the order of colors be reversed?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-reverse-guide">reverse_guide<a class="anchor" aria-label="anchor" href="#arg-reverse-guide"></a></dt>
|
||||
<dd><p>Boolean indicating whether the guide should be reversed.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg--">...<a class="anchor" aria-label="anchor" href="#arg--"></a></dt>
|
||||
<dd><p>Additional arguments passed to [ggplot2::discrete_scale()] if discrete or [ggplot2::scale_fill_gradient()] if continuous.</p></dd>
|
||||
|
||||
</dl></div>
|
||||
|
||||
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
||||
</nav></aside></div>
|
||||
|
||||
|
||||
<footer><div class="pkgdown-footer-left">
|
||||
<p>Developed by Noblet Guillaume.</p>
|
||||
</div>
|
||||
|
||||
<div class="pkgdown-footer-right">
|
||||
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.3.</p>
|
||||
</div>
|
||||
|
||||
</footer></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
|
||||
8
reference/scale_fill_visualizer_continuous.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=https://gnoblet.github.io/visualizeR/reference/scale_color_visualizer_discrete.html" />
|
||||
<meta name="robots" content="noindex">
|
||||
<link rel="canonical" href="https://gnoblet.github.io/visualizeR/reference/scale_color_visualizer_discrete.html">
|
||||
</head>
|
||||
</html>
|
||||
|
||||
8
reference/scale_fill_visualizer_discrete.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=https://gnoblet.github.io/visualizeR/reference/scale_color_visualizer_discrete.html" />
|
||||
<meta name="robots" content="noindex">
|
||||
<link rel="canonical" href="https://gnoblet.github.io/visualizeR/reference/scale_color_visualizer_discrete.html">
|
||||
</head>
|
||||
</html>
|
||||
|
||||
374
reference/theme_default.html
Normal file
|
|
@ -0,0 +1,374 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Custom Theme for Bar Charts — theme_bar • visualizeR</title><!-- favicons --><link rel="icon" type="image/png" sizes="96x96" href="../favicon-96x96.png"><link rel="icon" type="”image/svg+xml”" href="../favicon.svg"><link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png"><link rel="icon" sizes="any" href="../favicon.ico"><link rel="manifest" href="../site.webmanifest"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Custom Theme for Bar Charts — theme_bar"><meta name="description" content="Give some reach colors and fonts to a ggplot.
|
||||
Theme for dumbbell charts based on theme_default."><meta property="og:description" content="Give some reach colors and fonts to a ggplot.
|
||||
Theme for dumbbell charts based on theme_default."><meta property="og:image" content="https://gnoblet.github.io/visualizeR/logo.png"></head><body>
|
||||
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
||||
|
||||
|
||||
<nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">visualizeR</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.0</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div id="navbar" class="collapse navbar-collapse ms-3">
|
||||
<ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<button class="nav-link dropdown-toggle" type="button" id="dropdown-articles" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Articles</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdown-articles"><li><a class="dropdown-item" href="../articles/bar_charts.html">Bar charts</a></li>
|
||||
</ul></li>
|
||||
<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
|
||||
</ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
|
||||
<input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
|
||||
<li class="nav-item"><a class="external-link nav-link" href="https://github.com/gnoblet/visualizeR/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
|
||||
</ul></div>
|
||||
|
||||
|
||||
</div>
|
||||
</nav><div class="container template-reference-topic">
|
||||
<div class="row">
|
||||
<main id="main" class="col-md-9"><div class="page-header">
|
||||
<img src="../logo.png" class="logo" alt=""><h1>Custom Theme for Bar Charts</h1>
|
||||
<small class="dont-index">Source: <a href="https://github.com/gnoblet/visualizeR/blob/main/R/theme_bar.R" class="external-link"><code>R/theme_bar.R</code></a>, <a href="https://github.com/gnoblet/visualizeR/blob/main/R/theme_default.R" class="external-link"><code>R/theme_default.R</code></a>, <a href="https://github.com/gnoblet/visualizeR/blob/main/R/theme_dumbbell.R" class="external-link"><code>R/theme_dumbbell.R</code></a>, and 1 more</small>
|
||||
<div class="d-none name"><code>theme_default.Rd</code></div>
|
||||
</div>
|
||||
|
||||
<div class="ref-description section level2">
|
||||
<p>Give some reach colors and fonts to a ggplot.</p>
|
||||
<p>Theme for dumbbell charts based on theme_default.</p>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">theme_bar</span><span class="op">(</span></span>
|
||||
<span> flip <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> add_text <span class="op">=</span> <span class="cn">FALSE</span>,</span>
|
||||
<span> axis_text_x_angle <span class="op">=</span> <span class="fl">0</span>,</span>
|
||||
<span> axis_text_x_vjust <span class="op">=</span> <span class="fl">0.5</span>,</span>
|
||||
<span> axis_text_x_hjust <span class="op">=</span> <span class="fl">0.5</span></span>
|
||||
<span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="fu">theme_default</span><span class="op">(</span></span>
|
||||
<span> title_font_family <span class="op">=</span> <span class="st">"Carlito"</span>,</span>
|
||||
<span> title_size <span class="op">=</span> <span class="fl">16</span>,</span>
|
||||
<span> title_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"dark_grey"</span><span class="op">)</span>,</span>
|
||||
<span> title_font_face <span class="op">=</span> <span class="st">"bold"</span>,</span>
|
||||
<span> title_hjust <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> title_position_to_plot <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> subtitle_font_family <span class="op">=</span> <span class="st">"Carlito"</span>,</span>
|
||||
<span> subtitle_size <span class="op">=</span> <span class="fl">15</span>,</span>
|
||||
<span> subtitle_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"dark_grey"</span><span class="op">)</span>,</span>
|
||||
<span> subtitle_font_face <span class="op">=</span> <span class="st">"plain"</span>,</span>
|
||||
<span> subtitle_hjust <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
||||
<span> text_font_family <span class="op">=</span> <span class="st">"Carlito"</span>,</span>
|
||||
<span> text_size <span class="op">=</span> <span class="fl">13</span>,</span>
|
||||
<span> text_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"dark_grey"</span><span class="op">)</span>,</span>
|
||||
<span> text_font_face <span class="op">=</span> <span class="st">"plain"</span>,</span>
|
||||
<span> panel_background_color <span class="op">=</span> <span class="st">"#FFFFFF"</span>,</span>
|
||||
<span> panel_border <span class="op">=</span> <span class="cn">FALSE</span>,</span>
|
||||
<span> panel_border_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"dark_grey"</span><span class="op">)</span>,</span>
|
||||
<span> legend_position <span class="op">=</span> <span class="st">"top"</span>,</span>
|
||||
<span> legend_direction <span class="op">=</span> <span class="st">"horizontal"</span>,</span>
|
||||
<span> legend_justification <span class="op">=</span> <span class="st">"center"</span>,</span>
|
||||
<span> legend_reverse <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> legend_title_size <span class="op">=</span> <span class="fl">13</span>,</span>
|
||||
<span> legend_title_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"dark_grey"</span><span class="op">)</span>,</span>
|
||||
<span> legend_title_font_face <span class="op">=</span> <span class="st">"plain"</span>,</span>
|
||||
<span> legend_title_font_family <span class="op">=</span> <span class="st">"Carlito"</span>,</span>
|
||||
<span> legend_text_size <span class="op">=</span> <span class="fl">13</span>,</span>
|
||||
<span> legend_text_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"dark_grey"</span><span class="op">)</span>,</span>
|
||||
<span> legend_text_font_face <span class="op">=</span> <span class="st">"plain"</span>,</span>
|
||||
<span> legend_text_font_family <span class="op">=</span> <span class="st">"Carlito"</span>,</span>
|
||||
<span> facet_size <span class="op">=</span> <span class="fl">14</span>,</span>
|
||||
<span> facet_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"dark_grey"</span><span class="op">)</span>,</span>
|
||||
<span> facet_font_face <span class="op">=</span> <span class="st">"bold"</span>,</span>
|
||||
<span> facet_font_family <span class="op">=</span> <span class="st">"Carlito"</span>,</span>
|
||||
<span> facet_bg_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"lighter_grey"</span><span class="op">)</span>,</span>
|
||||
<span> axis_x <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> axis_y <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> axis_text_x <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> axis_line_x <span class="op">=</span> <span class="cn">FALSE</span>,</span>
|
||||
<span> axis_ticks_x <span class="op">=</span> <span class="cn">FALSE</span>,</span>
|
||||
<span> axis_text_y <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> axis_line_y <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> axis_ticks_y <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> axis_text_font_family <span class="op">=</span> <span class="st">"Carlito"</span>,</span>
|
||||
<span> axis_text_size <span class="op">=</span> <span class="fl">13</span>,</span>
|
||||
<span> axis_text_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"dark_grey"</span><span class="op">)</span>,</span>
|
||||
<span> axis_text_font_face <span class="op">=</span> <span class="st">"plain"</span>,</span>
|
||||
<span> axis_title_size <span class="op">=</span> <span class="fl">15</span>,</span>
|
||||
<span> axis_title_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"dark_grey"</span><span class="op">)</span>,</span>
|
||||
<span> axis_title_font_face <span class="op">=</span> <span class="st">"plain"</span>,</span>
|
||||
<span> axis_text_x_angle <span class="op">=</span> <span class="fl">0</span>,</span>
|
||||
<span> axis_text_x_vjust <span class="op">=</span> <span class="fl">0.5</span>,</span>
|
||||
<span> axis_text_x_hjust <span class="op">=</span> <span class="fl">0.5</span>,</span>
|
||||
<span> grid_major_x <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> grid_major_y <span class="op">=</span> <span class="cn">FALSE</span>,</span>
|
||||
<span> grid_major_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"dark_grey"</span><span class="op">)</span>,</span>
|
||||
<span> grid_major_x_size <span class="op">=</span> <span class="fl">0.1</span>,</span>
|
||||
<span> grid_major_y_size <span class="op">=</span> <span class="fl">0.1</span>,</span>
|
||||
<span> grid_minor_x <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> grid_minor_y <span class="op">=</span> <span class="cn">FALSE</span>,</span>
|
||||
<span> grid_minor_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"dark_grey"</span><span class="op">)</span>,</span>
|
||||
<span> grid_minor_x_size <span class="op">=</span> <span class="fl">0.05</span>,</span>
|
||||
<span> grid_minor_y_size <span class="op">=</span> <span class="fl">0.05</span>,</span>
|
||||
<span> caption_font_family <span class="op">=</span> <span class="st">"Carlito"</span>,</span>
|
||||
<span> caption_font_face <span class="op">=</span> <span class="st">"plain"</span>,</span>
|
||||
<span> caption_position_to_plot <span class="op">=</span> <span class="cn">TRUE</span>,</span>
|
||||
<span> caption_size <span class="op">=</span> <span class="fl">11</span>,</span>
|
||||
<span> caption_color <span class="op">=</span> <span class="fu"><a href="color.html">color</a></span><span class="op">(</span><span class="st">"dark_grey"</span><span class="op">)</span>,</span>
|
||||
<span> <span class="va">...</span></span>
|
||||
<span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="fu">theme_dumbbell</span><span class="op">(</span><span class="op">)</span></span>
|
||||
<span></span>
|
||||
<span><span class="fu">theme_point</span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
|
||||
|
||||
|
||||
<dl><dt id="arg-flip">flip<a class="anchor" aria-label="anchor" href="#arg-flip"></a></dt>
|
||||
<dd><p>Logical. Whether the plot is flipped (horizonal).</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-axis-text-x-angle">axis_text_x_angle<a class="anchor" aria-label="anchor" href="#arg-axis-text-x-angle"></a></dt>
|
||||
<dd><p>Angle for x-axis text.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-axis-text-x-vjust">axis_text_x_vjust<a class="anchor" aria-label="anchor" href="#arg-axis-text-x-vjust"></a></dt>
|
||||
<dd><p>Vertical justification for x-axis text.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-axis-text-x-hjust">axis_text_x_hjust<a class="anchor" aria-label="anchor" href="#arg-axis-text-x-hjust"></a></dt>
|
||||
<dd><p>Horizontal justification for x-axis text.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-title-font-family">title_font_family<a class="anchor" aria-label="anchor" href="#arg-title-font-family"></a></dt>
|
||||
<dd><p>Title font family. Default to "Roboto Condensed".</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-title-size">title_size<a class="anchor" aria-label="anchor" href="#arg-title-size"></a></dt>
|
||||
<dd><p>The size of the legend title. Defaults to 11.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-title-color">title_color<a class="anchor" aria-label="anchor" href="#arg-title-color"></a></dt>
|
||||
<dd><p>Legend title color.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-title-font-face">title_font_face<a class="anchor" aria-label="anchor" href="#arg-title-font-face"></a></dt>
|
||||
<dd><p>Legend title font face. Default to "plain". Font face ("plain", "italic", "bold", "bold.italic").</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-title-hjust">title_hjust<a class="anchor" aria-label="anchor" href="#arg-title-hjust"></a></dt>
|
||||
<dd><p>Title horizontal justification. Default to NULL. Use 0.5 to center the title.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-title-position-to-plot">title_position_to_plot<a class="anchor" aria-label="anchor" href="#arg-title-position-to-plot"></a></dt>
|
||||
<dd><p>TRUE or FALSE. Positioning to plot or to panel?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-text-size">text_size<a class="anchor" aria-label="anchor" href="#arg-text-size"></a></dt>
|
||||
<dd><p>The size of all text other than the title, subtitle and caption. Defaults to 10.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-text-color">text_color<a class="anchor" aria-label="anchor" href="#arg-text-color"></a></dt>
|
||||
<dd><p>Text color.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-text-font-face">text_font_face<a class="anchor" aria-label="anchor" href="#arg-text-font-face"></a></dt>
|
||||
<dd><p>Text font face. Default to "bold". Font face ("plain", "italic", "bold", "bold.italic").</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-panel-background-color">panel_background_color<a class="anchor" aria-label="anchor" href="#arg-panel-background-color"></a></dt>
|
||||
<dd><p>The color for the panel background color. Default to white.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-panel-border">panel_border<a class="anchor" aria-label="anchor" href="#arg-panel-border"></a></dt>
|
||||
<dd><p>Boolean. Plot a panel border? Default to FALSE.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-panel-border-color">panel_border_color<a class="anchor" aria-label="anchor" href="#arg-panel-border-color"></a></dt>
|
||||
<dd><p>A color. Default to REACH main grey.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-legend-position">legend_position<a class="anchor" aria-label="anchor" href="#arg-legend-position"></a></dt>
|
||||
<dd><p>Position of the legend; Default to "right". Can take "right", "left", "top", "bottom" or "none".</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-legend-direction">legend_direction<a class="anchor" aria-label="anchor" href="#arg-legend-direction"></a></dt>
|
||||
<dd><p>Direction of the legend. Default to "vertical". Can take "vertical" or "horizontal".</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-legend-justification">legend_justification<a class="anchor" aria-label="anchor" href="#arg-legend-justification"></a></dt>
|
||||
<dd><p>In addition to legend_direction, place the legend. Can take "left", "bottom", "center", "right", "top".</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-legend-reverse">legend_reverse<a class="anchor" aria-label="anchor" href="#arg-legend-reverse"></a></dt>
|
||||
<dd><p>Reverse the color in the guide? Default to TRUE.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-legend-title-size">legend_title_size<a class="anchor" aria-label="anchor" href="#arg-legend-title-size"></a></dt>
|
||||
<dd><p>Legend title size.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-legend-title-color">legend_title_color<a class="anchor" aria-label="anchor" href="#arg-legend-title-color"></a></dt>
|
||||
<dd><p>Legend title color.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-legend-title-font-face">legend_title_font_face<a class="anchor" aria-label="anchor" href="#arg-legend-title-font-face"></a></dt>
|
||||
<dd><p>Legend title font face. Default to "plain". Font face ("plain", "italic", "bold", "bold.italic").</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-legend-text-size">legend_text_size<a class="anchor" aria-label="anchor" href="#arg-legend-text-size"></a></dt>
|
||||
<dd><p>Legend text size.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-legend-text-color">legend_text_color<a class="anchor" aria-label="anchor" href="#arg-legend-text-color"></a></dt>
|
||||
<dd><p>Legend text color.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-legend-text-font-face">legend_text_font_face<a class="anchor" aria-label="anchor" href="#arg-legend-text-font-face"></a></dt>
|
||||
<dd><p>Legend text font face. Default to "plain". Font face ("plain", "italic", "bold", "bold.italic").</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-axis-x">axis_x<a class="anchor" aria-label="anchor" href="#arg-axis-x"></a></dt>
|
||||
<dd><p>Boolean. Do you need x-axis?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-axis-y">axis_y<a class="anchor" aria-label="anchor" href="#arg-axis-y"></a></dt>
|
||||
<dd><p>Boolean. Do you need y-axis?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-axis-text-x">axis_text_x<a class="anchor" aria-label="anchor" href="#arg-axis-text-x"></a></dt>
|
||||
<dd><p>Boolean. Do you need the text for the x-axis?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-axis-line-x">axis_line_x<a class="anchor" aria-label="anchor" href="#arg-axis-line-x"></a></dt>
|
||||
<dd><p>Boolean. Do you need the line for the x-axis?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-axis-ticks-x">axis_ticks_x<a class="anchor" aria-label="anchor" href="#arg-axis-ticks-x"></a></dt>
|
||||
<dd><p>Boolean. Do you need the line for the x-axis?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-axis-text-y">axis_text_y<a class="anchor" aria-label="anchor" href="#arg-axis-text-y"></a></dt>
|
||||
<dd><p>Boolean. Do you need the text for the y-axis?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-axis-line-y">axis_line_y<a class="anchor" aria-label="anchor" href="#arg-axis-line-y"></a></dt>
|
||||
<dd><p>Boolean. Do you need the line for the y-axis?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-axis-ticks-y">axis_ticks_y<a class="anchor" aria-label="anchor" href="#arg-axis-ticks-y"></a></dt>
|
||||
<dd><p>Boolean. Do you need the line for the y-axis?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-axis-text-size">axis_text_size<a class="anchor" aria-label="anchor" href="#arg-axis-text-size"></a></dt>
|
||||
<dd><p>Axis text size.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-axis-text-color">axis_text_color<a class="anchor" aria-label="anchor" href="#arg-axis-text-color"></a></dt>
|
||||
<dd><p>Axis text color.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-axis-text-font-face">axis_text_font_face<a class="anchor" aria-label="anchor" href="#arg-axis-text-font-face"></a></dt>
|
||||
<dd><p>Axis text font face. Default to "plain". Font face ("plain", "italic", "bold", "bold.italic").</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-axis-title-size">axis_title_size<a class="anchor" aria-label="anchor" href="#arg-axis-title-size"></a></dt>
|
||||
<dd><p>Axis title size.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-axis-title-color">axis_title_color<a class="anchor" aria-label="anchor" href="#arg-axis-title-color"></a></dt>
|
||||
<dd><p>Axis title color.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-axis-title-font-face">axis_title_font_face<a class="anchor" aria-label="anchor" href="#arg-axis-title-font-face"></a></dt>
|
||||
<dd><p>Axis title font face. Default to "plain". Font face ("plain", "italic", "bold", "bold.italic").</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-grid-major-x">grid_major_x<a class="anchor" aria-label="anchor" href="#arg-grid-major-x"></a></dt>
|
||||
<dd><p>Boolean. Do you need major grid lines for x-axis?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-grid-major-y">grid_major_y<a class="anchor" aria-label="anchor" href="#arg-grid-major-y"></a></dt>
|
||||
<dd><p>Boolean. Do you need major grid lines for y-axis?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-grid-major-color">grid_major_color<a class="anchor" aria-label="anchor" href="#arg-grid-major-color"></a></dt>
|
||||
<dd><p>Major grid lines color.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-grid-major-x-size">grid_major_x_size<a class="anchor" aria-label="anchor" href="#arg-grid-major-x-size"></a></dt>
|
||||
<dd><p>Major X line size.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-grid-major-y-size">grid_major_y_size<a class="anchor" aria-label="anchor" href="#arg-grid-major-y-size"></a></dt>
|
||||
<dd><p>Major Y line size.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-grid-minor-x">grid_minor_x<a class="anchor" aria-label="anchor" href="#arg-grid-minor-x"></a></dt>
|
||||
<dd><p>Boolean. Do you need minor grid lines for x-axis?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-grid-minor-y">grid_minor_y<a class="anchor" aria-label="anchor" href="#arg-grid-minor-y"></a></dt>
|
||||
<dd><p>Boolean. Do you need minor grid lines for y-axis?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-grid-minor-color">grid_minor_color<a class="anchor" aria-label="anchor" href="#arg-grid-minor-color"></a></dt>
|
||||
<dd><p>Minor grid lines color.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-grid-minor-x-size">grid_minor_x_size<a class="anchor" aria-label="anchor" href="#arg-grid-minor-x-size"></a></dt>
|
||||
<dd><p>Minor X line size.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-grid-minor-y-size">grid_minor_y_size<a class="anchor" aria-label="anchor" href="#arg-grid-minor-y-size"></a></dt>
|
||||
<dd><p>Minor Y line size.</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-caption-position-to-plot">caption_position_to_plot<a class="anchor" aria-label="anchor" href="#arg-caption-position-to-plot"></a></dt>
|
||||
<dd><p>TRUE or FALSE. Positioning to plot or to panel?</p></dd>
|
||||
|
||||
|
||||
<dt id="arg--">...<a class="anchor" aria-label="anchor" href="#arg--"></a></dt>
|
||||
<dd><p>Additional arguments passed to [ggplot2::theme()].</p></dd>
|
||||
|
||||
|
||||
<dt id="arg-font-family">font_family<a class="anchor" aria-label="anchor" href="#arg-font-family"></a></dt>
|
||||
<dd><p>The font family for all plot's texts. Default to "Segoe UI".</p></dd>
|
||||
|
||||
</dl></div>
|
||||
<div class="section level2">
|
||||
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
|
||||
<p>A custom theme object.</p>
|
||||
<p>A custom theme object.</p>
|
||||
</div>
|
||||
|
||||
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
||||
</nav></aside></div>
|
||||
|
||||
|
||||
<footer><div class="pkgdown-footer-left">
|
||||
<p>Developed by Noblet Guillaume.</p>
|
||||
</div>
|
||||
|
||||
<div class="pkgdown-footer-right">
|
||||
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.3.</p>
|
||||
</div>
|
||||
|
||||
</footer></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
|
||||
8
reference/theme_dumbbell.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=https://gnoblet.github.io/visualizeR/reference/theme_default.html" />
|
||||
<meta name="robots" content="noindex">
|
||||
<link rel="canonical" href="https://gnoblet.github.io/visualizeR/reference/theme_default.html">
|
||||
</head>
|
||||
</html>
|
||||
|
||||
8
reference/theme_point.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=https://gnoblet.github.io/visualizeR/reference/theme_default.html" />
|
||||
<meta name="robots" content="noindex">
|
||||
<link rel="canonical" href="https://gnoblet.github.io/visualizeR/reference/theme_default.html">
|
||||
</head>
|
||||
</html>
|
||||
|
||||
77
reference/visualizeR-package.html
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>visualizeR: What a color! What a viz! — visualizeR-package • visualizeR</title><!-- favicons --><link rel="icon" type="image/png" sizes="96x96" href="../favicon-96x96.png"><link rel="icon" type="”image/svg+xml”" href="../favicon.svg"><link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png"><link rel="icon" sizes="any" href="../favicon.ico"><link rel="manifest" href="../site.webmanifest"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="visualizeR: What a color! What a viz! — visualizeR-package"><meta name="description" content="
|
||||
It basically provides colors as hex codes, color palettes, and some viz functions (graphs and maps)."><meta property="og:description" content="
|
||||
It basically provides colors as hex codes, color palettes, and some viz functions (graphs and maps)."><meta property="og:image" content="https://gnoblet.github.io/visualizeR/logo.png"></head><body>
|
||||
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
||||
|
||||
|
||||
<nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
|
||||
|
||||
<a class="navbar-brand me-2" href="../index.html">visualizeR</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.0</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div id="navbar" class="collapse navbar-collapse ms-3">
|
||||
<ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<button class="nav-link dropdown-toggle" type="button" id="dropdown-articles" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Articles</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdown-articles"><li><a class="dropdown-item" href="../articles/bar_charts.html">Bar charts</a></li>
|
||||
</ul></li>
|
||||
<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
|
||||
</ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
|
||||
<input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
|
||||
<li class="nav-item"><a class="external-link nav-link" href="https://github.com/gnoblet/visualizeR/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
|
||||
</ul></div>
|
||||
|
||||
|
||||
</div>
|
||||
</nav><div class="container template-reference-topic">
|
||||
<div class="row">
|
||||
<main id="main" class="col-md-9"><div class="page-header">
|
||||
<img src="../logo.png" class="logo" alt=""><h1>visualizeR: What a color! What a viz!</h1>
|
||||
<small class="dont-index">Source: <a href="https://github.com/gnoblet/visualizeR/blob/main/R/visualizeR-package.R" class="external-link"><code>R/visualizeR-package.R</code></a></small>
|
||||
<div class="d-none name"><code>visualizeR-package.Rd</code></div>
|
||||
</div>
|
||||
|
||||
<div class="ref-description section level2">
|
||||
<p></p>
|
||||
<p>It basically provides colors as hex codes, color palettes, and some viz functions (graphs and maps).</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="see-also">See also<a class="anchor" aria-label="anchor" href="#see-also"></a></h2>
|
||||
<div class="dont-index"><p>Useful links:</p><ul><li><p><a href="https://github.com/gnoblet/visualizeR" class="external-link">https://github.com/gnoblet/visualizeR</a></p></li>
|
||||
<li><p><a href="https://gnoblet.github.io/visualizeR/">https://gnoblet.github.io/visualizeR/</a></p></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<div class="section level2">
|
||||
<h2 id="author">Author<a class="anchor" aria-label="anchor" href="#author"></a></h2>
|
||||
<p><strong>Maintainer</strong>: Noblet Guillaume <a href="mailto:gnoblet@zaclys.net">gnoblet@zaclys.net</a></p>
|
||||
</div>
|
||||
|
||||
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
|
||||
</nav></aside></div>
|
||||
|
||||
|
||||
<footer><div class="pkgdown-footer-left">
|
||||
<p>Developed by Noblet Guillaume.</p>
|
||||
</div>
|
||||
|
||||
<div class="pkgdown-footer-right">
|
||||
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.3.</p>
|
||||
</div>
|
||||
|
||||
</footer></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
|
||||
8
reference/visualizeR.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=https://gnoblet.github.io/visualizeR/reference/visualizeR-package.html" />
|
||||
<meta name="robots" content="noindex">
|
||||
<link rel="canonical" href="https://gnoblet.github.io/visualizeR/reference/visualizeR-package.html">
|
||||
</head>
|
||||
</html>
|
||||
|
||||