BOXPLOTOSS<- function() {
x <- read.csv(file.choose() , sep = ";" , stringsAsFactors = T)
colon <- readline(prompt = "Which column: ")
boxplot(x$ , main = "Radius" , ylim = c(0,29),
xlab = "X",ylab = "Y" )
I want to create a boxplot by typing the colon name I want from the data I receive, but it does not accept it for some reason.
boxplot(x$ , main ## the error seems to be coming from here but I can’t get past it
What’s missing here?
New contributor
user25354006 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.