Skip to content

Commit a24f21c

Browse files
committed
add link to spatstat.explore [no chk]
1 parent 20a45fd commit a24f21c

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

README.Rmd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ pak::pak("firelab/FIAstemmap")
4949

5050
### Predict tree crown width
5151

52-
The data frame `cw_coef` contains a curated set of linear regression coefficients for predicting crown width from stem diameter of tree species in the conterminous US (see `?cw_coef`). The method for crown width prediction attempts to avoid extrapolation beyond the range of the model fitting data by providing reasonable fall backs for the obvious cases. Details are given in the documentation for `calc_crwidth()`. The input is a data frame of tree records which must have columns `SPCD` (FIA species code), `STATUSCD` (FIA tree status code, `1` = live) and `DIA` (FIA tree diameter). FIA distribute data in [United States customary units](https://en.wikipedia.org/wiki/United_States_customary_units) with tree diameter given in inches, height in feet, and area in acres. Convenience functions are provided for converting to and from SI units[^1^](#footnotes) (`in_to_cm()`, `cm_to_in()`, `ft_to_m()`, `m_to_ft()`, `ac_to_ha()`, `ha_to_ac()`).
52+
The data frame `cw_coef` contains a curated set of linear regression coefficients for predicting crown width from stem diameter of tree species in the conterminous US (see `?cw_coef`). The method for crown width prediction attempts to avoid extrapolation beyond the range of the model fitting data by providing reasonable fall backs for the obvious cases. Details are given in the documentation for `calc_crwidth()`.
53+
54+
The input is a data frame of tree records which must have columns `SPCD` (FIA species code), `STATUSCD` (FIA tree status code, `1` = live) and `DIA` (FIA tree diameter). FIA distribute data in [United States customary units](https://en.wikipedia.org/wiki/United_States_customary_units) with tree diameter given in inches, height in feet, and area in acres. Convenience functions are provided for converting to and from SI units[^1^](#footnotes) (`in_to_cm()`, `cm_to_in()`, `ft_to_m()`, `m_to_ft()`, `ac_to_ha()`, `ha_to_ac()`).
5355

5456
The `plantation` dataset used here is an example tree list included in the package.
5557

@@ -83,7 +85,7 @@ plot_crowns(tree_list, subplot = 4, microplot = TRUE,
8385
main = "Loblolly pine plantation microplot 4")
8486
```
8587

86-
Helper functions facilitate the analysis of FIA tree lists as spatial point patterns using the **spatstat** library. `create_fia_ppp()` returns an object of class `"ppp"` representing the point pattern of an FIA tree list in the 2-D plane. This object can be used with functions of **spatstat.explore** which provide additional plotting capabilities, descriptive spatial statistics, and other exploratory data analysis.
88+
Helper functions facilitate the analysis of FIA tree lists as spatial point patterns using the **spatstat** library. `create_fia_ppp()` returns an object of class `"ppp"` representing the point pattern of an FIA tree list in the 2-D plane. This object can be used with functions of [**spatstat.explore**](https://cran.r-project.org/package=spatstat.explore) which provide additional plotting capabilities, descriptive spatial statistics, and other exploratory data analysis.
8789

8890
```{r spatstat-explore}
8991
## Create a spatstat point pattern object for the pine plantation tree list.

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ coefficients for predicting crown width from stem diameter of tree
6868
species in the conterminous US (see `?cw_coef`). The method for crown
6969
width prediction attempts to avoid extrapolation beyond the range of the
7070
model fitting data by providing reasonable fall backs for the obvious
71-
cases. Details are given in the documentation for `calc_crwidth()`. The
72-
input is a data frame of tree records which must have columns `SPCD`
71+
cases. Details are given in the documentation for `calc_crwidth()`.
72+
73+
The input is a data frame of tree records which must have columns `SPCD`
7374
(FIA species code), `STATUSCD` (FIA tree status code, `1` = live) and
7475
`DIA` (FIA tree diameter). FIA distribute data in [United States
7576
customary
@@ -152,8 +153,10 @@ Helper functions facilitate the analysis of FIA tree lists as spatial
152153
point patterns using the **spatstat** library. `create_fia_ppp()`
153154
returns an object of class `"ppp"` representing the point pattern of an
154155
FIA tree list in the 2-D plane. This object can be used with functions
155-
of **spatstat.explore** which provide additional plotting capabilities,
156-
descriptive spatial statistics, and other exploratory data analysis.
156+
of
157+
[**spatstat.explore**](https://cran.r-project.org/package=spatstat.explore)
158+
which provide additional plotting capabilities, descriptive spatial
159+
statistics, and other exploratory data analysis.
157160

158161
``` r
159162
## Create a spatstat point pattern object for the pine plantation tree list.

0 commit comments

Comments
 (0)