Learn R Programming

RDS (version 0.9-9)

get.wave: Calculates the depth of the recruitment tree (i.e. the recruitment wave) at each node.

Description

Calculates the depth of the recruitment tree (i.e. the recruitment wave) at each node.

Usage

get.wave(data)

Arguments

data

An rds.data.frame

Examples

Run this code
data(fauxmadrona)
#number subjects in each wave
w <- get.wave(fauxmadrona)
#number recruited in each wave
barplot(table(w))

Run the code above in your browser using DataLab