2
I need to create a function that returns graphics in which the title name contains the variable name, as in the example.
Dados<-c(5,4,8,9,2,1,6,2,5)
Validação <- function(y){
plot(y, main='Gráfico y')
}
Validação(Dados)
the result should be a chart with title "Data Chart"
It worked. Thank you
– Rildo