marinebon / obisindicators

R package for generating indicators from OBIS
https://marinebon.github.io/obisindicators/
Other
6 stars 4 forks source link

create initial function: `calc_es50()` #1

Closed bbest closed 2 years ago

bbest commented 2 years ago

Use:

bbest commented 2 years ago

Used the following, per Chapter 2 The whole game | R Packages:

# create package
usethis::create_package(".")

# created function in new file R/analysis.R
# added documentation above function as comments with RStudio menu Code, Insert Roxygen skeleton

# make documentation (into man/*.Rd)
devtools::document()

# check documentation
devtools::load_all()
?calc_es50
image