Learn R Programming

PSIMEX (version 1.1)

plot.simul.Psimex: A plot illustrating the simulation phase of the P-SIMEX algorithm

Description

This function produces a plot with the estimate of interest and its 95 % confidence intervals as a function of the error proportion.

Usage

plot.simul.Psimex(results, lambda, lambda0, estimate0, parameter)

Arguments

results

A dataset containg the simulated values. It is the output of simul.replace or simul.na.

lambda

A vector of real numbers containing the error proportions to be generated.

lambda0

A real number specifying the initial error proportion.

estimate0

The initial naive estimate of the parameter

parameter

A string specifying the parameter of interest. It must be 'inbreeding' or 'heritability'.