Skip to content

Commit eb429c8

Browse files
committed
Ignore README.html (preview) and add spaces
1 parent e757ea3 commit eb429c8

File tree

3 files changed

+26
-19
lines changed

3 files changed

+26
-19
lines changed

.Rbuildignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
^README\.Rmd$
2+
^README\.html$
23
^\.travis\.yml$
34
^data-raw$
45
^LICENSE\.md$

README.Rmd

+3
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,11 @@ model <- cmp(formula = ninsect ~ extract,
6161
data = sitophilus)
6262
6363
# Methods --------------------------------------------------------------
64+
6465
print(model)
66+
6567
summary(model)
68+
6669
equitest(model)
6770
6871
# Predict new data -----------------------------------------------------

README.md

+22-19
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ model <- cmp(formula = ninsect ~ extract,
4848
data = sitophilus)
4949

5050
# Methods --------------------------------------------------------------
51+
5152
print(model)
5253
#>
5354
#> COM-Poisson regression models
@@ -57,14 +58,15 @@ print(model)
5758
#>
5859
#> Mean coefficients:
5960
#> (Intercept) extractLeaf extractBranch extractSeed
60-
#> 3.449860 -0.006594 -0.052379 -3.310863
61+
#> 3.449861 -0.006596 -0.052377 -3.311192
6162
#>
6263
#> Dispersion coefficients:
6364
#> (Intercept) extractLeaf extractBranch extractSeed
64-
#> -0.6652 -0.3831 -0.3724 -0.1186
65+
#> -0.6652 -0.3832 -0.3724 -0.1177
6566
#>
6667
#> Residual degrees of freedom: 32
67-
#> Minus twice the log-likelihood: 242.8278
68+
#> Minus twice the log-likelihood: 242.8279
69+
6870
summary(model)
6971
#>
7072
#> Individual Wald-tests for COM-Poisson regression models
@@ -74,22 +76,23 @@ summary(model)
7476
#>
7577
#> Mean coefficients:
7678
#> Estimate Std. Error Z value Pr(>|z|)
77-
#> (Intercept) 3.449860 0.077995 44.232 < 2e-16 ***
78-
#> extractLeaf -0.006594 0.122209 -0.054 0.957
79-
#> extractBranch -0.052379 0.123463 -0.424 0.671
80-
#> extractSeed -3.310863 0.543822 -6.088 1.14e-09 ***
79+
#> (Intercept) 3.449861 0.077995 44.232 < 2e-16 ***
80+
#> extractLeaf -0.006596 0.122210 -0.054 0.957
81+
#> extractBranch -0.052377 0.123462 -0.424 0.671
82+
#> extractSeed -3.311192 0.541399 -6.116 9.6e-10 ***
8183
#> ---
8284
#> Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
8385
#>
8486
#> Dispersion coefficients:
8587
#> Estimate Std. Error Z value Pr(>|z|)
8688
#> (Intercept) -0.6652 0.4573 -1.455 0.146
87-
#> extractLeaf -0.3831 0.6509 -0.589 0.556
88-
#> extractBranch -0.3724 0.6514 -0.572 0.567
89-
#> extractSeed -0.1186 1.5502 -0.077 0.939
89+
#> extractLeaf -0.3832 0.6509 -0.589 0.556
90+
#> extractBranch -0.3724 0.6514 -0.572 0.568
91+
#> extractSeed -0.1177 1.5464 -0.076 0.939
9092
#>
9193
#> Residual degrees of freedom: 32
92-
#> Minus twice the log-likelihood: 242.8278
94+
#> Minus twice the log-likelihood: 242.8279
95+
9396
equitest(model)
9497
#>
9598
#> Likelihood ratio test for equidispersion
@@ -108,14 +111,14 @@ predict(model,
108111
se.fit = TRUE,
109112
augment_data = TRUE)
110113
#> extract what fit ste
111-
#> 1 Leaf mean 31.2889797 2.9437657
112-
#> 2 Branch mean 29.8887063 2.8605423
113-
#> 3 Seed mean 1.1491206 0.3120492
114-
#> 4 Control mean 31.4959708 2.4565258
115-
#> 5 Leaf dispersion 0.3505199 0.1623447
116-
#> 6 Branch dispersion 0.3542934 0.1643381
117-
#> 7 Seed dispersion 0.4566733 0.3412895
118-
#> 8 Control dispersion 0.5141727 0.2351421
114+
#> 1 Leaf mean 31.2889190 2.9438074
115+
#> 2 Branch mean 29.8887880 2.8605146
116+
#> 3 Seed mean 1.1487432 0.3120589
117+
#> 4 Control mean 31.4959985 2.4565378
118+
#> 5 Leaf dispersion 0.3505090 0.1623430
119+
#> 6 Branch dispersion 0.3542998 0.1643400
120+
#> 7 Seed dispersion 0.4570660 0.3423450
121+
#> 8 Control dispersion 0.5141684 0.2351420
119122
```
120123

121124
Currently, the methods implemented for `"cmpreg"` objects are

0 commit comments

Comments
 (0)