## garchSpec -
spec = garchSpec()
spec # print() or show() it
## garchSim -
x = garchSim(spec, n = 500)
## garchFit -
fit = garchFit(~ garch(1, 1), data = x)
fit # == print(fit) and also == show(fit)
Run the code above in your browser using DataLab