pool_build: Build the regional species pool

Description Usage Arguments Value Examples

View source: R/pool_build.R

Description

Regional species pool

Usage

1
pool_build(seed = 1, save_data = TRUE, data_name = "species_pool")

Arguments

seed

the seed for sampling. Default = 1.

save_data

whether to save species characteristic in a RData file. Logical.

data_name

if 'save_data' == TRUE, specify the name of the RData file. String.

Value

...

Examples

1
2
3
4
5
6
7
8
# Load packages and example parameters
library(tidyverse)
data(example_parameter)

# Build regional species pool
pool_build(save_data = FALSE)

# Function that defines species abilities: m, u, w, and stoi

Chang-Yu-Chang/MigrationCommunity documentation built on Aug. 13, 2019, 9:41 p.m.