Skip to contents

Calculates the shape parameters needed to sample a beta distribution for both immature survival and mature survival

Usage

surv.shape(env.ci, raw.means)

Arguments

env.ci

Proportion of environmental variance used to define mature survival rate per generation. Must be a single integer greater than or equal to 0 and less than 1.

raw.means

Mean probability of mature survival or immature survival. Must be a list of three integer between 0 and 1.

Value

Matrix of alpha and beta parameters where matrix1,i is the alpha value for the ith mean, and matrix2,i

is the beta value for the ith mean.