mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2024-12-04 18:11:53 +01:00
Deploying to gh-pages from @ agdamsbo/REDCapCAST@053c4447ad 🚀
This commit is contained in:
parent
90ec2c7778
commit
c9a65bfc2a
@ -344,12 +344,6 @@ based on a set threshold for unique values:</p>
|
||||
<code class="sourceCode R"><span><span class="va">ds_parsed</span><span class="op">|></span></span>
|
||||
<span> <span class="fu"><a href="../reference/numchar2fct.html">numchar2fct</a></span><span class="op">(</span>numeric.threshold <span class="op">=</span> <span class="fl">2</span><span class="op">)</span> <span class="op">|></span></span>
|
||||
<span> <span class="fu"><a href="https://rdrr.io/r/utils/str.html" class="external-link">str</a></span><span class="op">(</span><span class="op">)</span></span>
|
||||
<span><span class="co">#> Warning: There were 13 warnings in `dplyr::mutate()`.</span></span>
|
||||
<span><span class="co">#> The first warning was:</span></span>
|
||||
<span><span class="co">#> <span style="color: #00BBBB;">ℹ</span> In argument: `dplyr::across(...)`.</span></span>
|
||||
<span><span class="co">#> Caused by warning in `.roman2numeric()`:</span></span>
|
||||
<span><span class="co">#> <span style="color: #BBBB00;">!</span> invalid roman numerals: inclusion inclusion follow1 follow1 inclusion follow1 follow2 follow1 follow1 follow2 follow2 follow2 inclusion follow1 follow2 follow1 follow1 follow2 follow2 follow2 inclusion follow1 follow1 follow1 inclusion</span></span>
|
||||
<span><span class="co">#> <span style="color: #00BBBB;">ℹ</span> Run `dplyr::last_dplyr_warnings()` to see the 12 remaining warnings.</span></span>
|
||||
<span><span class="co">#> tibble [25 × 27] (S3: tbl_df/tbl/data.frame)</span></span>
|
||||
<span><span class="co">#> $ record_id : num [1:25] 1 2 2 2 3 3 3 3 3 3 ...</span></span>
|
||||
<span><span class="co">#> $ redcap_event_name : Factor w/ 3 levels "inclusion","follow1",..: 1 1 2 2 1 2 3 2 2 3 ...</span></span>
|
||||
|
@ -5,7 +5,7 @@ articles:
|
||||
Database-creation: Database-creation.html
|
||||
REDCapCAST: REDCapCAST.html
|
||||
Shiny-app: Shiny-app.html
|
||||
last_built: 2024-11-27T09:45Z
|
||||
last_built: 2024-11-27T15:00Z
|
||||
urls:
|
||||
reference: https://agdamsbo.github.io/REDCapCAST/reference
|
||||
article: https://agdamsbo.github.io/REDCapCAST/articles
|
||||
|
@ -132,7 +132,6 @@ To avoid redundancy calls and errors, functions are copy-pasted here</p>
|
||||
<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"># will preserve all attributes</span></span></span>
|
||||
<span class="r-in"><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">1</span>, <span class="fl">4</span>, <span class="fl">3</span>, <span class="st">"A"</span>, <span class="fl">7</span>, <span class="fl">8</span>, <span class="fl">1</span><span class="op">)</span> <span class="op">|></span> <span class="fu">as_factor</span><span class="op">(</span><span class="op">)</span></span></span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> <span class="warning">Warning: </span>invalid roman numeral: A</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 1 4 3 A 7 8 1</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Levels: 1 4 3 A 7 8</span>
|
||||
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/structure.html" class="external-link">structure</a></span><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">1</span>, <span class="fl">2</span>, <span class="fl">3</span>, <span class="fl">2</span>, <span class="fl">10</span>, <span class="fl">9</span><span class="op">)</span>,</span></span>
|
||||
|
@ -65,7 +65,6 @@
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><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">1</span>, <span class="fl">4</span>, <span class="fl">3</span>, <span class="st">"A"</span>, <span class="fl">7</span>, <span class="fl">8</span>, <span class="fl">1</span><span class="op">)</span> <span class="op">|></span></span></span>
|
||||
<span class="r-in"><span> <span class="fu"><a href="as_factor.html">as_factor</a></span><span class="op">(</span><span class="op">)</span> <span class="op">|></span></span></span>
|
||||
<span class="r-in"><span> <span class="fu">fct2num</span><span class="op">(</span><span class="op">)</span></span></span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> <span class="warning">Warning: </span>invalid roman numeral: A</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] 1 2 3 4 5 6 1</span>
|
||||
<span class="r-in"><span></span></span>
|
||||
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/structure.html" class="external-link">structure</a></span><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">1</span>, <span class="fl">2</span>, <span class="fl">3</span>, <span class="fl">2</span>, <span class="fl">10</span>, <span class="fl">9</span><span class="op">)</span>,</span></span>
|
||||
|
@ -80,7 +80,6 @@ factoring, but levels character vectors in order of appearance.</p>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Length Class Mode </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 20 character character </span>
|
||||
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="va">letters</span><span class="op">[</span><span class="fl">1</span><span class="op">:</span><span class="fl">4</span><span class="op">]</span>, <span class="fl">20</span>, <span class="cn">TRUE</span><span class="op">)</span> <span class="op">|></span> <span class="fu">var2fct</span><span class="op">(</span><span class="fl">6</span><span class="op">)</span></span></span>
|
||||
<span class="r-wrn co"><span class="r-pr">#></span> <span class="warning">Warning: </span>invalid roman numerals: a b a a a a b</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] c d c d a b d a d c a d a c c a b c d c</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> Levels: c d a b</span>
|
||||
</code></pre></div>
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user