What is the use las command the meaning of the value it is taking like las = "2" .What is the use of this 2 here?
While solving the assignment in the second question its been asked to plot a scatter plot of imdb_rating and imdb_num_votes. I did typed plot(x = movies$imdb_rating, y = movies$imbd_num_votes, main = "IMBD rating vs imbd num votes", ylab = "imbd num votes", xlab = "IMBD rating", ylim = c(0,100000), xlim = c(0,10), col = "red") I am not getting the scatter plot instead i am getting a straight dotted line across the x-axis. Could you please help.
HiI have made a scatter plot using plot() function. I want to add more markers (there are 4 currently) and change the labels ( Eg 0e+00 into 0) in the Y-axis. Can you please advice? I am not using ggplot2.ThanksKarthik
12913 visits
Outline:What is a bar chart Draw a bar chart Use the barplot function Add labels to the bar chart Adjust the labels of the bar chart What is a scatter plot Draw a scatter plot Use plot function with two objects Find the correlation coefficient Range of correlation coefficient
What is a bar chart Draw a bar chart Use the barplot function Add labels to the bar chart Adjust the labels of the bar chart What is a scatter plot Draw a scatter plot Use plot function with two objects Find the correlation coefficient Range of correlation coefficient
Show video info
Pre-requisite