tests/testthat/_snaps/cone.md

gen_cone() works

Code
  gen_cone(n = 500, p = 4, h = 5, ratio = 0.5)
Message
  v Data generation completed successfully!!!
Output
  # A tibble: 500 x 4
          x1      x2     x3    x4
       <dbl>   <dbl>  <dbl> <dbl>
   1 -0.164   0.174  0.482  0.451
   2 -0.344  -0.223  0.553  2.80 
   3 -0.0216  0.340  0.999  5    
   4  0.398  -0.0295 0.0116 1.54 
   5 -0.126   0.0271 0.0110 0.807
   6  0.102   0.0898 0.132  0.295
   7 -0.0788 -0.231  0.675  1.84 
   8  0.0594 -0.319  0.935  4.41 
   9  0.378   0.142  0.305  0.760
  10  0.0674  0.153  0.371  0.492
  # i 490 more rows


Try the cardinalR package in your browser

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

cardinalR documentation built on Aug. 21, 2025, 5:27 p.m.