Skip to content

Commit f7f2e6f

Browse files
committed
doc: various updates and add spelling word list
1 parent d814f9f commit f7f2e6f

8 files changed

Lines changed: 125 additions & 33 deletions

File tree

DESCRIPTION

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ Package: FIAstemmap
22
Title: Stand structure analysis of US national forest inventory plots
33
Version: 0.0.0.9000
44
Authors@R:
5-
person("Chris", "Toney", , "chris.toney@usda.gov", role = c("aut", "cre"))
5+
person("Chris", "Toney", email = "jctoney@gmail.com",
6+
role = c("aut", "cre"), comment = c(ORCID = "0000-0001-5734-6510"))
67
Description: Maps individual tree stem locations on field plots of the Forest
78
Inventory and Analysis (FIA) Program of USDA Forest Service. Stem locations
89
are mapped in cartesian coordinate space based on distance and azimuth
@@ -18,10 +19,14 @@ Description: Maps individual tree stem locations on field plots of the Forest
1819
License: MIT + file LICENSE
1920
Depends: R (>= 4.1.0)
2021
Imports: gdalraster, methods, spatstat.geom
21-
Suggests: spatstat.explore, testthat (>= 3.0.0)
22+
Suggests:
23+
spatstat.explore,
24+
spelling,
25+
testthat (>= 3.0.0)
2226
URL: https://ctoney.github.io/FIAstemmap/
2327
Config/testthat/edition: 3
2428
Encoding: UTF-8
2529
LazyData: true
2630
Roxygen: list(markdown = TRUE)
2731
RoxygenNote: 7.3.3
32+
Language: en-US

R/spatstat_helpers.R

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#' Helper functions for spatial point pattern analysis of FIA plots
1+
#' Analyze tree spatial pattern on FIA plots
22
#'
3-
#' Functions that facilitate analysis of FIA tree data using the \pkg{spatstat}
4-
#' library.
3+
#' Functions that facilitate point pattern analysis of FIA tree data using the
4+
#' \pkg{spatstat} library.
55
#'
66
#' @name spatstat_helpers
77
#' @details
@@ -48,7 +48,7 @@
4848
#' @param npoly Integer value giving the number of edges to use for polygon
4949
#' approximation. Defaults to `360`.
5050
#' @param tree_list A data frame containing a set of tree records for one FIA
51-
#' plot (see Deatils).
51+
#' plot (see Details).
5252
#' @param live_trees A logical value, `TRUE` to include live trees only (the
5353
#' default, i.e., `STATUSCD == 1`).
5454
#' @param min_dia A numeric value specifying the minimum diameter threshold
@@ -63,7 +63,7 @@
6363
#' to designate as \pkg{spatstat} `marks` which carry additional information for
6464
#' each data point in a point pattern object.
6565
#' @param mark_as_factor An optional subset of `mark_cols` to be treated as
66-
#' `factor` marks. If not already `factor`, these will be corced as such upon
66+
#' `factor` marks. If not already `factor`, these will be coerced as such upon
6767
#' input. `factor` marks are those that take only a finite number of possible
6868
#' values (e.g. colors or types).
6969
#'
@@ -78,15 +78,15 @@
7878
#'
7979
#' plot(w, main = "FIA standard four-subplot design")
8080
#'
81-
#' # point pattern object for the plantation example dataset
81+
#' # point pattern object for the plantation example data
8282
#' X <- create_fia_ppp(plantation)
8383
#' summary(X)
8484
#'
85-
#' plot(X, main = "Pine plantation stem map")
85+
#' plot(X, pch = 16, main = "Loblolly pine plantation")
8686
#'
8787
#' # plot trees as trees :)
8888
#' X <- create_fia_ppp(plantation, mark_cols = "SPCD")
89-
#' plot(X, main = "Pine plantation stem map",
89+
#' plot(X, main = "Loblolly pine plantation",
9090
#' shape = "arrows", direction = 90, size = 12, cols = "darkgreen",
9191
#' background = "gray90", legend = FALSE)
9292
#'

README.Rmd

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ knitr::opts_chunk$set(
1313
)
1414
```
1515

16-
1716
# FIA stem map
1817

1918
<!-- badges: start -->
2019
<!-- badges: end -->
2120

22-
**This is an implementation update, currently in-development**
21+
## NOTE: this repo is an implementation update currently in-development
2322

24-
The Forest Inventory and Analysis (FIA) Program of USDA Forest Service provide tree-level measurements from a systematic grid of field plots across all forest ownerships and land uses in the US. **FIAstemmap** is an R package for mapping tree stem locations on FIA plots, modeling individual crown dimensions, and generating plot-level estimates of fractional tree canopy cover. Several stand height metrics can be calculated. Spatial analysis of tree point pattern is facilitated for the standard FIA four-point cluster plot design. Efficient data processing supports national applications. The package provides an updated implementation of the software originally described by Toney et al. 2009 [[1]](#References). The original implementation for modeling plot canopy cover from individual tree measurements has supported several applications of FIA data, including:
23+
The Forest Inventory and Analysis Program ([FIA](https://research.fs.usda.gov/programs/nfi)) of USDA Forest Service provide tree-level measurements from a systematic grid of field plots across all forest ownerships and land uses in the US. **FIAstemmap** is an R package for mapping tree stem locations on FIA plots, modeling individual crown dimensions, and generating plot-level estimates of fractional tree canopy cover. Several stand height metrics can be calculated. Spatial analysis of tree point pattern is facilitated for the standard FIA four-point cluster plot design. Efficient data processing supports national applications. The package provides an updated implementation of the software originally described by Toney et al. 2009 [[1]](#References). The original implementation for modeling plot canopy cover from individual tree measurements has supported several applications of FIA data, including:
2524

2625
* reference data for classifying vegetation types and mapping tree canopy cover in the LANDFIRE Program [[2, 3, 4, 5]](#References)
2726
* National Land Cover Database (NLCD) Tree Canopy Cover (TCC) science and development [[6]](#References)
@@ -51,7 +50,7 @@ library(FIAstemmap)
5150

5251
[1] Toney, Chris; Shaw, John D.; Nelson, Mark D. 2009. A stem-map model for predicting tree canopy cover of Forest Inventory and Analysis (FIA) plots. In: McWilliams, Will; Moisen, Gretchen; Czaplewski, Ray, comps. _Forest Inventory and Analysis (FIA) Symposium 2008_; October 21-23, 2008; Park City, UT. Proc. RMRS-P-56CD. Fort Collins, CO: U.S. Department of Agriculture, Forest Service, Rocky Mountain Research Station. 19 p. Available: https://research.fs.usda.gov/treesearch/33381.
5352

54-
[2] LANDFIRE: LANDFIRE Existing Vegetation Cover layer. (LF2024 version releasd 2025 - last update). U.S. Department of Interior, Geological Survey, and U.S. Department of Agriculture. [Online]. Available: https://landfire.gov/vegetation/evc [accessed 2026, Feb 24].
53+
[2] LANDFIRE: LANDFIRE Existing Vegetation Cover layer. (LF2024 version released 2025 - last update). U.S. Department of Interior, Geological Survey, and U.S. Department of Agriculture. [Online]. Available: https://landfire.gov/vegetation/evc [accessed 2026, Feb 24].
5554

5655
[3] Moore, Annabelle; La Puma, Inga; Dillon, Greg; Smail, Tobin; Schleeweis, Karen; Toney, Chris; Menakis, Jim; Bastian, Henry; Picotte, Josh; Dockter, Daryn; Tolk, Brian. 2024. Twenty years of science and management with LANDFIRE. Connected Science, October 2024. Fort Collins, CO: U.S. Department of Agriculture, Forest Service, Rocky Mountain Research Station. 2 p. Available: https://research.fs.usda.gov/treesearch/68397.
5756

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,17 @@
77

88
<!-- badges: end -->
99

10-
**This is an implementation update, currently in-development**
11-
12-
The Forest Inventory and Analysis (FIA) Program of USDA Forest Service
13-
provide tree-level measurements from a systematic grid of field plots
14-
across all forest ownerships and land uses in the US. **FIAstemmap** is
15-
an R package for mapping tree stem locations on FIA plots, modeling
16-
individual crown dimensions, and generating plot-level estimates of
17-
fractional tree canopy cover. Several stand height metrics can be
18-
calculated. Spatial analysis of tree point pattern is facilitated for
19-
the standard FIA four-point cluster plot design. Efficient data
10+
## NOTE: this repo is an implementation update currently in-development
11+
12+
The Forest Inventory and Analysis Program
13+
([FIA](https://research.fs.usda.gov/programs/nfi)) of USDA Forest
14+
Service provide tree-level measurements from a systematic grid of field
15+
plots across all forest ownerships and land uses in the US.
16+
**FIAstemmap** is an R package for mapping tree stem locations on FIA
17+
plots, modeling individual crown dimensions, and generating plot-level
18+
estimates of fractional tree canopy cover. Several stand height metrics
19+
can be calculated. Spatial analysis of tree point pattern is facilitated
20+
for the standard FIA four-point cluster plot design. Efficient data
2021
processing supports national applications. The package provides an
2122
updated implementation of the software originally described by Toney et
2223
al. 2009 [\[1\]](#References). The original implementation for modeling
@@ -62,7 +63,7 @@ Station. 19 p. Available:
6263
<https://research.fs.usda.gov/treesearch/33381>.
6364

6465
\[2\] LANDFIRE: LANDFIRE Existing Vegetation Cover layer. (LF2024
65-
version releasd 2025 - last update). U.S. Department of Interior,
66+
version released 2025 - last update). U.S. Department of Interior,
6667
Geological Survey, and U.S. Department of Agriculture. \[Online\].
6768
Available: <https://landfire.gov/vegetation/evc> \[accessed 2026, Feb
6869
24\].

inst/CITATION

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
bibentry(
2+
bibtype = "InProceedings",
3+
title = "A stem-map model for predicting tree canopy cover of Forest Inventory and Analysis (FIA) plots",
4+
author = c(
5+
person("Chris", "Toney", role = "aut", comment = c(ORCID = "0000-0001-5734-6510")),
6+
person(c("John", "D."), "Shaw", role = "aut"),
7+
person(c("Mark", "D."), "Nelson", role = "aut")),
8+
year = "2009",
9+
booktitle = "Forest Inventory and Analysis (FIA) Symposium 2008",
10+
editor = as.person("Will McWilliams [com], Gretchen Moisen [com], Ray Czaplewski [com]"),
11+
month = "October 21-23, 2008",
12+
address = "Park City, UT",
13+
number = "RMRS-P-56CD",
14+
organization = "USDA Forest Service, Rocky Mountain Research Station",
15+
publisher = "USDA Forest Service, Rocky Mountain Research Station",
16+
url = "https://research.fs.usda.gov/treesearch/33381"
17+
)

inst/WORDLIST

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
ACTUALHT
2+
Asheville
3+
Bastian
4+
Bechtold
5+
Biging
6+
Cadaret
7+
Chengquan
8+
Connot
9+
Czaplewski
10+
Dacia
11+
Daryn
12+
Dockter
13+
FIA
14+
Furnas
15+
Garman
16+
Goerndt
17+
ISSN
18+
Inga
19+
Kaphan
20+
Kasia
21+
Klauer
22+
Kost
23+
LANDFIRE
24+
LF
25+
Liknes
26+
MCFNS
27+
Mancos
28+
McGrann
29+
McGwire
30+
McWilliams
31+
Menakis
32+
Meneguzzo
33+
Mensurationists
34+
Moisen
35+
NAIP
36+
NLCD
37+
Nouwakpo
38+
Picotte
39+
Proc
40+
RMRS
41+
Roesch
42+
SRS
43+
Schleeweis
44+
Shettles
45+
Smail
46+
Spaeth
47+
TCC
48+
Tavernia
49+
Tobin
50+
Tolk
51+
Vogelmann
52+
Vojta
53+
WO
54+
Weltz
55+
Xuexia
56+
al
57+
allometric
58+
et
59+
loblolly
60+
macroplot
61+
microplot
62+
microplots
63+
midwest
64+
ownerships
65+
rangeland
66+
rangelands
67+
spatstat

man/spatstat_helpers.Rd

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

tests/spelling.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
if(requireNamespace('spelling', quietly = TRUE))
2+
spelling::spell_check_test(vignettes = TRUE, error = FALSE,
3+
skip_on_cran = TRUE)

0 commit comments

Comments
 (0)