tranR {geoCount}R Documentation

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.

Author(s)

Liang Jing ljing918@gmail.com

See Also

cdfU, plot_etran, e2dist.

Examples

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

[Package geoCount version 1.150120 Index]