Learn R Programming

AnimalAPD (version 1.0.0)

plotAPDcv: Plot APDcv Posterior Samples

Description

Plot histogram of samples from posterior distribution for estimated APD family-specific population coefficient of variation (CV) from APDRE function

Usage

plotAPDcv(model, histcol = "deeppink", linecol = "black")

Arguments

model

Output from APDRE function, an object of class APD

histcol

Colour for histogram

linecol

Colour for 95% HDI line

Value

Histogram plot of samples from posterior distribution for estimated APDavg

Examples

Run this code
# NOT RUN {
data(wolfexample)
data(boarexample)
# }
# NOT RUN {
 WolfBoarAPD<-APDRE(focal=wolfexample$Radians, contingent=boarexample$Radians,
    RE1=wolfexample$SamplingPeriod)
    plotAPDcv(WolfBoarAPD) 
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab