Skip to content

Commit

Permalink
update example reference
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinsimpson committed Mar 25, 2024
1 parent 8840b30 commit 92f2fd0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Examples/gratia-Ex.Rout.save
Original file line number Diff line number Diff line change
Expand Up @@ -1594,11 +1594,11 @@ pmax(exp(eta), .Machine$double.eps)
> link(mod, parameter = "scale")
function (mu)
log(1/mu - 0.01)
<environment: 0x564620a1e3c0>
<environment: 0x55c9bbd16380>
> inv_link(mod, parameter = "scale")
function (eta)
1/(exp(eta) + 0.01)
<environment: 0x564620a1e3c0>
<environment: 0x55c9bbd16380>
>
> ## Works with `family` objects too
> link(shash(), parameter = "skewness")
Expand Down Expand Up @@ -2281,7 +2281,7 @@ Levels: a b c d e
>
> # fit the GAM (note: for execution time reasons using bam())
> m <- bam(y ~ s(x0) + s(x1) + s(x2) + s(x3),
+ data = df, family = nb(), method = "fREML", discrete = TRUE
+ data = df, family = nb(), method = "fREML"
+ )
>
> # data slice through data along x2 - all other covariates will be set to
Expand Down Expand Up @@ -2777,7 +2777,7 @@ detaching ‘package:mgcv’

> options(digits = 7L)
> base::cat("Time elapsed: ", proc.time() - base::get("ptime", pos = 'CheckExEnv'),"\n")
Time elapsed: 45.435 0.367 45.269 0 0
Time elapsed: 22.872 0.191 22.646 0 0
> grDevices::dev.off()
null device
1
Expand Down

0 comments on commit 92f2fd0

Please sign in to comment.