Hi Caitlin,
You just need to set the ylim argument to plot (you already did but
g_range is 0, 13 not 0, 15. So...
On Thu, Mar 17, 2011 at 10:49 PM, Caitlin wrote:
> Hi all.
>
> I'm working on an assignment for a psychology class and I am not sure how to
> adjust the y-axis so it displays the ra
Hi all.
I'm working on an assignment for a psychology class and I am not sure how to
adjust the y-axis so it displays the range: 0, 5, 10, 15
The code below is almost ideal:
lsd = c(3, 5, 13)
mar = c(1, 2, 3)
g_range <- range(0, lsd, mar)
plot(lsd, type="o", col="blue", ylim=g_range,
axes=FALSE,
2 matches
Mail list logo