Today I want to learn a little bit about the R statistical programming language.
I’m not finding the tutorials to be helpful yet.
I hope to jumpstart this effort with a simple task.
I have 3 x values: 1.5, 2.5, 3.5
and 3 y values: 1.2, 0.1, 4.4
I want to plot a histogram with this data.
q1: What is the least amount of R syntax I can use to plot this historgram?
q2: Can I put the data in myfile.csv and ask R to read myfile.csv and then plot the histogram?
That will do what you’re after. I think. Labels can be added like so.
A histogram has bars touching (continuous x variable), and bar chart/plot doesn’t, strictly speaking, so this may not be what you’re after…