plotPredictions: plotPredictions

Description Usage Arguments Details

View source: R/plotPredictions.R

Description

Plot Time distributions for predicted individuals

Usage

1
2
3
4
5
6
7
8
plotPredictions(
  predObj,
  TrueTimes = NULL,
  text_main = "",
  text_xlab = "time",
  text_ylab = "Probability density function",
  pdfFileName = NULL
)

Arguments

predObj

An object returned from either posteriorTime_NaiveMLE or posteriorTime_FullBayesian

TrueTimes

Vector of times (true). Must be same length as the number of samples

text_main

A text used to show in plot

text_xlab

A text used to show in plot

text_ylab

A text used to show in plot

pdfFileName

File name of pdf to print (NULL means no pdf is created)

Details

The function creates plots for showing TSD predictions


oyvble/TSDpredict documentation built on June 28, 2020, 10:42 a.m.