Skip to content

Commit c6901b1

Browse files
committed
doc: standardize reference format
1 parent 5da778f commit c6901b1

5 files changed

Lines changed: 22 additions & 24 deletions

File tree

R/data.R

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
#' Literature source of the species coefficients (see References)}
3939
#' }
4040
#' @examples
41-
#' # Abies grandis
4241
#' cw_coef[cw_coef$SPCD == 17, ]
4342
#' @source
4443
#' Toney et al. 2009. A stem-map model for predicting tree canopy cover of
@@ -47,14 +46,14 @@
4746
#' @references
4847
#' Bechtold, W.A. 2003. Crown-Diameter Prediction Models for 87 Species of
4948
#' Stand-Grown Trees in the Eastern United States. _Southern Journal of Applied
50-
#' Forestry_, Vol. 27, No. 4, 269-278.
49+
#' Forestry_, 27(4): 269-278.
5150
#'
5251
#' Bechtold, W.A. 2004. Largest-Crown-Width Prediction Models for 53 Species in
53-
#' the Western United States. _Western Journal of Applied Forestry_, Vol. 19,
54-
#' No. 4, 245-251.
52+
#' the Western United States. _Western Journal of Applied Forestry_, 19(4):
53+
#' 245-251.
5554
#'
5655
#' Gill, S.J., G.S. Biging, E.C. Murphy. 2000. Modeling conifer tree crown
57-
#' radius and estimating canopy cover. _Forest Ecology and Management_, 126,
56+
#' radius and estimating canopy cover. _Forest Ecology and Management_, 126(3):
5857
#' 405-416.
5958
"cw_coef"
6059

@@ -74,9 +73,10 @@
7473
#' equations for some species.
7574
#'
7675
#' Adjustment is based on the proportion of crown width predicted for 5-in.
77-
#' (12.7 cm) diameter, at each 1-in. (2.54 cm) increment below that. Intermediate
78-
#' values are interpolated in the crown width prediction method. Mean adjustment
79-
#' factors are used if a species-specific adjustment is not available.
76+
#' (12.7 cm) diameter, at each 1-in. (2.54 cm) increment below that.
77+
#' Intermediate values are interpolated in the crown width prediction method.
78+
#' Mean adjustment factors are used if a species-specific adjustment is not
79+
#' available.
8080
#'
8181
#' @format ## `cw_sapling_adj`
8282
#' A data frame with 23 rows and 5 columns:
@@ -92,7 +92,6 @@
9292
#' CW adjustment factor at 4 in. DIA relative to 5 in. DIA}
9393
#' }
9494
#' @examples
95-
#' # Tsuga canadensis
9695
#' cw_coef[cw_coef$SPCD == 261, ]
9796
#'
9897
#' cw_sapling_adj[cw_sapling_adj$SPCD == 261, ]

R/spatstat_helpers.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@
6868
#' values (e.g. colors or types).
6969
#'
7070
#' @references
71-
#' Baddeley A, Rubak E, Turner R (2015). _Spatial Point Patterns: Methodology
71+
#' Baddeley, A., E. Rubak, R. Turner. 2015. _Spatial Point Patterns: Methodology
7272
#' and Applications with R_. Chapman and Hall/CRC Press, London.
7373
#' ISBN 9781482210200,
7474
#' \url{https://www.routledge.com/Spatial-Point-Patterns-Methodology-and-Applications-with-R/Baddeley-Rubak-Turner/p/book/9781482210200/}.
7575
#'
76-
#' Ripley, B.D. (1977) Modelling spatial patterns. _Journal of the Royal
77-
#' Statistical Society: Series B (Methodological)_, **39**:2, 172–192.
76+
#' Ripley, B.D. 1977. Modelling spatial patterns. _Journal of the Royal
77+
#' Statistical Society: Series B (Methodological)_, 39(2): 172–192.
7878
#' \url{https://doi.org/10.1111/j.2517-6161.1977.tb01615.x}.
7979
#'
8080
#' @seealso

man/cw_coef.Rd

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

man/cw_sapling_adj.Rd

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

man/spatstat_helpers.Rd

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

0 commit comments

Comments
 (0)