Skip to content

Commit 45c6cb0

Browse files
committed
rebuild pkgdown
1 parent a56d010 commit 45c6cb0

File tree

139 files changed

+874
-855
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+874
-855
lines changed

cran-comments.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ o Use the generalized Moore-Penrose inverse from MASS in CMHtest() such that it
1616
matrix is singular.
1717
o Converted the package to use roxygen documentation.
1818
o Added `CrabSatellites` data from {countreg} b/c that's still not available on CRAN
19+
o Moved `grid` from `Depends:` to `Imports:`
20+
o Now use markdown in package documentation for easier maintenance, via {roxygen2md}
1921

2022

2123
# reverse dependencies

docs/404.html

Lines changed: 1 addition & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/A_creating.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ the labels for the variables or levels. This is easy when the data are
251251
in table form: [`aperm()`](https://rdrr.io/r/base/aperm.html) permutes
252252
the dimensions, and assigning to `names` and `dimnames` changes variable
253253
names and level labels respectively. We will use the following version
254-
of `UCBAdmissions` in @(sec:mantel) below.[^1]
254+
of `UCBAdmissions` in @(sec:mantel) below.[¹](#fn1)
255255

256256
``` r
257257
UCB <- aperm(UCBAdmissions, c(2, 1, 3))
@@ -644,8 +644,8 @@ another.
644644

645645
For example, a contingency table in table form (an object of
646646
`class(table)`) can be converted to a data.frame with
647-
[`as.data.frame()`](https://rdrr.io/r/base/as.data.frame.html).[^2] The
648-
resulting `data.frame` contains columns representing the classifying
647+
[`as.data.frame()`](https://rdrr.io/r/base/as.data.frame.html).[²](#fn2)
648+
The resulting `data.frame` contains columns representing the classifying
649649
factors and the table entries (as a column named by the `responseName`
650650
argument, defaulting to `Freq`. This is the inverse of
651651
[`xtabs()`](https://rdrr.io/r/stats/xtabs.html).
@@ -668,7 +668,7 @@ as.data.frame(GSStab)
668668
table of `Treatment` \\\times\\ `Sex` \\\times\\ `Improved`. Note the
669669
use of [`with()`](https://rdrr.io/r/base/with.html) to avoid having to
670670
use `Arthritis\$Treatment` etc. within the call to
671-
[`table()`](https://rdrr.io/r/base/table.html).%[^3]
671+
[`table()`](https://rdrr.io/r/base/table.html).%[³](#fn3)
672672

673673
``` r
674674
Art.tab <- with(Arthritis, table(Treatment, Sex, Improved))
@@ -799,7 +799,7 @@ dim(TV)
799799
But this 4-way table is too large and awkward to work with. Among the
800800
networks, Fox and Other occur infrequently. We can also cut it down to a
801801
3-way table by considering only viewers who persist with the current
802-
station.[^4]
802+
station.[](#fn4)
803803

804804
``` r
805805
TV2 <- TV[,,1:3,] # keep only ABC, CBS, NBC
@@ -901,17 +901,19 @@ Jersey: John Wiley & Sons.
901901
Hartigan, J. A., & Kleiner, B. (1984). A mosaic of television ratings.
902902
*The American Statistician*, *38*, 32–35.
903903

904-
[^1]: Changing `Admit` to `Admit?` might be useful for display purposes,
904+
------------------------------------------------------------------------
905+
906+
1. Changing `Admit` to `Admit?` might be useful for display purposes,
905907
but is dangerous— because it is then difficult to use that variable
906908
name in a model formula. See @(sec:tips) for options `labeling_args`
907909
and `set_labels`to change variable and level names for displays in
908910
the `strucplot` framework.
909911

910-
[^2]: Because R is object-oriented, this is actually a short-hand for
911-
the function
912+
2. Because R is object-oriented, this is actually a short-hand for the
913+
function
912914
[`as.data.frame.table()`](https://rdrr.io/r/base/table.html).
913915

914-
[^3]: [`table()`](https://rdrr.io/r/base/table.html) does not allow a
916+
3. [`table()`](https://rdrr.io/r/base/table.html) does not allow a
915917
`data` argument to provide an environment in which the table
916918
variables are to be found. In the examples in @(sec:table) I used
917919
`attach(mydata)` for this purpose, but
@@ -921,6 +923,6 @@ Hartigan, J. A., & Kleiner, B. (1984). A mosaic of television ratings.
921923
[`table()`](https://rdrr.io/r/base/table.html) expression in a
922924
temporary environment of the data.
923925

924-
[^4]: This relies on the fact that that indexing an array drops
925-
dimensions of length 1 by default, using the argument `drop=TRUE`;
926-
the result is coerced to the lowest possible dimension.
926+
4. This relies on the fact that that indexing an array drops dimensions
927+
of length 1 by default, using the argument `drop=TRUE`; the result
928+
is coerced to the lowest possible dimension.

docs/articles/B_tests.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ package gives one implmentation. For an \\r \times c\\ table, the method
465465
provides a breakdown of the Pearson \\\chi^2\\ for association in up to
466466
\\M = \min(r-1, c-1)\\ dimensions, and finds scores for the row
467467
(\\x\_{im}\\) and column (\\y\_{jm}\\) categories such that the
468-
observations have the maximum possible correlations.%[^1]
468+
observations have the maximum possible correlations.%[¹](#fn1)
469469

470470
Here, we carry out a simple correspondence analysis of the `HairEye`
471471
data. The printed results show that nearly 99% of the association
@@ -534,7 +534,9 @@ Landis, R. J., E. R. Heyman, and G. G. Koch. 1978. “Average Partial
534534
Association in Three-Way Contingency Tables: A Review and Discussion of
535535
Alternative Tests,” *International Statistical Review* 46: 237–54.
536536

537-
[^1]: Related methods are the non-parametric CMH tests using assumed
537+
------------------------------------------------------------------------
538+
539+
1. Related methods are the non-parametric CMH tests using assumed
538540
row/column scores (), the analogous
539541
[`glm()`](https://rdrr.io/r/stats/glm.html) model-based methods (),
540542
and the more general RC models which can be fit using

docs/articles/C_loglinear.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ Assume we have a 3-way contingency table based on variables A, B, and C.
1818
The possible different forms of loglinear models for a 3-way table are
1919
shown in the table below. @(tab:loglin-3way) The **Model formula**
2020
column shows how to express each model for
21-
[`loglm()`](https://rdrr.io/pkg/MASS/man/loglm.html) in R.[^1] In the
22-
**Interpretation** column, the symbol “\\\perp\\” is to be read as “is
23-
independent of,” and “\\\\\|\\\\” means “conditional on,” or “adjusting
24-
for,” or just “given.”
21+
[`loglm()`](https://rdrr.io/pkg/MASS/man/loglm.html) in R.[¹](#fn1) In
22+
the **Interpretation** column, the symbol “\\\perp\\” is to be read as
23+
“is independent of,” and “\\\\\|\\\\” means “conditional on,” or
24+
“adjusting for,” or just “given.”
2525

2626
| **Model** | **Model formula** | **Symbol** | **Interpretation** |
2727
|:---|:---|:---|:---|
@@ -279,7 +279,7 @@ of generalized linear models with a log link, this can be expressed as
279279

280280
where the row-multiplicative effect parameters \\\gamma_i\\ and
281281
corresponding column parameters \\\delta_j\\ are estimated from the
282-
data.%[^2]
282+
data.%[²](#fn2)
283283

284284
Similarly, the RC(2) model adds two multiplicative terms to the
285285
independence model,
@@ -322,12 +322,14 @@ Goodman, L. A. (1979). Simple models for the analysis of association in
322322
cross-classifications having ordered categories. *Journal of the
323323
American Statistical Association*, *74*, 537–552.
324324

325-
[^1]: For [`glm()`](https://rdrr.io/r/stats/glm.html), or
325+
------------------------------------------------------------------------
326+
327+
1. For [`glm()`](https://rdrr.io/r/stats/glm.html), or
326328
[`gnm()`](https://rdrr.io/pkg/gnm/man/gnm.html), with the data in
327329
the form of a frequency data.frame, the same model is specified in
328330
the form `glm(Freq` \\\sim\\ `..., family="poisson")`, where `Freq`
329331
is the name of the cell frequency variable and `...` specifies the
330332
*Model formula*.
331333

332-
[^2]: This is similar in spirit to a correspondence analysis with a
333-
single dimension, but as a statistical model.
334+
2. This is similar in spirit to a correspondence analysis with a single
335+
dimension, but as a statistical model.

docs/articles/a1-creating.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/a1-creating.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ the labels for the variables or levels. This is easy when the data are
265265
in table form: [`aperm()`](https://rdrr.io/r/base/aperm.html) permutes
266266
the dimensions, and assigning to `names` and `dimnames` changes variable
267267
names and level labels respectively. We will use the following version
268-
of `UCBAdmissions` in @ref(sec:mantel) below. [^1]
268+
of `UCBAdmissions` in @ref(sec:mantel) below. [¹](#fn1)
269269

270270
``` r
271271
UCB <- aperm(UCBAdmissions, c(2, 1, 3))
@@ -740,10 +740,10 @@ another.
740740

741741
For example, a contingency table in table form (an object of
742742
`class(table)`) can be converted to a data.frame with
743-
[`as.data.frame()`](https://rdrr.io/r/base/as.data.frame.html). [^2] The
744-
resulting `data.frame` contains columns representing the classifying
745-
factors and the table entries (as a column named by the `responseName`
746-
argument, defaulting to `Freq`. This is the inverse of
743+
[`as.data.frame()`](https://rdrr.io/r/base/as.data.frame.html).
744+
[²](#fn2) The resulting `data.frame` contains columns representing the
745+
classifying factors and the table entries (as a column named by the
746+
`responseName` argument, defaulting to `Freq`. This is the inverse of
747747
[`xtabs()`](https://rdrr.io/r/stats/xtabs.html).
748748

749749
***Example***: Convert the `GSStab` in table form to a data.frame in
@@ -764,7 +764,7 @@ as.data.frame(GSStab)
764764
table of `Treatment` $`\times`$`Sex` $`\times`$`Improved`. Note the use
765765
of [`with()`](https://rdrr.io/r/base/with.html) to avoid having to use
766766
`Arthritis\$Treatment` etc. within the call to
767-
[`table()`](https://rdrr.io/r/base/table.html).% [^3]
767+
[`table()`](https://rdrr.io/r/base/table.html).% [³](#fn3)
768768

769769
``` r
770770
Art.tab <- with(Arthritis, table(Treatment, Sex, Improved))
@@ -895,7 +895,7 @@ dim(TV)
895895
But this 4-way table is too large and awkward to work with. Among the
896896
networks, Fox and Other occur infrequently. We can also cut it down to a
897897
3-way table by considering only viewers who persist with the current
898-
station. [^4]
898+
station. [](#fn4)
899899

900900
``` r
901901
TV2 <- TV[,,1:3,] # keep only ABC, CBS, NBC
@@ -997,17 +997,19 @@ Jersey: John Wiley & Sons.
997997
Hartigan, J. A., & Kleiner, B. (1984). A mosaic of television ratings.
998998
*The American Statistician*, *38*, 32–35.
999999

1000-
[^1]: Changing `Admit` to `Admit?` might be useful for display purposes,
1000+
------------------------------------------------------------------------
1001+
1002+
1. Changing `Admit` to `Admit?` might be useful for display purposes,
10011003
but is dangerous— because it is then difficult to use that variable
10021004
name in a model formula. See @ref(sec:tips) for options
10031005
`labeling_args` and `set_labels`to change variable and level names
10041006
for displays in the `strucplot` framework.
10051007

1006-
[^2]: Because R is object-oriented, this is actually a short-hand for
1007-
the function
1008+
2. Because R is object-oriented, this is actually a short-hand for the
1009+
function
10081010
[`as.data.frame.table()`](https://rdrr.io/r/base/table.html).
10091011

1010-
[^3]: [`table()`](https://rdrr.io/r/base/table.html) does not allow a
1012+
3. [`table()`](https://rdrr.io/r/base/table.html) does not allow a
10111013
`data` argument to provide an environment in which the table
10121014
variables are to be found. In the examples in @ref(sec:table) I used
10131015
`attach(mydata)` for this purpose, but
@@ -1017,6 +1019,6 @@ Hartigan, J. A., & Kleiner, B. (1984). A mosaic of television ratings.
10171019
[`table()`](https://rdrr.io/r/base/table.html) expression in a
10181020
temporary environment of the data.
10191021

1020-
[^4]: This relies on the fact that that indexing an array drops
1021-
dimensions of length 1 by default, using the argument `drop=TRUE`;
1022-
the result is coerced to the lowest possible dimension.
1022+
4. This relies on the fact that that indexing an array drops dimensions
1023+
of length 1 by default, using the argument `drop=TRUE`; the result
1024+
is coerced to the lowest possible dimension.

docs/articles/a2-tests.html

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)