Doubt in plot argument
Title
Question
I Couldnt find the difference between plot(x,y, type = "c") and plot(x, y, type = "n"). both these argument i am getting same type of plots
R Introduction-to-basics-of-R 10-11 min 0-10 sec
Answers:
x <- c(1:5)
y <- c(1,4,9,16,25)
plot(x,y,'c') # This will draw a set of discontinuous lines
plot(x,y,'n') # This will draw no plot
Login to add comment