Learn R Programming

geoCount (version 1.150120)

plot_pRPS: Plot Observed vs. Reference Diagnostic Statistics

Description

This function plots the observed statistic vs. the empirical density of reference statistics.

Usage

plot_pRPS(T.obs, T.rep, nm = "x")

Arguments

T.obs
a value which indicates the observed statistic
T.rep
a vector which indicates the reference statistics
nm
the name of the diagnostic statistics

Value

A plot.

Details

density function is used to compute the empirical density of reference statistics.

See Also

BMCT, pRPS.

Examples

Run this code
## Not run: 
# plot_pRPS(1, rnorm(1000)) ## End(Not run)

Run the code above in your browser using DataLab