Get data passed to e_charts
.
Arguments
- e
An
echarts4r
object as returned bye_charts
or a proxy as returned byecharts4rProxy
.
Examples
echart <- cars |>
e_charts(speed) |>
e_scatter(dist) |>
e_lm(dist ~ speed)
echart
e_get_data(echart)[[1]]
#> speed dist .fitted .resid .hat .sigma .cooksd .std.resid
#> 1 4 2 -1.849460 3.849460 0.11486131 15.53088 4.592312e-03 0.26604155
#> 2 4 10 -1.849460 11.849460 0.11486131 15.43338 4.351399e-02 0.81893273
#> 3 7 4 9.947766 -5.947766 0.07150365 15.51624 6.202350e-03 -0.40134618
#> 4 7 22 9.947766 12.052234 0.07150365 15.43489 2.546734e-02 0.81326629
#> 5 8 16 13.880175 2.119825 0.05997080 15.53907 6.446705e-04 0.14216236
#> 6 9 10 17.812584 -7.812584 0.04989781 15.49830 7.131993e-03 -0.52115255
#> 7 10 18 21.744993 -3.744993 0.04128467 15.53232 1.331656e-03 -0.24869180
#> 8 10 26 21.744993 4.255007 0.04128467 15.52941 1.719059e-03 0.28256008
#> 9 10 34 21.744993 12.255007 0.04128467 15.43474 1.425993e-02 0.81381197
#> 10 11 17 25.677401 -8.677401 0.03413139 15.48889 5.823417e-03 -0.57409795
#> 11 11 28 25.677401 2.322599 0.03413139 15.53851 4.172024e-04 0.15366341
#> 12 12 14 29.609810 -15.609810 0.02843796 15.36972 1.551791e-02 -1.02971654
#> 13 12 20 29.609810 -9.609810 0.02843796 15.47714 5.881222e-03 -0.63392061
#> 14 12 24 29.609810 -5.609810 0.02843796 15.52015 2.004169e-03 -0.37005667
#> 15 12 28 29.609810 -1.609810 0.02843796 15.54051 1.650393e-04 -0.10619272
#> 16 13 26 33.542219 -7.542219 0.02420438 15.50238 3.056717e-03 -0.49644946
#> 17 13 34 33.542219 0.457781 0.02420438 15.54219 1.126088e-05 0.03013240
#> 18 13 34 33.542219 0.457781 0.02420438 15.54219 1.126088e-05 0.03013240
#> 19 13 46 33.542219 12.457781 0.02420438 15.43309 8.339467e-03 0.82000518
#> 20 14 26 37.474628 -11.474628 0.02143066 15.44997 6.228883e-03 -0.75422016
#> 21 14 36 37.474628 -1.474628 0.02143066 15.54082 1.028721e-04 -0.09692637
#> 22 14 60 37.474628 22.525372 0.02143066 15.18329 2.400363e-02 1.48057874
#> 23 14 80 37.474628 42.525372 0.02143066 14.22128 8.555181e-02 2.79516632
#> 24 15 20 41.407036 -21.407036 0.02011679 15.21887 2.029569e-02 -1.40612757
#> 25 15 26 41.407036 -15.407036 0.02011679 15.37563 1.051305e-02 -1.01201579
#> 26 15 54 41.407036 12.592964 0.02011679 15.43117 7.023387e-03 0.82717256
#> 27 16 32 45.339445 -13.339445 0.02026277 15.41752 7.940281e-03 -0.87627072
#> 28 16 40 45.339445 -5.339445 0.02026277 15.52241 1.272192e-03 -0.35074918
#> 29 17 32 49.271854 -17.271854 0.02186861 15.33216 1.441403e-02 -1.13552237
#> 30 17 40 49.271854 -9.271854 0.02186861 15.48206 4.153753e-03 -0.60956963
#> 31 17 50 49.271854 0.728146 0.02186861 15.54197 2.561795e-05 0.04787130
#> 32 18 42 53.204263 -11.204263 0.02493431 15.45396 6.959480e-03 -0.73777117
#> 33 18 56 53.204263 2.795737 0.02493431 15.53685 4.333142e-04 0.18409193
#> 34 18 76 53.204263 22.795737 0.02493431 15.17318 2.880829e-02 1.50103921
#> 35 18 84 53.204263 30.795737 0.02493431 14.86170 5.257647e-02 2.02781813
#> 36 19 36 57.136672 -21.136672 0.02945985 15.22400 2.953639e-02 -1.39503525
#> 37 19 46 57.136672 -11.136672 0.02945985 15.45462 8.199645e-03 -0.73502818
#> 38 19 68 57.136672 10.863328 0.02945985 15.45889 7.802074e-03 0.71698735
#> 39 20 32 61.069080 -29.069080 0.03544526 14.93066 6.805305e-02 -1.92452335
#> 40 20 48 61.069080 -13.069080 0.03544526 15.42066 1.375546e-02 -0.86524066
#> 41 20 52 61.069080 -9.069080 0.03544526 15.48386 6.623866e-03 -0.60041999
#> 42 20 56 61.069080 -5.069080 0.03544526 15.52409 2.069395e-03 -0.33559931
#> 43 20 64 61.069080 2.930920 0.03544526 15.53624 6.918196e-04 0.19404203
#> 44 22 66 68.933898 -2.933898 0.05179562 15.53612 1.048238e-03 -0.19590672
#> 45 23 54 72.866307 -18.866307 0.06216058 15.28035 5.317562e-02 -1.26671228
#> 46 24 70 76.798715 -6.798715 0.07398540 15.50813 8.430333e-03 -0.45938126
#> 47 24 92 76.798715 15.201285 0.07398540 15.37059 4.214554e-02 1.02713306
#> 48 24 93 76.798715 16.201285 0.07398540 15.34710 4.787292e-02 1.09470190
#> 49 24 120 76.798715 43.201285 0.07398540 14.09546 3.403959e-01 2.91906038
#> 50 25 85 80.731124 4.268876 0.08727007 15.52867 4.035418e-03 0.29053451