movG-class {mvngGrAd}R Documentation

Class "movG"

Description

The "movG" Class Represents Objects From A Moving Grid Adjustment Using A Designed Grid

Rdversion

1.1

Objects from the Class

Objects can be created by calls of the form new("movG", ...) or by a call to function movingGrid.

Slots

movingMeanMap:

Object of class "matrix" for the moving mean of the cell in the ith row and jth column.

row:

Object of class "integer" for the row subscripts.

col:

Object of class "integer" for the column subscripts.

observedPhe:

Object of class "numeric" for the observed phenotypic values.

adjustedPhe:

Object of class "numeric" for the adjusted phenotypic values.

movingMean:

Object of class "numeric" for the moving means.

nValues:

Object of class "integer" for the number of non-NA values used for calculating the moving mean.

adjModel:

Object of class "lm" for the model used for covariate adjustment.

correlation:

Object of class "numeric" for the coefficient of correlation between the moving means and the observed phenotypic values.

maxValues:

Object of class "integer" for the maximum number of values possible given the design of the grid or the number of nearest neighbors.

FunCall:

Object of class "call" for the function call.

Methods

entryData

signature(object = "movG"): extract all relevant information on each entry from the object

movingMean

signature(object = "movG"): extract only the moving means from the object

fitted

signature(object = "movG"): extract only the adjusted phenotypical values

residuals

signature(object = "movG"): extract the residuals from the model for calculation of the regression coefficient

show

signature(object = "movG"): show some summary statistics and informations

summary

signature(object = "movG"): same as show, but with a list of the summarized values invisibly returned

Note

The data in the slots observedPhe, adjustedPhe, movingMean, and nValues must correspond.

Author(s)

Frank Technow

See Also

movingGrid

Examples

showClass("movG")

[Package mvngGrAd version 0.1.6 Index]