File: methods-plot.Rd

package info (click to toggle)
fregression 4021.83-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 392 kB
  • sloc: fortran: 814; makefile: 14
file content (97 lines) | stat: -rw-r--r-- 1,885 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
\name{plot-methods}


\docType{methods}


\alias{plot-methods}
\alias{plot,ANY,ANY-method}
\alias{plot,fREG,missing-method}


\title{Regression Model Plot Methods}


\description{

    Plots results obtained from a fitted regression model. 

}


\usage{
\S4method{plot}{fREG,missing}(x, which = "ask", \dots)
}


\arguments{

    \item{x}{
        an object of class 'fREG'.
        } 
    \item{which}{
        a character string selecting which plot should be displayed.
        By default \code{which="ask"} which allows to generate plots
        interactively.
        }
    \item{\dots}{
        additional arguments to be passed to the underlying plot
        functions.
        }
 
}


\section{Methods}{
    \describe{

    \item{x = "ANY", y = "ANY"}{
        Generic function.
        }
    \item{x = "fREG", y = "missing"}{
        Plot function to display results obtained from a fitted 
        regression model. 
        }
        
    }
}


\details{

    The plots are a set of graphs which are common to the regression
    models implemented in the function \code{regFit}. This includes
    linear regression models \code{use="lm"}, 
    robust linear regression models \code{use="rlm"}, 
    generalized linear regression models \code{use = "glm"}, 
    generalized additive regression models \code{use = "gam"}, 
    projection pursuit regression models \code{use = "ppr"}, 
    neural network regression models \code{use = "nnet"}, and
    polychotomous MARS models \code{use = "polymars"}.
    
    In addition one can also use the original plot functions of the
    original models, .e.g. \code{plot(slot(object, "fit")}.
    
}


\author{

    Diethelm Wuertz for the Rmetrics \R-port.
    
}


\examples{
## regSim -
   x = regSim(model = "LM3", n = 50)
  
## regFit -
   fit = regFit(Y ~ X1 + X2 + X3, data = x, use = "lm")
   
## plot -
}


\keyword{models}