About types
what does type='l" refers here in plot(x,y,type="l")
Plz name the different types available.
R Introduction-to-basics-of-R 09-10 min 10-20 sec
Answers:
type="l" states that the resultant plot will be a line in an x-y plane.
Following are all the possible types -
"p" for points,
"l" for lines,
"b" for both,
"c" for the lines part alone of "b",
"o" for both overplotted,
"h" for histogram like (or high-density) vertical lines,
"s" for stair steps,
"S" for other steps,
"n" for no plotting.
Thanks.
09-11-19, 12:16 p.m.
rsathyarajeswari@gmail.com
what is the default type value?
Please type ?plot in your Console window and press Enter to know more about this command.
"p" for points,
"l" for lines,
"b" for both,
"o" for both overplotted,
"h" for histogram like (or high-density) vertical lines,
"s" for stair steps,
"S" for other steps,
"n" for no plotting.