Skip to content

Commit adb168e

Browse files
committed
clean up declared dependencies
1 parent 260d734 commit adb168e

18 files changed

+171
-325
lines changed

DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ Suggests:
1818
knitr,
1919
parallel,
2020
rmarkdown,
21-
dplyr
21+
dplyr,
22+
ggplot2
2223
LazyData: true
2324
VignetteBuilder: knitr
2425
RoxygenNote: 5.0.1

cran-comments.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,8 @@
77
* using R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
88
* using platform: x86_64-apple-darwin14.5.0 (64-bit)
99

10-
There were no ERRORs, or WARNINGSs.
11-
12-
There was one NOTE:
13-
14-
* checking for unstated dependencies in vignettes ... NOTE
15-
'::' or ':::' import not declared from: ‘caret’
16-
'library' or 'require' calls not declared from:
17-
‘caret’ ‘ggplot2’
18-
19-
20-
Both of the above calls are guarded by requireNamespace calls are are
21-
there to illustrate how a user can use the additional caret or ggplot2
22-
packages. caret and ggplot2 are not used (even optionally) in the
23-
vtreat package, other than being also present in some unit tests
24-
(again optional and to test things for users using caret or
25-
data.table). These packages are deliberately not in suggests as the
26-
vtreat package does not use them or even optionally alter its behavior
27-
if they are available.
28-
10+
R CMD check results
11+
0 errors | 0 warnings | 0 notes
2912

3013

3114
Note_to_CRAN_maintainers

inst/doc/vtreat.html

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<meta name="author" content="John Mount, Nina Zumel" />
1414

15-
<meta name="date" content="2016-06-27" />
15+
<meta name="date" content="2016-07-11" />
1616

1717
<title>vtreat package</title>
1818

@@ -70,7 +70,7 @@
7070

7171
<h1 class="title toc-ignore">vtreat package</h1>
7272
<h4 class="author"><em>John Mount, Nina Zumel</em></h4>
73-
<h4 class="date"><em>2016-06-27</em></h4>
73+
<h4 class="date"><em>2016-07-11</em></h4>
7474

7575

7676

@@ -138,13 +138,13 @@ <h2>A Categorical Outcome Example</h2>
138138
## 3 c 30
139139
## 4 &lt;NA&gt; NA</code></pre>
140140
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">treatmentsC &lt;-<span class="st"> </span><span class="kw">designTreatmentsC</span>(dTrainC,<span class="kw">colnames</span>(dTrainC),<span class="st">'y'</span>,<span class="ot">TRUE</span>)</code></pre></div>
141-
<pre><code>## [1] &quot;desigining treatments Mon Jun 27 08:57:28 2016&quot;
142-
## [1] &quot;design var x Mon Jun 27 08:57:28 2016&quot;
143-
## [1] &quot;design var z Mon Jun 27 08:57:28 2016&quot;
144-
## [1] &quot;scoring treatments Mon Jun 27 08:57:28 2016&quot;
145-
## [1] &quot;have treatment plan Mon Jun 27 08:57:28 2016&quot;
146-
## [1] &quot;rescoring complex variables Mon Jun 27 08:57:28 2016&quot;
147-
## [1] &quot;done rescoring complex variables Mon Jun 27 08:57:28 2016&quot;</code></pre>
141+
<pre><code>## [1] &quot;desigining treatments Mon Jul 11 10:06:51 2016&quot;
142+
## [1] &quot;design var x Mon Jul 11 10:06:51 2016&quot;
143+
## [1] &quot;design var z Mon Jul 11 10:06:51 2016&quot;
144+
## [1] &quot;scoring treatments Mon Jul 11 10:06:51 2016&quot;
145+
## [1] &quot;have treatment plan Mon Jul 11 10:06:51 2016&quot;
146+
## [1] &quot;rescoring complex variables Mon Jul 11 10:06:51 2016&quot;
147+
## [1] &quot;done rescoring complex variables Mon Jul 11 10:06:51 2016&quot;</code></pre>
148148
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">print</span>(treatmentsC)</code></pre></div>
149149
<pre><code>## $treatments
150150
## $treatments[[1]]
@@ -184,15 +184,18 @@ <h2>A Categorical Outcome Example</h2>
184184
## $outcomename
185185
## [1] &quot;y&quot;
186186
##
187+
## $vtreatVersion
188+
## [1] '0.5.26'
189+
##
190+
## $splitmethod
191+
## [1] &quot;oneway&quot;
192+
##
187193
## $outcomeTarget
188194
## [1] TRUE
189195
##
190196
## $outcomeType
191197
## [1] &quot;Binary&quot;
192198
##
193-
## $vtreatVersion
194-
## [1] '0.5.26'
195-
##
196199
## attr(,&quot;class&quot;)
197200
## [1] &quot;treatmentplan&quot;</code></pre>
198201
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">print</span>(treatmentsC$treatments[[<span class="dv">1</span>]])</code></pre></div>
@@ -259,13 +262,13 @@ <h2>A Numeric Outcome Example</h2>
259262
## 3 c 30
260263
## 4 &lt;NA&gt; NA</code></pre>
261264
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">treatmentsN =<span class="st"> </span><span class="kw">designTreatmentsN</span>(dTrainN,<span class="kw">colnames</span>(dTrainN),<span class="st">'y'</span>)</code></pre></div>
262-
<pre><code>## [1] &quot;desigining treatments Mon Jun 27 08:57:28 2016&quot;
263-
## [1] &quot;design var x Mon Jun 27 08:57:28 2016&quot;
264-
## [1] &quot;design var z Mon Jun 27 08:57:28 2016&quot;
265-
## [1] &quot;scoring treatments Mon Jun 27 08:57:28 2016&quot;
266-
## [1] &quot;have treatment plan Mon Jun 27 08:57:28 2016&quot;
267-
## [1] &quot;rescoring complex variables Mon Jun 27 08:57:28 2016&quot;
268-
## [1] &quot;done rescoring complex variables Mon Jun 27 08:57:28 2016&quot;</code></pre>
265+
<pre><code>## [1] &quot;desigining treatments Mon Jul 11 10:06:51 2016&quot;
266+
## [1] &quot;design var x Mon Jul 11 10:06:51 2016&quot;
267+
## [1] &quot;design var z Mon Jul 11 10:06:51 2016&quot;
268+
## [1] &quot;scoring treatments Mon Jul 11 10:06:51 2016&quot;
269+
## [1] &quot;have treatment plan Mon Jul 11 10:06:51 2016&quot;
270+
## [1] &quot;rescoring complex variables Mon Jul 11 10:06:51 2016&quot;
271+
## [1] &quot;done rescoring complex variables Mon Jul 11 10:06:51 2016&quot;</code></pre>
269272
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">print</span>(treatmentsN)</code></pre></div>
270273
<pre><code>## $treatments
271274
## $treatments[[1]]
@@ -310,12 +313,15 @@ <h2>A Numeric Outcome Example</h2>
310313
## $outcomename
311314
## [1] &quot;y&quot;
312315
##
313-
## $outcomeType
314-
## [1] &quot;Numeric&quot;
315-
##
316316
## $vtreatVersion
317317
## [1] '0.5.26'
318318
##
319+
## $splitmethod
320+
## [1] &quot;oneway&quot;
321+
##
322+
## $outcomeType
323+
## [1] &quot;Numeric&quot;
324+
##
319325
## attr(,&quot;class&quot;)
320326
## [1] &quot;treatmentplan&quot;</code></pre>
321327
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">dTrainNTreated &lt;-<span class="st"> </span><span class="kw">prepare</span>(treatmentsN,dTrainN,

inst/doc/vtreatCrossFrames.html

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<meta name="author" content="John Mount, Nina Zumel" />
1414

15-
<meta name="date" content="2016-06-27" />
15+
<meta name="date" content="2016-07-11" />
1616

1717
<title>vtreat cross frames</title>
1818

@@ -70,7 +70,7 @@
7070

7171
<h1 class="title toc-ignore">vtreat cross frames</h1>
7272
<h4 class="author"><em>John Mount, Nina Zumel</em></h4>
73-
<h4 class="date"><em>2016-06-27</em></h4>
73+
<h4 class="date"><em>2016-07-11</em></h4>
7474

7575

7676

@@ -117,16 +117,16 @@ <h2>The Wrong Way</h2>
117117
<span class="st">'y'</span>,<span class="ot">TRUE</span>,
118118
<span class="dt">rareCount=</span><span class="dv">0</span> <span class="co"># Note: usually want rareCount&gt;0, setting to zero to illustrate problem</span>
119119
)</code></pre></div>
120-
<pre><code>## [1] &quot;desigining treatments Mon Jun 27 08:57:29 2016&quot;
121-
## [1] &quot;design var xBad1 Mon Jun 27 08:57:29 2016&quot;
122-
## [1] &quot;design var xBad2 Mon Jun 27 08:57:29 2016&quot;
123-
## [1] &quot;design var xBad3 Mon Jun 27 08:57:29 2016&quot;
124-
## [1] &quot;design var xGood1 Mon Jun 27 08:57:29 2016&quot;
125-
## [1] &quot;design var xGood2 Mon Jun 27 08:57:29 2016&quot;
126-
## [1] &quot;scoring treatments Mon Jun 27 08:57:29 2016&quot;
127-
## [1] &quot;have treatment plan Mon Jun 27 08:57:29 2016&quot;
128-
## [1] &quot;rescoring complex variables Mon Jun 27 08:57:29 2016&quot;
129-
## [1] &quot;done rescoring complex variables Mon Jun 27 08:57:29 2016&quot;</code></pre>
120+
<pre><code>## [1] &quot;desigining treatments Mon Jul 11 10:06:52 2016&quot;
121+
## [1] &quot;design var xBad1 Mon Jul 11 10:06:52 2016&quot;
122+
## [1] &quot;design var xBad2 Mon Jul 11 10:06:52 2016&quot;
123+
## [1] &quot;design var xBad3 Mon Jul 11 10:06:52 2016&quot;
124+
## [1] &quot;design var xGood1 Mon Jul 11 10:06:52 2016&quot;
125+
## [1] &quot;design var xGood2 Mon Jul 11 10:06:52 2016&quot;
126+
## [1] &quot;scoring treatments Mon Jul 11 10:06:52 2016&quot;
127+
## [1] &quot;have treatment plan Mon Jul 11 10:06:52 2016&quot;
128+
## [1] &quot;rescoring complex variables Mon Jul 11 10:06:52 2016&quot;
129+
## [1] &quot;done rescoring complex variables Mon Jul 11 10:06:52 2016&quot;</code></pre>
130130
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">dTrainTreated &lt;-<span class="st"> </span>vtreat::<span class="kw">prepare</span>(treatments,dTrain,
131131
<span class="dt">pruneSig=</span><span class="kw">c</span>() <span class="co"># Note: usually want pruneSig to be a small fraction, setting to null to illustrate problems</span>
132132
)
@@ -195,16 +195,16 @@ <h2>The Right Way: A Calibration Set</h2>
195195
<span class="st">'y'</span>,<span class="ot">TRUE</span>,
196196
<span class="dt">rareCount=</span><span class="dv">0</span> <span class="co"># Note: usually want rareCount&gt;0, setting to zero to illustrate problem</span>
197197
)</code></pre></div>
198-
<pre><code>## [1] &quot;desigining treatments Mon Jun 27 08:57:29 2016&quot;
199-
## [1] &quot;design var xBad1 Mon Jun 27 08:57:29 2016&quot;
200-
## [1] &quot;design var xBad2 Mon Jun 27 08:57:29 2016&quot;
201-
## [1] &quot;design var xBad3 Mon Jun 27 08:57:29 2016&quot;
202-
## [1] &quot;design var xGood1 Mon Jun 27 08:57:30 2016&quot;
203-
## [1] &quot;design var xGood2 Mon Jun 27 08:57:30 2016&quot;
204-
## [1] &quot;scoring treatments Mon Jun 27 08:57:30 2016&quot;
205-
## [1] &quot;have treatment plan Mon Jun 27 08:57:30 2016&quot;
206-
## [1] &quot;rescoring complex variables Mon Jun 27 08:57:30 2016&quot;
207-
## [1] &quot;done rescoring complex variables Mon Jun 27 08:57:30 2016&quot;</code></pre>
198+
<pre><code>## [1] &quot;desigining treatments Mon Jul 11 10:06:52 2016&quot;
199+
## [1] &quot;design var xBad1 Mon Jul 11 10:06:52 2016&quot;
200+
## [1] &quot;design var xBad2 Mon Jul 11 10:06:52 2016&quot;
201+
## [1] &quot;design var xBad3 Mon Jul 11 10:06:52 2016&quot;
202+
## [1] &quot;design var xGood1 Mon Jul 11 10:06:53 2016&quot;
203+
## [1] &quot;design var xGood2 Mon Jul 11 10:06:53 2016&quot;
204+
## [1] &quot;scoring treatments Mon Jul 11 10:06:53 2016&quot;
205+
## [1] &quot;have treatment plan Mon Jul 11 10:06:53 2016&quot;
206+
## [1] &quot;rescoring complex variables Mon Jul 11 10:06:53 2016&quot;
207+
## [1] &quot;done rescoring complex variables Mon Jul 11 10:06:53 2016&quot;</code></pre>
208208
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">dTrainTreated &lt;-<span class="st"> </span>vtreat::<span class="kw">prepare</span>(treatments,dTrain,
209209
<span class="dt">pruneSig=</span>pruneSig)
210210
newvars &lt;-<span class="st"> </span><span class="kw">setdiff</span>(<span class="kw">colnames</span>(dTrainTreated),<span class="st">'y'</span>)

inst/doc/vtreatGrouping.R

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
knitr::opts_chunk$set(fig.width = 7)
33

44
## ----echo=FALSE, message=FALSE, warning=FALSE----------------------------
5+
library(vtreat)
6+
set.seed(23255)
7+
58
have_ggplot = requireNamespace("ggplot2", quietly=TRUE)
69
have_dplyr = requireNamespace("dplyr", quietly=TRUE)
710
if(have_ggplot) {
@@ -11,11 +14,7 @@ if(have_dplyr) {
1114
library(dplyr)
1215
}
1316

14-
15-
library(vtreat)
16-
set.seed(23255)
17-
18-
## ----functions, echo=FALSE-----------------------------------------------
17+
## ----echo=FALSE, message=FALSE, warning=FALSE----------------------------
1918
#
2019
# takes the frame (d) and the outcome column (d$conc)
2120
# from the global environment
@@ -49,8 +48,6 @@ showGroupingBehavior = function(groupcol, title) {
4948
}
5049
}
5150

52-
53-
5451
## ----data----------------------------------------------------------------
5552
# panel data for concentration in multiple subjects
5653
d <- datasets::Theoph

inst/doc/vtreatGrouping.Rmd

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ knitr::opts_chunk$set(fig.width = 7)
1414
```
1515

1616
```{r echo=FALSE, message=FALSE, warning=FALSE}
17+
library(vtreat)
18+
set.seed(23255)
19+
1720
have_ggplot = requireNamespace("ggplot2", quietly=TRUE)
1821
have_dplyr = requireNamespace("dplyr", quietly=TRUE)
1922
if(have_ggplot) {
@@ -22,15 +25,9 @@ if(have_ggplot) {
2225
if(have_dplyr) {
2326
library(dplyr)
2427
}
25-
26-
27-
library(vtreat)
28-
set.seed(23255)
2928
```
3029

31-
This vignette shows an example use of _y_-stratified sampling with a grouping restriction in `vtreat`.
32-
33-
```{r functions, echo=FALSE}
30+
```{r echo=FALSE, message=FALSE, warning=FALSE}
3431
#
3532
# takes the frame (d) and the outcome column (d$conc)
3633
# from the global environment
@@ -63,10 +60,10 @@ showGroupingBehavior = function(groupcol, title) {
6360
print(plt)
6461
}
6562
}
66-
67-
6863
```
6964

65+
This vignette shows an example use of _y_-stratified sampling with a grouping restriction in `vtreat`.
66+
7067
For this example, we will use the `Theosph` dataset: data from an experiment on the pharmacokinetics of theophylline. We will demonstrate the desired effects of _y_-stratification while also respecting a grouping constraint.
7168

7269
## The Data

inst/doc/vtreatGrouping.html

Lines changed: 25 additions & 25 deletions
Large diffs are not rendered by default.

inst/doc/vtreatOverfit.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<meta name="author" content="John Mount, Nina Zumel" />
1414

15-
<meta name="date" content="2016-06-27" />
15+
<meta name="date" content="2016-07-11" />
1616

1717
<title>vtreat overfit</title>
1818

@@ -70,7 +70,7 @@
7070

7171
<h1 class="title toc-ignore">vtreat overfit</h1>
7272
<h4 class="author"><em>John Mount, Nina Zumel</em></h4>
73-
<h4 class="date"><em>2016-06-27</em></h4>
73+
<h4 class="date"><em>2016-07-11</em></h4>
7474

7575

7676

@@ -96,12 +96,12 @@ <h2>Bad Practice: Using the same data to treat and to train</h2>
9696
treatments &lt;-<span class="st"> </span>vtreat::<span class="kw">designTreatmentsC</span>(dTrain,<span class="st">'x'</span>,<span class="st">'y'</span>,<span class="ot">TRUE</span>,
9797
<span class="dt">rareCount=</span><span class="dv">0</span> <span class="co"># Note: usually want rareCount&gt;0, setting to zero to illustrate problem</span>
9898
)</code></pre></div>
99-
<pre><code>## [1] &quot;desigining treatments Mon Jun 27 08:57:33 2016&quot;
100-
## [1] &quot;design var x Mon Jun 27 08:57:33 2016&quot;
101-
## [1] &quot;scoring treatments Mon Jun 27 08:57:33 2016&quot;
102-
## [1] &quot;have treatment plan Mon Jun 27 08:57:33 2016&quot;
103-
## [1] &quot;rescoring complex variables Mon Jun 27 08:57:33 2016&quot;
104-
## [1] &quot;done rescoring complex variables Mon Jun 27 08:57:33 2016&quot;</code></pre>
99+
<pre><code>## [1] &quot;desigining treatments Mon Jul 11 10:06:56 2016&quot;
100+
## [1] &quot;design var x Mon Jul 11 10:06:56 2016&quot;
101+
## [1] &quot;scoring treatments Mon Jul 11 10:06:56 2016&quot;
102+
## [1] &quot;have treatment plan Mon Jul 11 10:06:56 2016&quot;
103+
## [1] &quot;rescoring complex variables Mon Jul 11 10:06:56 2016&quot;
104+
## [1] &quot;done rescoring complex variables Mon Jul 11 10:06:56 2016&quot;</code></pre>
105105
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">dTrainTreated &lt;-<span class="st"> </span>vtreat::<span class="kw">prepare</span>(treatments,dTrain,
106106
<span class="dt">pruneSig=</span><span class="kw">c</span>() <span class="co"># Note: usually want pruneSig to be a small fraction, setting to null to illustrate problem</span>
107107
)
@@ -193,12 +193,12 @@ <h2>Correct Practice: Use different data to treat and train</h2>
193193
<span class="dt">rareCount=</span><span class="dv">0</span>, <span class="co"># Note set this to something larger, like 5</span>
194194
<span class="dt">rareSig=</span><span class="kw">c</span>() <span class="co"># Note set this to something like 0.3</span>
195195
)</code></pre></div>
196-
<pre><code>## [1] &quot;desigining treatments Mon Jun 27 08:57:33 2016&quot;
197-
## [1] &quot;design var x Mon Jun 27 08:57:33 2016&quot;
198-
## [1] &quot;scoring treatments Mon Jun 27 08:57:34 2016&quot;
199-
## [1] &quot;have treatment plan Mon Jun 27 08:57:34 2016&quot;
200-
## [1] &quot;rescoring complex variables Mon Jun 27 08:57:34 2016&quot;
201-
## [1] &quot;done rescoring complex variables Mon Jun 27 08:57:34 2016&quot;</code></pre>
196+
<pre><code>## [1] &quot;desigining treatments Mon Jul 11 10:06:56 2016&quot;
197+
## [1] &quot;design var x Mon Jul 11 10:06:56 2016&quot;
198+
## [1] &quot;scoring treatments Mon Jul 11 10:06:56 2016&quot;
199+
## [1] &quot;have treatment plan Mon Jul 11 10:06:56 2016&quot;
200+
## [1] &quot;rescoring complex variables Mon Jul 11 10:06:56 2016&quot;
201+
## [1] &quot;done rescoring complex variables Mon Jul 11 10:06:56 2016&quot;</code></pre>
202202
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">dTrainTreated &lt;-<span class="st"> </span>vtreat::<span class="kw">prepare</span>(treatments,dTrain,
203203
<span class="dt">pruneSig=</span><span class="kw">c</span>() <span class="co"># Note: set this to filter, like 0.05 or 1/nvars</span>
204204
)

inst/doc/vtreatScaleMode.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<meta name="author" content="Win-Vector LLC" />
1414

15-
<meta name="date" content="2016-06-27" />
15+
<meta name="date" content="2016-07-11" />
1616

1717
<title>vtreat scale mode</title>
1818

@@ -70,7 +70,7 @@
7070

7171
<h1 class="title toc-ignore">vtreat scale mode</h1>
7272
<h4 class="author"><em>Win-Vector LLC</em></h4>
73-
<h4 class="date"><em>2016-06-27</em></h4>
73+
<h4 class="date"><em>2016-07-11</em></h4>
7474

7575

7676

inst/doc/vtreatSignificance.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<meta name="author" content="John Mount, Nina Zumel" />
1414

15-
<meta name="date" content="2016-06-27" />
15+
<meta name="date" content="2016-07-11" />
1616

1717
<title>vtreat significance</title>
1818

@@ -70,7 +70,7 @@
7070

7171
<h1 class="title toc-ignore">vtreat significance</h1>
7272
<h4 class="author"><em>John Mount, Nina Zumel</em></h4>
73-
<h4 class="date"><em>2016-06-27</em></h4>
73+
<h4 class="date"><em>2016-07-11</em></h4>
7474

7575

7676

@@ -119,13 +119,13 @@ <h4 class="date"><em>2016-06-27</em></h4>
119119
## 2 FALSE lev002 lev002F
120120
## 252 FALSE lev002 lev002F</code></pre>
121121
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">treatmentsC &lt;-<span class="st"> </span>vtreat::<span class="kw">designTreatmentsC</span>(d,<span class="kw">c</span>(<span class="st">'catVarNoise'</span>,<span class="st">'catVarPerfect'</span>),<span class="st">'y'</span>,<span class="ot">TRUE</span>)</code></pre></div>
122-
<pre><code>## [1] &quot;desigining treatments Mon Jun 27 08:57:35 2016&quot;
123-
## [1] &quot;design var catVarNoise Mon Jun 27 08:57:35 2016&quot;
124-
## [1] &quot;design var catVarPerfect Mon Jun 27 08:57:35 2016&quot;
125-
## [1] &quot;scoring treatments Mon Jun 27 08:57:35 2016&quot;
126-
## [1] &quot;have treatment plan Mon Jun 27 08:57:35 2016&quot;
127-
## [1] &quot;rescoring complex variables Mon Jun 27 08:57:35 2016&quot;
128-
## [1] &quot;done rescoring complex variables Mon Jun 27 08:57:35 2016&quot;</code></pre>
122+
<pre><code>## [1] &quot;desigining treatments Mon Jul 11 10:06:57 2016&quot;
123+
## [1] &quot;design var catVarNoise Mon Jul 11 10:06:57 2016&quot;
124+
## [1] &quot;design var catVarPerfect Mon Jul 11 10:06:57 2016&quot;
125+
## [1] &quot;scoring treatments Mon Jul 11 10:06:57 2016&quot;
126+
## [1] &quot;have treatment plan Mon Jul 11 10:06:57 2016&quot;
127+
## [1] &quot;rescoring complex variables Mon Jul 11 10:06:57 2016&quot;
128+
## [1] &quot;done rescoring complex variables Mon Jul 11 10:06:58 2016&quot;</code></pre>
129129
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="co"># Estimate effect significance (not coeficient significance).</span>
130130
estSigGLM &lt;-<span class="st"> </span>function(xVar,yVar,<span class="dt">numberOfHiddenDegrees=</span><span class="dv">0</span>) {
131131
d &lt;-<span class="st"> </span><span class="kw">data.frame</span>(<span class="dt">x=</span>xVar,<span class="dt">y=</span>yVar,<span class="dt">stringsAsFactors =</span> <span class="ot">FALSE</span>)

0 commit comments

Comments
 (0)