hdata = data.frame(x = rnorm(nn <- 200))
hdata = transform(hdata, y = rnorm(nn)) # Not very good data!
fit = vglm(y ~ x, hypersecant, hdata, trace = TRUE, crit = "coef")
coef(fit, matrix = TRUE)
fit@misc$earg
# Not recommended:
fit = vglm(y ~ x, hypersecant(link = "identity"), hdata, trace = TRUE)
coef(fit, matrix = TRUE)
fit@misc$earg
Run the code above in your browser using DataLab