library(formattable)
t <- readxl::read_excel("Nura fish.xlsx")
formattable(t)
| возраст | масса телаГ |
|---|---|
| 7 | 500 |
| 3 | 410 |
| 10 | 600 |
| 6 | 510 |
| 6 | 420 |
| 7 | 420 |
| 9 | 400 |
| 6 | 380 |
| 4 | 520 |
| 5 | 520 |
| 6 | 420 |
| 4 | 420 |
| 5 | 300 |
| 10 | 420 |
| 6 | 400 |
| 7 | 400 |
| 6 | 420 |
| 8 | 460 |
| 7 | 440 |
| 7 | 360 |
| 6 | 440 |
| 6 | 400 |
| 5 | 350 |
| 7 | 400 |
| 4 | 360 |
| 3 | 320 |
| 7 | 420 |
| 5 | 400 |
| 6 | 400 |
You can also embed plots, for example:
library(ggplot2)
library(plotly)
p <- ggplot(t, aes(`возраст`, `масса телаГ`))+
geom_line() +
geom_point(color = "blue")
plotly::ggplotly(p)