Skip to content

Commit 30bd2aa

Browse files
author
hornik
committed
Auto-generate citations and references.
git-svn-id: https://svn.r-project.org/R/trunk@88542 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 9de786f commit 30bd2aa

File tree

9 files changed

+58
-145
lines changed

9 files changed

+58
-145
lines changed

src/library/datasets/man/HairEyeColor.Rd

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% File src/library/datasets/man/HairEyeColor.Rd
22
% Part of the R package, https://www.R-project.org
3-
% Copyright 1995-2018 R Core Team
3+
% Copyright 1995-2025 R Core Team
44
% Distributed under GPL 2 or later
55

66
\name{HairEyeColor}
@@ -24,8 +24,8 @@
2424
}
2525
\details{
2626
The Hair \eqn{\times}{x} Eye table comes from a survey of students at
27-
the University of Delaware reported by \bibcite{Snee (1974)}. The split by
28-
\code{Sex} was added by Friendly (1992a) for didactic purposes.
27+
the University of Delaware reported by \bibcitet{R:Snee:1974}. The split by
28+
\code{Sex} was added by \bibcitet{R:Friendly:1992a} for didactic purposes.
2929

3030
This data set is useful for illustrating various techniques for the
3131
analysis of contingency tables, such as the standard chi-squared test
@@ -35,31 +35,12 @@
3535
\source{
3636
\url{http://www.datavis.ca/sas/vcd/catdata/haireye.sas}
3737

38-
Snee (1974) gives the two-way table aggregated over \code{Sex}. The
38+
\bibcitet{R:Snee:1974} gives the two-way table aggregated over \code{Sex}. The
3939
\code{Sex} split of the \sQuote{Brown hair, Brown eye} cell was
40-
changed to agree with that used by Friendly (2000).
40+
changed to agree with that used by \bibcitet{R:Friendly:2000}.
4141
}
4242
\references{
43-
Snee, R. D. (1974).
44-
Graphical display of two-way contingency tables.
45-
\emph{The American Statistician}, \bold{28}, 9--12.
46-
\doi{10.2307/2683520}.
47-
48-
Friendly, M. (1992a).
49-
Graphical methods for categorical data.
50-
\emph{SAS User Group International Conference Proceedings}, \bold{17},
51-
190--200.
52-
\url{http://datavis.ca/papers/sugi/sugi17.pdf}
53-
54-
Friendly, M. (1992b).
55-
Mosaic displays for loglinear models.
56-
\emph{Proceedings of the Statistical Graphics Section},
57-
American Statistical Association, pp.\sspace{}61--68.
58-
\url{http://www.datavis.ca/papers/asa92.html}
59-
60-
Friendly, M. (2000).
61-
\emph{Visualizing Categorical Data}.
62-
SAS Institute, ISBN 1-58025-660-0.
43+
\bibshow{*, R:Friendly:1992b}
6344
}
6445
\seealso{
6546
\code{\link{chisq.test}},

src/library/datasets/man/Puromycin.Rd

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% File src/library/datasets/man/Puromycin.Rd
22
% Part of the R package, https://www.R-project.org
3-
% Copyright 1995-2014 R Core Team
3+
% Copyright 1995-2025 R Core Team
44
% Distributed under GPL 2 or later
55

66
\name{Puromycin}
@@ -31,21 +31,16 @@
3131
}
3232
\details{
3333
Data on the velocity of an enzymatic reaction were obtained
34-
by \bibcite{Treloar (1974)}. The number of counts per minute of radioactive
34+
by \bibcitet{R:Treloar:1974}. The number of counts per minute of radioactive
3535
product from the reaction was measured as a function of substrate
3636
concentration in parts per million (ppm) and from these counts the
3737
initial rate (or velocity) of the reaction was calculated
3838
(counts/min/min). The experiment was conducted once with the enzyme
3939
treated with \I{Puromycin}, and once with the enzyme untreated.
4040
}
4141
\source{
42-
Bates, D.M. and Watts, D.G. (1988),
43-
\emph{Nonlinear Regression Analysis and Its Applications},
44-
Wiley, Appendix A1.3.
45-
46-
Treloar, M. A. (1974), \emph{Effects of Puromycin on
47-
Galactosyltransferase in Golgi Membranes}, M.Sc. Thesis, U. of
48-
Toronto.
42+
\bibinfo{R:Bates+Watts:1988}{note}{Appendix A1.3}
43+
\bibshow{*, R:Bates+Watts:1988}
4944
}
5045

5146
\seealso{

src/library/datasets/man/Theoph.Rd

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% File src/library/datasets/man/Theoph.Rd
22
% Part of the R package, https://www.R-project.org
3-
% Copyright 1995-2011 R Core Team
3+
% Copyright 1995-2025 R Core Team
44
% Distributed under GPL 2 or later
55

66
\name{Theoph}
@@ -37,32 +37,25 @@
3737
}
3838
}
3939
\details{
40-
\bibcite{Boeckmann, Sheiner and Beal (1994)} report data from a study by
40+
\bibcitet{R:Boeckmann+Sheiner+Beal:1994} report data from a study by
4141
Dr. Robert Upton of the kinetics of the anti-asthmatic drug
4242
theophylline. Twelve subjects were given oral doses of theophylline
4343
then serum concentrations were measured at 11 time points over the
4444
next 25 hours.
4545

46-
These data are analyzed in \bibcite{Davidian and Giltinan (1995)} and
47-
\bibcite{Pinheiro and Bates (2000)} using a two-compartment open pharmacokinetic model,
46+
These data are analyzed in \bibcitet{R:Davidian+Giltinan:1995} and
47+
\bibcite{R:Pinheiro+Bates:2000} using a two-compartment open pharmacokinetic model,
4848
for which a self-starting model function, \code{SSfol}, is available.
4949

5050
This dataset was originally part of package \CRANpkg{nlme}, and that has
5151
methods (including for \code{[}, \code{as.data.frame}, \code{plot} and
5252
\code{print}) for its grouped-data classes.
5353
}
5454
\source{
55-
Boeckmann, A. J., Sheiner, L. B. and Beal, S. L. (1994), \emph{NONMEM
56-
Users Guide: Part V}, NONMEM Project Group, University of
57-
California, San Francisco.
58-
59-
Davidian, M. and Giltinan, D. M. (1995)
60-
\emph{Nonlinear Models for Repeated Measurement Data},
61-
Chapman & Hall
62-
(section 5.5, p.\sspace{}145 and section 6.6, p.\sspace{}176)
63-
64-
Pinheiro, J. C. and Bates, D. M. (2000) \emph{Mixed-effects Models in
65-
S and S-PLUS}, Springer (Appendix A.29)
55+
\bibinfo{R:Davidian+Giltinan:1995}{footer}{
56+
(section 5.5, p.\\\\\\sspace{}145 and section 6.6, p.\\\\\\sspace{}176)}
57+
\bibinfo{R:Pinheiro+Bates:2000}{footer}{(Appendix A.29)}
58+
\bibshow{*}
6659
}
6760
\seealso{\code{\link{SSfol}}}
6861
\examples{

src/library/datasets/man/crimtab.Rd

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% File src/library/datasets/man/crimtab.Rd
22
% Part of the R package, https://www.R-project.org
3-
% Copyright 1995-2019 R Core Team
3+
% Copyright 1995-2025 R Core Team
44
% Distributed under GPL 2 or later
55

66
\name{crimtab}
@@ -33,7 +33,7 @@
3333
I had endeavoured to do so empirically. The material used was a
3434
correlation table containing the height and left middle finger
3535
measurements of 3000 criminals, from a paper by
36-
\bibcite{W. R. MacDonell (1902, p.\sspace{}219)}.
36+
\bibcitet{|R:MacDonell:1902|p.\\\\\\sspace{}219)}.
3737
The
3838
measurements were written
3939
out on 3000 pieces of cardboard, which were then very thoroughly
@@ -47,7 +47,7 @@
4747
giving us the \emph{z} of Section III.}
4848
4949
The table is in fact page 216 and not page 219 in
50-
\bibcite{MacDonell (1902)}.
50+
\bibcitep{R:MacDonell:1902}.
5151
In the \I{MacDonell} table, the middle finger lengths were given in mm
5252
and the heights in feet/inches intervals, they are both converted into
5353
cm here. The midpoints of intervals were used, e.g., where \I{MacDonell}
@@ -66,22 +66,7 @@
6666
thanks to Jean R. Lobry and \enc{Anne-Béatrice}{Anne-Beatrice} Dufour.
6767
}
6868
\references{
69-
Garson, J.G. (1900).
70-
The metric system of identification of criminals, as used in Great
71-
Britain and Ireland.
72-
\emph{The Journal of the Anthropological Institute of Great Britain
73-
and Ireland}, \bold{30}, 161--198.
74-
\doi{10.2307/2842627}.
75-
76-
MacDonell, W.R. (1902).
77-
On criminal anthropometry and the identification of criminals.
78-
\emph{Biometrika}, \bold{1}(2), 177--227.
79-
\doi{10.2307/2331487}.
80-
81-
Student (1908).
82-
The probable error of a mean.
83-
\emph{Biometrika}, \bold{6}, 1--25.
84-
\doi{10.2307/2331554}.
69+
\bibshow{*, R:Garson:1900, R:Student:1908}
8570
}
8671
\examples{
8772
require(stats)

src/library/datasets/man/faithful.Rd

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% File src/library/datasets/man/faithful.Rd
22
% Part of the R package, https://www.R-project.org
3-
% Copyright 1995-2018 R Core Team
3+
% Copyright 1995-2025 R Core Team
44
% Distributed under GPL 2 or later
55

66
\name{faithful}
@@ -22,14 +22,7 @@
2222
}
2323
\source{W. Härdle.}
2424
\references{
25-
\enc{Härdle}{Haerdle}, W. (1991).
26-
\emph{Smoothing Techniques with Implementation in S}.
27-
New York: Springer.
28-
29-
Azzalini, A. and Bowman, A. W. (1990).
30-
A look at some data on the Old Faithful geyser.
31-
\emph{Applied Statistics}, \bold{39}, 357--365.
32-
\doi{10.2307/2347385}.
25+
\bibshow{*, R:Härdle:1991}
3326
}
3427
\details{
3528
A closer look at \code{faithful$eruptions} reveals that these are
@@ -38,7 +31,7 @@
3831
better version of the eruption times, see the example below.
3932

4033
There are many versions of this dataset around:
41-
\bibcite{Azzalini and Bowman (1990)} use a more complete version.
34+
\bibcitet{R:Azzalini+Bowman:1990} use a more complete version.
4235
}
4336
\seealso{
4437
\code{geyser} in package \CRANpkg{MASS} for the \I{Azzalini}--\I{Bowman} version.

src/library/datasets/man/gait.Rd

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,6 @@
1919
\item{\code{Variable}}{\code{"Hip Angle"} and \code{"Knee Angle"}}
2020
}
2121
}
22-
\references{
23-
Olshen, R. A., Biden, E. N., Wyatt, M. P., and Sutherland, D. (1989)
24-
Gait Analysis and the Bootstrap.
25-
\emph{Annals of Statistics} \bold{17}, 4, 1419--1440.
26-
\doi{10.1214/AOS/1176347372}
27-
28-
Ramsay, J. O., and Silverman, B. W. (2006)
29-
\emph{Functional Data Analysis}, 2nd ed., New York: Springer.
30-
31-
Ramsay, J. (2023) \emph{fda: Functional Data Analysis}.
32-
R package version 6.1.4, \url{https://CRAN.R-project.org/package=fda}.
33-
}
3422
\source{
3523
In the FDA book (2006), p.8, \emph{\dQuote{The Motion Analysis Laboratory at
3624
Children's Hospital, San Diego, collected these data}}.
@@ -39,10 +27,13 @@
3927
This is the version of the data as in the \CRANpkg{fda} package and
4028
corresponding textbooks, but with named dimensions. One record appears to be
4129
duplicated from the original paper,
42-
\bibcite{Olshen \abbr{et al.}\sspace(1989)}, which
30+
\bibcitet{R:Olshen+Biden+Wyatt:1989}, which
4331
analyses a sample of 38 boys. The \code{gait} dataset has 39 boys but
4432
\code{boy19} and \code{boy26} have identical measurements.
4533
}
34+
\references{
35+
\bibshow{*, R:Ramsay+Silverman:2005, R:Ramsay:2023}
36+
}
4637
\examples{
4738
plot(gait[, 1, ], type = "b",
4839
xlim = range(gait[,,1]), ylim = range(gait[,,2]),

src/library/datasets/man/lynx.Rd

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,23 @@
11
% File src/library/datasets/man/lynx.Rd
22
% Part of the R package, https://www.R-project.org
3-
% Copyright 1995-2018 R Core Team
3+
% Copyright 1995-2025 R Core Team
44
% Distributed under GPL 2 or later
55

66
\name{lynx}
77
\docType{data}
88
\alias{lynx}
99
\title{Annual Canadian Lynx trappings 1821--1934}
1010
\description{
11-
Annual numbers of lynx trappings for 1821--1934 in Canada. Taken from
12-
\bibcite{Brockwell & Davis (1991)}, this appears to be the series considered
13-
by \bibcite{Campbell & Walker (1977)}.
11+
Annual numbers of lynx trappings for 1821--1934 in Canada.
12+
Taken from \bibcitet{R:Brockwell+Davis:1991}, this appears to be the
13+
series considered by \bibcitet{R:Campbell+Walker:1977}.
1414
}
1515
\usage{lynx}
1616
\source{
17-
Brockwell, P. J. and Davis, R. A. (1991).
18-
\emph{Time Series and Forecasting Methods}. Second edition.
19-
Springer. Series G (page 557).
17+
\bibinfo{R:Brockwell+Davis:1991}{footer}{Series G (page 557).}
18+
\bibshow{R:Brockwell+Davis:1991}
2019
}
2120
\references{
22-
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988).
23-
\emph{The New S Language}.
24-
Wadsworth & Brooks/Cole.
25-
26-
Campbell, M. J. and Walker, A. M. (1977).
27-
A Survey of statistical work on the Mackenzie River series of annual
28-
Canadian lynx trappings for the years 1821--1934 and a new analysis.
29-
\emph{Journal of the Royal Statistical Society Series A}, \bold{140},
30-
411--431.
31-
\doi{10.2307/2345277}.
21+
\bibshow{R:Becker+Chambers+Wilks:1988, R:Campbell+Walker:1977}
3222
}
3323
\keyword{datasets}

src/library/datasets/man/mtcars.Rd

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% File src/library/datasets/man/mtcars.Rd
22
% Part of the R package, https://www.R-project.org
3-
% Copyright 1995-2018 R Core Team
3+
% Copyright 1995-2025 R Core Team
44
% Distributed under GPL 2 or later
55

66
\name{mtcars}
@@ -31,12 +31,10 @@
3131
}
3232
}
3333
\source{
34-
Henderson and Velleman (1981),
35-
Building multiple regression models interactively.
36-
\emph{Biometrics}, \bold{37}, 391--411.
34+
\bibshow{R:Henderson+Velleman:1981}
3735
}
3836
\note{
39-
\bibcite{Henderson and Velleman (1981)} comment in a footnote to Table 1:
37+
\bibcitet{R:Henderson+Velleman:1981} comment in a footnote to Table 1:
4038
\sQuote{Hocking [original transcriber]'s noncrucial coding of the
4139
Mazda's rotary engine as a straight six-cylinder engine and the
4240
Porsche's flat engine as a V engine, as well as the inclusion of the

src/library/datasets/man/penguins.Rd

Lines changed: 19 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -64,47 +64,31 @@ penguins_raw
6464
}
6565
\source{
6666
\describe{
67-
\item{\enc{Adélie}{Adelie} penguins:}{Palmer Station Antarctica \acronym{LTER} and K. Gorman (2020).
68-
Structural size measurements and isotopic signatures of foraging
69-
among adult male and female \enc{Adélie}{Adelie} penguins (Pygoscelis adeliae)
70-
nesting along the Palmer Archipelago near Palmer Station, 2007-2009
71-
ver 5. Environmental Data Initiative, \doi{10.6073/pasta/98b16d7d563f265cb52372c8ca99e60f}.}
72-
73-
\item{Gentoo penguins:}{Palmer Station Antarctica \acronym{LTER} and K. Gorman (2020).
74-
\doi{10.6073/pasta/7fca67fb28d56ee2ffa3d9370ebda689}.}
75-
76-
\item{Chinstrap penguins:}{Palmer Station Antarctica \acronym{LTER} and K. Gorman (2020).
77-
\doi{10.6073/pasta/c14dfcfada8ea13a17536e73eb6fbe9e}.}
67+
\item{\enc{Adélie}{Adelie} penguins:}{
68+
\bibshow{R:Palmer_Station_Antarctica_LTER+Gorman:2020a}
69+
}
70+
\item{Gentoo penguins:}{
71+
\bibshow{R:Palmer_Station_Antarctica_LTER+Gorman:2020b}
72+
}
73+
\item{Chinstrap penguins:}{
74+
\bibshow{R:Palmer_Station_Antarctica_LTER+Gorman:2020c}
75+
}
7876
}
7977

8078
The title naming convention for the source for the Gentoo and Chinstrap
8179
data is that same as for \enc{Adélie}{Adelie} penguins.
8280
}
83-
\references{
84-
Gorman, K. B., Williams, T. D. and Fraser, W. R. (2014)
85-
Ecological Sexual Dimorphism and Environmental Variability within a
86-
Community of Antarctic Penguins (Genus Pygoscelis).
87-
\emph{PLoS ONE} \bold{9}, 3, e90081; \doi{10.1371/journal.pone.0090081}.
88-
89-
Horst, A. M., Hill, A. P. and Gorman, K. B. (2022)
90-
Palmer Archipelago Penguins Data in the palmerpenguins R Package
91-
- An Alternative to Anderson's Irises.
92-
\emph{R Journal} \bold{14}, 1; \doi{10.32614/RJ-2022-020}.
93-
94-
Kaye, E., Turner, H., Gorman, K. B., Horst, A. M. and Hill, A. P. (2025)
95-
Preparing the Palmer Penguins Data for the \pkg{datasets} Package in R.
96-
\doi{10.5281/zenodo.14902740}.
97-
}
9881
\details{
99-
\bibcite{Gorman \abbr{et al.}\sspace(2014)}
82+
\bibcitet{R:Gorman+Williams+Fraser:2014}
10083
used the data to study sex dimorphism separately for the three species.
10184

102-
\bibcite{Horst \abbr{et al.}\sspace(2022)} popularized the data as an illustration
103-
for different statistical methods, as an alternative to the \code{\link{iris}} data.
85+
\bibcitet{R:Horst+Presmanes_Hill+Gorman:2022} popularized the data as
86+
an illustration for different statistical methods, as an alternative
87+
to the \code{\link{iris}} data.
10488

105-
\bibcite{Kaye \abbr{et al.}\sspace(2025)} provide the scripts used to create
106-
these data sets from the original source data,
107-
and a notebook reproducing results from \bibcite{Gorman \abbr{et al.}\sspace(2014)}.
89+
\bibcitet{R:Kaye+Turner+Gorman:2025} provide the scripts used to
90+
create these data sets from the original source data, and a notebook
91+
reproducing results from \bibcitet{R:Gorman+Williams+Fraser:2014}.
10892
}
10993
\note{
11094
These data sets are also available in the \CRANpkg{palmerpenguins} package.
@@ -114,6 +98,9 @@ penguins_raw
11498
The \code{penguins} data has some shorter variable names than the \pkg{palmerpenguins} version,
11599
for compact code and data display.
116100
}
101+
\references{
102+
\bibshow{*}
103+
}
117104
\examples{
118105
## view summaries
119106
summary(penguins)

0 commit comments

Comments
 (0)