plot.Psimex: A plot illustrating the extrapolation phase of the P-SIMEX...

Description Usage Arguments Author(s)

View source: R/plot.Psimex.R

Description

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

Usage

1
2
plot.Psimex(results, extrapolation_results, lambda, lambda0, estimate0, 
            parameter, fitting.method)

Arguments

results

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

extrapolation_results

A dataset containg the extrapolated values. It is the output of extrapolation.

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'.

fitting.method

A string or a vector of strings specifying the extrapolation functions to be fitted. It must be 'linear', 'quadratic', 'nonlinear' or 'cubic'.

Author(s)

Erica Ponzi


PSIMEX documentation built on May 2, 2019, 3:34 p.m.