R Markdown
This is an R Markdown document. Markdown is a simple formatting
syntax for authoring HTML, PDF, and MS Word documents. For more details
on using R Markdown see http://rmarkdown.rstudio.com.
When you click the Knit button a document will be
generated that includes both content as well as the output of any
embedded R code chunks within the document. You can embed an R code
chunk like this:
library(readxl)
library(kableExtra)
## Warning in !is.null(rmarkdown::metadata$output) && rmarkdown::metadata$output
## %in% : 'length(x) = 2 > 1' in coercion to 'logical(1)'
mortalidad <- read_excel("mortalidad.xlsx")
kbl (mortalidad)
|
Concentración (%)
|
Vivos
|
Muertos
|
Mortalidad (%)
|
|
0.0
|
175
|
0
|
0.00
|
|
2.5
|
164
|
11
|
6.29
|
|
5.0
|
156
|
19
|
10.86
|
|
7.0
|
129
|
46
|
26.29
|
|
8.0
|
89
|
86
|
49.14
|
|
10.0
|
49
|
126
|
72.00
|
|
20.0
|
0
|
175
|
100.00
|
mortalidad %>%
kbl() %>%
kable_styling()
|
Concentración (%)
|
Vivos
|
Muertos
|
Mortalidad (%)
|
|
0.0
|
175
|
0
|
0.00
|
|
2.5
|
164
|
11
|
6.29
|
|
5.0
|
156
|
19
|
10.86
|
|
7.0
|
129
|
46
|
26.29
|
|
8.0
|
89
|
86
|
49.14
|
|
10.0
|
49
|
126
|
72.00
|
|
20.0
|
0
|
175
|
100.00
|
## Otro estilo de tabla
mortalidad%>%
kbl(caption = "Porcentaje de mortalidad") %>%
kable_classic(full_width = F, html_font = "Cambria")
Porcentaje de mortalidad
|
Concentración (%)
|
Vivos
|
Muertos
|
Mortalidad (%)
|
|
0.0
|
175
|
0
|
0.00
|
|
2.5
|
164
|
11
|
6.29
|
|
5.0
|
156
|
19
|
10.86
|
|
7.0
|
129
|
46
|
26.29
|
|
8.0
|
89
|
86
|
49.14
|
|
10.0
|
49
|
126
|
72.00
|
|
20.0
|
0
|
175
|
100.00
|
## Otra
mortalidad %>%
kbl() %>%
kable_classic_2(full_width = T)
|
Concentración (%)
|
Vivos
|
Muertos
|
Mortalidad (%)
|
|
0.0
|
175
|
0
|
0.00
|
|
2.5
|
164
|
11
|
6.29
|
|
5.0
|
156
|
19
|
10.86
|
|
7.0
|
129
|
46
|
26.29
|
|
8.0
|
89
|
86
|
49.14
|
|
10.0
|
49
|
126
|
72.00
|
|
20.0
|
0
|
175
|
100.00
|
library(readxl)
library(kableExtra)
marchafito <- read_excel("marchafito.xlsx")
## New names:
## • `Etanol:Agua (50:50) flores` -> `Etanol:Agua (50:50) flores...2`
## • `Etanol:Agua (50:50) flores` -> `Etanol:Agua (50:50) flores...3`
kbl (marchafito)
|
Fitoquímico
|
Etanol:Agua (50:50) flores…2
|
Etanol:Agua (50:50) flores…3
|
Etanol hojas
|
|
Alcaloides
|
Ausente
|
Ausente
|
Ausente
|
|
Fenoles
|
Presente
|
Presente
|
Ausente
|
|
Flavonoides
|
Presente
|
Presente
|
Ausente
|
|
Saponinas
|
Presente
|
Presente
|
Presente
|
|
Azucares reductores
|
Ausente
|
Ausente
|
Ausente
|
marchafito %>%
kbl() %>%
kable_styling()
|
Fitoquímico
|
Etanol:Agua (50:50) flores…2
|
Etanol:Agua (50:50) flores…3
|
Etanol hojas
|
|
Alcaloides
|
Ausente
|
Ausente
|
Ausente
|
|
Fenoles
|
Presente
|
Presente
|
Ausente
|
|
Flavonoides
|
Presente
|
Presente
|
Ausente
|
|
Saponinas
|
Presente
|
Presente
|
Presente
|
|
Azucares reductores
|
Ausente
|
Ausente
|
Ausente
|
## Otro estilo de tabla
marchafito %>%
kbl(caption = "Marcha fitoquimica") %>%
kable_classic(full_width = F, html_font = "Cambria")
Marcha fitoquimica
|
Fitoquímico
|
Etanol:Agua (50:50) flores…2
|
Etanol:Agua (50:50) flores…3
|
Etanol hojas
|
|
Alcaloides
|
Ausente
|
Ausente
|
Ausente
|
|
Fenoles
|
Presente
|
Presente
|
Ausente
|
|
Flavonoides
|
Presente
|
Presente
|
Ausente
|
|
Saponinas
|
Presente
|
Presente
|
Presente
|
|
Azucares reductores
|
Ausente
|
Ausente
|
Ausente
|
## Otra estilo de tabla ---
marchafito %>%
kbl(caption = "Marcha fitoquimica") %>%
kable_classic_2(full_width = F,html_font = "Arial")
Marcha fitoquimica
|
Fitoquímico
|
Etanol:Agua (50:50) flores…2
|
Etanol:Agua (50:50) flores…3
|
Etanol hojas
|
|
Alcaloides
|
Ausente
|
Ausente
|
Ausente
|
|
Fenoles
|
Presente
|
Presente
|
Ausente
|
|
Flavonoides
|
Presente
|
Presente
|
Ausente
|
|
Saponinas
|
Presente
|
Presente
|
Presente
|
|
Azucares reductores
|
Ausente
|
Ausente
|
Ausente
|
## Otro estilo de tabla
kbl(marchafito) %>%
kable_styling(bootstrap_options = c("striped", "hover", "condensed", "responsive"), html_font = "Arial")
|
Fitoquímico
|
Etanol:Agua (50:50) flores…2
|
Etanol:Agua (50:50) flores…3
|
Etanol hojas
|
|
Alcaloides
|
Ausente
|
Ausente
|
Ausente
|
|
Fenoles
|
Presente
|
Presente
|
Ausente
|
|
Flavonoides
|
Presente
|
Presente
|
Ausente
|
|
Saponinas
|
Presente
|
Presente
|
Presente
|
|
Azucares reductores
|
Ausente
|
Ausente
|
Ausente
|