~ubuntu-branches/ubuntu/trusty/r-cran-vgam/trusty

« back to all changes in this revision

Viewing changes to man/vglmff-class.Rd

  • Committer: Package Import Robot
  • Author(s): Chris Lawrence
  • Date: 2011-11-04 13:13:06 UTC
  • mfrom: (1.2.9)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: package-import@ubuntu.com-20111104131306-w9fd83i51rw60gxf
Tags: upstream-0.8-4
ImportĀ upstreamĀ versionĀ 0.8-4

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
  \code{x} and \code{w}. 
67
67
 
68
68
  }
69
 
  \item{\code{inverse}:}{
 
69
  \item{\code{linkinv}:}{
70
70
  Object of class \code{"function"} which
71
71
  returns the fitted values, given the linear/additive predictors.
72
72
  The function must have arguments
82
82
  which becomes the \code{misc} slot on the fitted object.
83
83
 
84
84
  }
85
 
  \item{\code{link}:}{
 
85
  \item{\code{linkfun}:}{
86
86
  Object of class \code{"function"} which,
87
87
  given the fitted values, returns the linear/additive predictors.
88
88
  If present, the function must have arguments
201
201
 
202
202
  A unified method of handling arguments is to use
203
203
  \code{match.arg}. This allows, for example,
204
 
  \code{vglm(..., family = cratio(link=logit))}
 
204
  \code{vglm(..., family = cratio(link = logit))}
205
205
  and 
206
 
  \code{vglm(..., family = cratio(link="logi"))}
 
206
  \code{vglm(..., family = cratio(link = "logi"))}
207
207
  to be equivalent (Nb. there is a \code{logit} function).
208
208
 
209
209
 
210
210
  The \code{extra} argument in
211
 
  \code{inverse}, \code{link}, \code{deviance}, \code{loglikelihood}, etc. 
 
211
  \code{linkinv}, \code{linkfun}, \code{deviance}, \code{loglikelihood}, etc. 
212
212
  matches with the argument \code{extra}
213
213
  in \code{vglm}, \code{vgam} and \code{rrvglm}. This allows input
214
214
  to be fed into all slots of a \pkg{VGAM} family function.
242
242
  \pkg{VGAM} family functions are not compatible with
243
243
  \code{\link[stats]{glm}}, nor \code{gam} (from either
244
244
  \pkg{gam} or \pkg{mgcv} packages).
 
245
 
 
246
 
245
247
246
248
 
247
249
\seealso{
250
252
  \code{\link{rrvglm}},
251
253
  \code{\link{rcam}}.
252
254
 
 
255
 
253
256
}
254
257
\examples{
255
258
cratio()