tests/testthat/_snaps/m_nb-central-order-2/posterior-samples.md

derivative_samples works for a NB GAM order 2

Code
  print(sm_3)
Output
  # A tibble: 3,000 x 8
      .row .focal .draw .derivative    x0     x1     x2    x3
     <int> <chr>  <int>       <dbl> <dbl>  <dbl>  <dbl> <dbl>
   1     1 x0         1       20.3  0.786 0.709  0.119  0.975
   2     2 x0         1       28.4  0.252 0.0412 0.153  0.541
   3     3 x0         1        2.69 0.699 0.245  0.110  0.975
   4     4 x0         1       21.0  0.184 0.160  0.681  0.861
   5     5 x0         1        3.01 0.960 0.0939 0.676  0.252
   6     6 x0         1       13.9  0.919 0.677  0.0685 0.942
   7     7 x0         1        7.66 0.102 0.529  0.401  0.998
   8     8 x0         1      119.   0.172 0.716  0.255  0.205
   9     9 x0         1        1.61 0.986 0.732  0.368  0.357
  10    10 x0         1        9.51 0.849 0.259  0.778  0.346
  # i 2,990 more rows


gavinsimpson/gratia documentation built on April 29, 2024, 4:31 a.m.