ppc: PPC data.frame

View source: R/ppc_fit.R

df_ppcR Documentation

PPC data.frame

Description

This is the generic ppc S3 method for plots of the predicted values along with 95\ versus the observed values for fitTK objects.

Usage

df_ppc(fit, ...)

## S3 method for class 'fitTK'
df_ppc(fit, ...)

ppc(fit, ...)

## S3 method for class 'fitTK'
ppc(fit, ...)

Arguments

fit

And object returned by fitTK

...

Additional arguments

Details

The black points show the observed number of survivors (pooled replicates, on X-axis) against the corresponding predicted number (Y-axis). Predictions come along with 95\ intervals, which are depicted in green when they contain the observed value and in red otherwise. Samples with equal observed value are shifted on the X-axis. For that reason, the bisecting line (y = x), is represented by steps when observed values are low. That way we ensure green intervals do intersect the bisecting line.

Value

A data frame with median and 95\

a plot of class ggplot


rbioacc documentation built on May 29, 2024, 3:57 a.m.