+
Skip to content

SiRE-P/SiREfunctions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SiREfunctions

Package that includes functions and data for use across projects

Installation

# install.packages("devtools")
devtools::install_github("SiRE-P/SiREfunctions")

Functions

Here is a list of functions included in this package:

Function Description
pt_theme This function applies a custom theme to a ggplot object. It is based on theme_bw(), but with grid lines removed and facet boxes white with no border.
geom_split_violin Create a split violin plot
unscale This function takes data on a standardized (mean = 0, sd = 1) scale and converts it back to the original scale. This is useful for converting predictions from models that used standardized variables back to their original scale.
run_or_load_model Compiles and samples a CmdStanR model only when needed, based on hash comparisons of the Stan file, data, and sampling arguments. Supports multi-threading and caching of compiled models and fitted objects to disk.

Data

Here is a list of data included in this package:

Data Description
BC_coast_low_res A low resolution sf polygon shape file for the BC coastline

About

R package that includes custom functions used across projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载