tests/testthat/_snaps/fortify-renyiaccum.md

fortify works for renyiaccum objects

Code
  fortify(bci_renyi)
Output
  # A tibble: 300 x 8
      site scale  mean std_dev   min   max  q2.5 q97.5
     <int> <chr> <dbl>   <dbl> <dbl> <dbl> <dbl> <dbl>
   1     1 0      4.50  0.0768  4.34  4.69  4.38  4.64
   2     2 0      4.80  0.0651  4.61  4.93  4.67  4.91
   3     3 0      4.94  0.0471  4.83  5.04  4.86  5.02
   4     4 0      5.02  0.0369  4.95  5.10  4.96  5.09
   5     5 0      5.07  0.0360  4.97  5.15  5.00  5.14
   6     6 0      5.11  0.0321  5.02  5.18  5.05  5.17
   7     7 0      5.14  0.0298  5.06  5.21  5.08  5.20
   8     8 0      5.17  0.0265  5.08  5.21  5.12  5.21
   9     9 0      5.19  0.0260  5.11  5.24  5.14  5.23
  10    10 0      5.21  0.0247  5.15  5.27  5.16  5.24
  # i 290 more rows

fortify works for renyiaccum objects raw

Code
  fortify(bci_renyi_raw)
Output
  # A tibble: 30,000 x 4
      site permutation scale diversity
     <int>       <int> <chr>     <dbl>
   1     1           1 0          4.38
   2     1           1 0.5        3.86
   3     1           1 1          3.23
   4     1           1 2          2.45
   5     1           1 4          2.04
   6     1           1 Inf        1.62
   7     1           2 0          4.53
   8     1           2 0.5        4.16
   9     1           2 1          3.74
  10     1           2 2          3.09
  # i 29,990 more rows

tidy works for renyiaccum objects

Code
  tidy(bci_renyi)
Output
  # A tibble: 300 x 8
      site scale  mean std_dev   min   max  q2.5 q97.5
     <int> <chr> <dbl>   <dbl> <dbl> <dbl> <dbl> <dbl>
   1     1 0      4.50  0.0768  4.34  4.69  4.38  4.64
   2     2 0      4.80  0.0651  4.61  4.93  4.67  4.91
   3     3 0      4.94  0.0471  4.83  5.04  4.86  5.02
   4     4 0      5.02  0.0369  4.95  5.10  4.96  5.09
   5     5 0      5.07  0.0360  4.97  5.15  5.00  5.14
   6     6 0      5.11  0.0321  5.02  5.18  5.05  5.17
   7     7 0      5.14  0.0298  5.06  5.21  5.08  5.20
   8     8 0      5.17  0.0265  5.08  5.21  5.12  5.21
   9     9 0      5.19  0.0260  5.11  5.24  5.14  5.23
  10    10 0      5.21  0.0247  5.15  5.27  5.16  5.24
  # i 290 more rows

tidy works for renyiaccum objects raw

Code
  tidy(bci_renyi_raw)
Output
  # A tibble: 30,000 x 4
      site permutation scale diversity
     <int>       <int> <chr>     <dbl>
   1     1           1 0          4.38
   2     1           1 0.5        3.86
   3     1           1 1          3.23
   4     1           1 2          2.45
   5     1           1 4          2.04
   6     1           1 Inf        1.62
   7     1           2 0          4.53
   8     1           2 0.5        4.16
   9     1           2 1          3.74
  10     1           2 2          3.09
  # i 29,990 more rows


Try the ggvegan package in your browser

Any scripts or data that you put into this service are public.

ggvegan documentation built on Feb. 28, 2026, 1:07 a.m.