[R] VGAM package : Frechet distribution - 2 parameter estimation
Katherine Gobin
katherine_gobin at yahoo.com
Thu Nov 6 07:04:59 CET 2014
Dear R forum,
I am trying to execute following code (Page no 259 - VGAM.pdf)
# .........................................................................................................................
library(VGAM)
set.seed(123)
fdata <- data.frame(y1 = rfrechet(nn <- 1000, shape = 2 + exp(1)))
with(fdata, hist(y1))
fit2 <- vglm(y1 ~ 1, frechet, data = fdata, trace = TRUE)
# .........................................................................................................................
However, I receive following error
Error in vglm(y1 ~ 1, frechet, data = fdata, trace = TRUE) :
object 'frechet' not found
Earlier there used to be a function called "frechet3" which I guess has been withdrawn by VGAM.
Kindly guide
Katherine
[[alternative HTML version deleted]]
More information about the R-help
mailing list