Skip to content
This repository has been archived by the owner on Jul 23, 2023. It is now read-only.

Commit

Permalink
Rename df to dfm to avoid clash with stats::df().
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolepore committed Oct 15, 2018
1 parent 2d6d282 commit b1e02a3
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 20 deletions.
6 changes: 3 additions & 3 deletions R/data.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#' A concatenation of 3 mini "bci-stem_YEAR" datasets.
#'
#' `df` concatenates the 3 mini "bci-stem_YEAR" datasets. It avoids going
#' `dfm` concatenates the 3 mini "bci-stem_YEAR" datasets. It avoids going
#' through lines.
#'
#' @examples
#' str(df)
"df"
#' str(dfm)
"dfm"

#' Species table from from Barro Colorado Island (BCI).
#'
Expand Down
5 changes: 3 additions & 2 deletions data-raw/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
paths <- fs::dir_ls(here::here("data-raw"), glob = "*.rda")
purrr::map(paths, load, envir = globalenv())

# Source: Ervan Rutishauser (er.rutishauser@gmail.com). Documente in R/data.R
# Source: Ervan Rutishauser (er.rutishauser@gmail.com). Documented in R/data.R

# Use data (compress and move each dataset to data/)
dfm <- DF
use_data(
bci.spptable,
bci_stem_1995,
Expand All @@ -13,6 +14,6 @@ use_data(
ficus,
site.info,
WSG,
df,
dfm,
overwrite = TRUE
)
Binary file removed data/df.rda
Binary file not shown.
Binary file added data/dfm.rda
Binary file not shown.
15 changes: 0 additions & 15 deletions man/df.Rd

This file was deleted.

18 changes: 18 additions & 0 deletions man/dfm.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b1e02a3

Please sign in to comment.