plotRangeObj: Plot a range object.

Description Usage Arguments Value Examples

Description

plotIDs the semivariance estimates, covariance model, and number of pairs of observations used to estimate semivariance.

Usage

1
plotRangeObj(rangeObj)

Arguments

rangeObj

An object of class rangeList. This object is a list that contains the estimated range parameter(s). This is obtained by a call to the estRange function.

Value

A set of plots displaying the semivariance estimates, fitted covariance model, and number of pairs of observations used to estimate semivariance. If no spatial variable was provided to the estRange function, then there will be two plots. The first, on top, will show the semivariance estimates and the fitted covariance model. The second, on the bottom, will show the number of data pairs used to the estimate the semivariance at the corresponding distance. If a spatial variable is supplied to the estRange function, then there will be two plots for every level of the spatial variable.

Examples

1
2
3
4
5
6
7
8
data("TAMdata")
# The dataset is trimmed only for the speed of the example
TAMdata <- TAMdata[TAMdata$subject < 3, ]
TAMdata <- rScale(TAMdata, subjectVar = 'subject', sampleVar = 'ROI',
                  xCoord = 'x', yCoord = 'y')
rangs <- estRange(TAMdata, outcome = 'X1282.auc', spatialVar = 'TAM',
                  semivEst = 'modulus', logTransform = TRUE)
plotRangeObj(rangs)

cammiller/imagingPC documentation built on June 28, 2019, 12:04 a.m.