The R Project SVN R

Rev

Rev 87779 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 87779 Rev 87781
Line 10... Line 10...
10
 
10
 
11
reformulate(termlabels, response = NULL, intercept = TRUE, env = parent.frame())
11
reformulate(termlabels, response = NULL, intercept = TRUE, env = parent.frame())
12
 
12
 
13
drop.terms(termobj, dropx = NULL, keep.response = FALSE)
13
drop.terms(termobj, dropx = NULL, keep.response = FALSE)
14
 
14
 
15
termobj[i]
15
\method{[}{terms}(termobj, i)
16
}
16
}
17
\alias{reformulate}
17
\alias{reformulate}
18
\alias{drop.terms}
18
\alias{drop.terms}
19
\alias{delete.response}
19
\alias{delete.response}
20
\alias{[.terms}
20
\alias{[.terms}
Line 27... Line 27...
27
  \item{intercept}{logical: should the formula have an intercept?}
27
  \item{intercept}{logical: should the formula have an intercept?}
28
  \item{env}{the \code{\link{environment}} of the \code{\link{formula}}
28
  \item{env}{the \code{\link{environment}} of the \code{\link{formula}}
29
    returned.}
29
    returned.}
30
  \item{dropx, i}{a numeric vector indexing \code{labels(termobj)}
30
  \item{dropx, i}{a numeric vector indexing \code{labels(termobj)}
31
    (that is, the \code{"term.labels"} attribute of \code{termobj}),
31
    (that is, the \code{"term.labels"} attribute of \code{termobj}),
32
    indicating terms to be dropped from the right-hand side of the
32
    indicating terms to drop (\code{dropx}) or select (\code{i}) from
-
 
33
    the right-hand side of the model. The default \code{dropx=NULL}
33
    model, or \code{NULL} (default) to keep all terms.}
34
    means to keep all terms.}
34
  \item{keep.response}{Keep the response in the resulting object?}
35
  \item{keep.response}{logical: keep the response in the resulting object?}
35
}
36
}
36
\description{
37
\description{
37
  \code{delete.response} returns a \code{terms} object for the same
38
  \code{delete.response} returns a \code{terms} object for the same
38
  model but with no response variable.
39
  model but with no response variable.
39
 
40