GoodnessOfFit | R Documentation |
GoodnessOfFit
summary is a generic function used to produce result summaries of the
results of the model object. The function invokes particular methods
which depend on the class
of the first argument.
reports the goodness-of-fit of an object.
GoodnessOfFit(object, digits = max(3L, getOption("digits") - 3L), ...)
## Default S3 method:
GoodnessOfFit(object, digits = max(3L, getOption("digits") - 3L), ...)
## S3 method for class 'Regression'
GoodnessOfFit(object, digits = max(3L, getOption("digits") - 3L), ...)
object |
An object for which a summary is desired.. |
digits |
Minimal number of significant digits, see |
... |
Additional arguments affecting the goodness-of-fit displayed. #@examples # 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)) |
GoodnessOfFit(default)
: Default goodness-of-fit R^2
.
GoodnessOfFit(Regression)
: Goodness-of-fit for a Regression object. Computed as the R^2
statistic.
With factors, the index value of the factor is used. With unordered factors, this will often be
grieviously-downward biased.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.