![]() In the following table we summarize all the available possibilities for the base R plotting function. With the plot function you can create a wide range of graphs, depending on the inputs. ![]() You can create a plot of the previous data typing: # Plot the data We are going to simulate two random normal variables called x and y and use them in almost all the plot examples. The R plot function allows you to create a plot passing two vectors (of the same length), a dataframe, matrix or even other objects, depending on its class or the input type.
0 Comments
Leave a Reply. |