GoodnessOfFitPlot: Goodness-of-Fit Plot 'GoodnessOfFitPlot' A generic function...

Description Usage Arguments Methods (by class) Examples

Description

reports the goodness-of-fit of an object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
GoodnessOfFitPlot(object, ...)

## Default S3 method:
GoodnessOfFitPlot(object, digits = max(3L,
  getOption("digits") - 3L), ...)

## S3 method for class 'lm'
GoodnessOfFitPlot(object, digits = max(3L, getOption("digits") -
  3L), ...)

## S3 method for class 'smacof'
GoodnessOfFitPlot(object, ...)

## S3 method for class 'smacofR'
GoodnessOfFitPlot(object, ...)

Arguments

object

An object for which a summary is desired.

...

Additional arguments affecting the goodness-of-fit displayed.

digits

Minimal number of significant digits, see print.default.

Methods (by class)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# linear regression
x <- rnorm(10)
y <- rnorm(10) + x
mod <- lm(y ~ x)
GoodnessOfFitPlot(mod)

# MDS - square
library(smacof)
data(breakfastDissimilarities)
mdsInterval <- smacofSym(breakfastDissimilarities[[4]],
    type = "interval", eps = 1e-12, itmax = 100000)
GoodnessOfFitPlot(mdsInterval)

NumbersInternational/qrserver documentation built on May 7, 2019, 7:19 p.m.