# DON'T # DO
ships<-read.csv("data/ships.csv") ships <- read_csv("data/ships.csv")
# DON'T # DO
x <- complete_ra(10) set.seed(42)
treatment <- complete_ra(10) # 5 treated | 5 traités
# DON'T: one cramped line
ships |> filter(Months>10) |> select(Months,Dammage) |> mutate(dpm=Dammage/Months)
# DO: line breaks and spaces
ships |>
filter(Months > 10) |>
select(Months, Dammage) |>
mutate(damage_per_month = Dammage / Months)