vonmises(llocation="elogit", lscale="loge",
elocation=if(llocation=="elogit") list(min=0, max=2*pi) else list(),
escale=list(),
ilocation=NULL, iscale=NULL,
method.init=1, zero=NULL)
Links
for more choices.
For $k$, a log link is the default because the parameter is positive.earg
in Links
for general information.method.init
. Assigning a value will override
the argument method.init
.method.init
. Assigning a value will override
the argument method.init
.1
or 2
which
specifies the initialization method. If failure to converge occurs
try the other value, or else specify a value for
ilocation
and iscale
."vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
,
rrvglm
and vgam
.ilocation
and iscale
.Bessel
,
cardioid
.
x = runif(n <- 1000)
y = rnorm(n, m=2+x, sd=exp(0.2)) # Not von Mises data!!
fit = vglm(y ~ x, vonmises(zero=2), trace=TRUE)
coef(fit, matrix=TRUE)
Coef(fit)
range(y) # original data
range(fit@y) # processed data is in [0,2*pi)
Run the code above in your browser using DataLab