# NOT RUN {
data(rimov)
# }
# NOT RUN {
res <- graph.fglm(nsim=19, # Increase the number of simulations for serious analysis!
formula.full = Y~Year,
formula.reduced = Y~1,
curve_sets = list(Y=rimov), factors = data.frame(Year = 1979:2014))
# }
# NOT RUN {
plot(res)
# }
# NOT RUN {
data(GDPtax)
factors.df <- data.frame(Group = GDPtax$Group, Tax = GDPtax$Profittax)
res.tax_within_group <- graph.fglm(nsim = 999,
formula.full = Y~Group+Tax+Group:Tax,
formula.reduced = Y~Group+Tax,
curve_sets = list(Y=GDPtax$GDP),
factors = factors.df)
plot(res.tax_within_group)
# }
Run the code above in your browser using DataLab