8 Data Entry3
Load data to R using read_csv()
function of the readr
package of tidyverse
and save it with a variable name twoway_data
.
# Load and save
<- read_csv(file = "data/Tubo-USEP_Two-Way Cleaned Data for R.csv")
twoway_data # Preview
twoway_data
## # A tibble: 4 x 7
## Fertilizer Manure P1 P2 P3 P4 P5
## <chr> <chr> <dbl> <dbl> <dbl> <dbl> <dbl>
## 1 High High 13.7 15.8 13.9 16.6 15.5
## 2 High Low 16.4 12.5 14.1 14.4 12.2
## 3 Low High 15 15.1 12 15.7 12.2
## 4 Low Low 12.4 10.6 13.7 8.7 10.9