Learn R Programming

geoCount (version 1.150120)

tranR: Calculate Transformed Residuals for Observed Data

Description

This function approximates transformed residuals for the observed data by using reference data.

Usage

tranR(Y.obs, Y.rep, discrete = FALSE)

Arguments

Y.obs
a vector which indicates the observed data set
Y.rep
a matrix which indicates the reference data sets
discrete
a logical value which indicates if the distribution of response variable is discrete

Value

A vector of transformed residuals.

See Also

cdfU, plot_etran, e2dist.

Examples

Run this code
## Not run: 
# Yrep <- repYeb(N.sim=2000, loc, L, beta = 5, sigma = 1, phi = 0.1)
# tranR(Y.obs, Y.rep) ## End(Not run)

Run the code above in your browser using DataLab