-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Quarto GHA Workflow Runner
committed
May 29, 2024
1 parent
ca0a0e5
commit 9a7cd02
Showing
10 changed files
with
44 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
9b0a2ea1 | ||
3ec7f6c3 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -204,6 +204,7 @@ <h1 class="title">Factors with forcats :: Cheatsheet</h1> | |
</p> | ||
<ul> | ||
<li><a href="../translations/japanese/factors_ja.pdf"><i class="bi bi-file-pdf"></i>Japanese</a></li> | ||
<li><a href="../translations/portuguese/factors_pt_br.pdf"><i class="bi bi-file-pdf"></i>Portuguese</a></li> | ||
<li><a href="../translations/spanish/factors_es.pdf"><i class="bi bi-file-pdf"></i>Spanish</a></li> | ||
</ul> | ||
</div></div><p>The <strong>forcats</strong> package provides tools for working with factors, which are R’s data structure for categorical data.</p> | ||
|
@@ -368,7 +369,7 @@ <h2 class="anchored" data-anchor-id="add-or-drop-levels">Add or drop levels</h2> | |
<hr> | ||
<p>CC BY SA Posit Software, PBC • <a href="mailto:[email protected]">[email protected]</a> • <a href="https://posit.co">posit.co</a></p> | ||
<p>Learn more at <a href="https://forcats.tidyverse.org">forcats.tidyverse.org</a>.</p> | ||
<p>Updated: 2023-06.</p> | ||
<p>Updated: 2024-05.</p> | ||
<div class="cell"> | ||
<div class="sourceCode cell-code" id="cb27"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb27-1"><a href="#cb27-1" aria-hidden="true" tabindex="-1"></a><span class="fu">packageVersion</span>(<span class="st">"forcats"</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div> | ||
<div class="cell-output cell-output-stdout"> | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -522,7 +522,7 @@ | |
"href": "html/factors.html", | ||
"title": "Factors with forcats :: Cheatsheet", | ||
"section": "", | ||
"text": "Download PDF\n\n \n\nTranslations (PDF)\n\n\nJapanese\nSpanish\nThe forcats package provides tools for working with factors, which are R’s data structure for categorical data.\nlibrary(forcats)" | ||
"text": "Download PDF\n\n \n\nTranslations (PDF)\n\n\nJapanese\nPortuguese\nSpanish\nThe forcats package provides tools for working with factors, which are R’s data structure for categorical data.\nlibrary(forcats)" | ||
}, | ||
{ | ||
"objectID": "html/factors.html#factors", | ||
|
@@ -564,7 +564,7 @@ | |
"href": "html/factors.html#add-or-drop-levels", | ||
"title": "Factors with forcats :: Cheatsheet", | ||
"section": "Add or drop levels", | ||
"text": "Add or drop levels\n\nfct_drop(f, only): Drop unused levels.\n\nf5 <- factor(c(\"a\",\"b\"),c(\"a\",\"b\",\"x\"))\nf6 <- fct_drop(f5)\n\nfct_expand(f, ...): Add levels to a factor.\n\nfct_expand(f6, \"x\")\n\nfct_na_value_to_level(f, level = \"(Missing)\"): Assigns a level to NAs to ensure they appear in plots, etc.\n\nf <- factor(c(\"a\", \"b\", NA))\nfct_na_value_to_level(f, level = \"(Missing)\")\n\n\n\nCC BY SA Posit Software, PBC • [email protected] • posit.co\nLearn more at forcats.tidyverse.org.\nUpdated: 2023-06.\n\npackageVersion(\"forcats\")\n\n[1] '1.0.0'" | ||
"text": "Add or drop levels\n\nfct_drop(f, only): Drop unused levels.\n\nf5 <- factor(c(\"a\",\"b\"),c(\"a\",\"b\",\"x\"))\nf6 <- fct_drop(f5)\n\nfct_expand(f, ...): Add levels to a factor.\n\nfct_expand(f6, \"x\")\n\nfct_na_value_to_level(f, level = \"(Missing)\"): Assigns a level to NAs to ensure they appear in plots, etc.\n\nf <- factor(c(\"a\", \"b\", NA))\nfct_na_value_to_level(f, level = \"(Missing)\")\n\n\n\nCC BY SA Posit Software, PBC • [email protected] • posit.co\nLearn more at forcats.tidyverse.org.\nUpdated: 2024-05.\n\npackageVersion(\"forcats\")\n\n[1] '1.0.0'" | ||
}, | ||
{ | ||
"objectID": "html/data-transformation.html", | ||
|
Oops, something went wrong.