Learn R Programming

StMoMo (version 0.4.1)

plotParameterFan: Plot fanchart of the parameters

Description

Plot fanchart of the parameters

Usage

plotParameterFan(x, y, yBoot, main, xlab, ylab, probs, fan.col, n.fan, ...)

Arguments

x

value of x

y

central value of y

yBoot

matrix with the simulated values of y

main

title of the plot

xlab

label of x axis

ylab

label of y axis

probs

probabilities related to percentiles to plot in the fan chart

fan.col

palette of colours used in the fan chart

n.fan

the number of colour to use in the fan

Details

In order for the plotting to look appropriately the intervals of the data with non missing values need to be found. Otherwise fanplot::fan doesn't work.