Skip to contents

Age-Sex Pyramid Module - Server Function

Usage

modPyramidServer(id, pedigreeData)

Arguments

id

character vector of length 1. Module namespace identifier.

pedigreeData

reactive returning pedigree data frame.

Value

A list with two elements: pedigree, a reactive returning the pedigree data frame, and animalCount, a reactive returning the number of animal rows.