GoodnessOfFit: Object Goodness-of-Fit 'GoodnessOfFit' summary is a generic...

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
GoodnessOfFit(object, digits = max(3L, getOption("digits") - 3L), ...)

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

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

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

Arguments

object

An object for which a summary is desired..

digits

Minimal number of significant digits, see print.default.

...

Additional arguments affecting the goodness-of-fit displayed.

Methods (by class)

Examples

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

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

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