PriorPosterior: Return Prior and Posterior density of parameters of 'SurvFit'...

PriorPosteriorR Documentation

Return Prior and Posterior density of parameters of SurvFit object

Description

This is the generic pp S3 method for the survFitTT class. It plots the predicted values with 95 \ values for SurvFit objects.

The coordinates of black points are the observed values of the number of survivors (pooled replicates) for a given concentration (X-axis) and the corresponding predicted values (Y-axis). 95\ value, colored in green if this interval contains the observed value and in red otherwise. The bisecting line (y = x) is added to the plot in order to see if each prediction interval contains each observed value. As replicates are shifted on the x-axis, this line is represented by steps.

Usage

priorPosterior(fit, ...)

## S3 method for class 'SurvFit'
priorPosterior(fit, ...)

Arguments

fit

An object of class SurvFit

...

Further arguments to be passed to generic methods

Value

a plot of class ggplot


morseTKTD documentation built on June 8, 2025, 10:28 a.m.