prev: prev

View source: R/summary.R

prevR Documentation

prev

Description

A method for calculating prevalance in a paratb model

Usage

prev(
  model,
  class = c("true", "calf", "heifer", "cow", "apparent", "milk"),
  type = c("nop", "wnp"),
  ...
)

Arguments

model

A paratb model object

class

The age category or sample type that you want the prevalance from

type

the type pf prevalance

...

Other arguments

Details

This just assembles the pieces to pass onto the SimInf::prevalance function.

Value

A data.frame from the SimInf::prevalance method

Author(s)

Thomas Rosendal


trosendal/paratb documentation built on Oct. 7, 2022, 3:42 p.m.