Trying to run a script on R Studio:
library(readr)
library(dplyr)
library(ggplot2)
rm(list = ls())
compensation <- read_csv("C:/Users/Rupert/Documents/MyFirstAnalysis/datasets/compensation.csv")
glimpse(compensation)
summary(compensation)
Final line of script seems not to be generating output.
Actual output generated from script is:
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Parsed with column specification:
cols(
Root = col_double(),
Fruit = col_double(),
Grazing = col_character()
)
Rows: 40
Columns: 3
Root <dbl> 6.225, 6.487, 4.919, 5.130, 5.417, 5.359, 7.614, 6.352, 4.9...
Fruit 59.77, 60.98, 14.73, 19.28, 34.25, 35.53, 87.73, 63.21, 24....
$ Grazing "Ungrazed", "Ungrazed", "Ungrazed", "Ungrazed", "Ungrazed",...
Seems as though second last line of script is producing output but not last line. Why would that be, does anyone know?