-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuti.Rmd
42 lines (28 loc) · 930 Bytes
/
uti.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
title: "UTI"
author: "Md. Shahadat Bin Shahid"
date: '2022-06-08'
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE, warning = FALSE, message = FALSE, comment = NA)
```
# Load Packages
```{r}
library(tidyverse)
library(gt)
library(ggpubr)
library(ggsci)
library(gridExtra)
```
# Load Data
```{r}
data <- read.csv("data/ecoli.csv")
data %>%
head() %>%
gt()
```
```{r}
data %>%
pivot_longer(c(Amoxycillin, Amphicilin, Azithromycin, Amoxyclav, Amikacin, Cefepime, Cefotaxime, Ceftrioaxone_Rocephin, Chloramphenicol, Cloxacillin, Colistin, Carbinicillin, Cefixime, Ceftazidime, Cefuroxime, Ciprofloxacin, Cotrimoxazole, Doxycycline, Doripenem, Erythomycin, Fusidic Acid, Gentamicin, Imipenem, Levofloxacin, Meropenem, Nalidexic Acid, Norfloxacin, Nitrofurantoin, Penicillin_V, Piperacillin_Tazobactam, Tigecycline, Tobramycin, Ticarcillin, Vancomycin, Linezolid))
```