On Thu, 4 Mar 2010 11:34:49 +1300 Rolf Turner
wrote:
> There are various ways to access components of a data frame:
>
> * plot(con$rel,con$len)
> * plot(con[["rel"]],con[["len"]])
> * plot(con[,"rel"],con[,"len"])
> * with(con, plot(rel,len))
And: plot(len~rel, data=con)
On 4/03/2010, at 10:50 AM, Steven DeRose wrote:
> I'm trying to get started with R, on Ubuntu. I worked through the
> tutorial, and have made a small tab-delimited subset of my data to try
> out (10 cases with about a dozens variables). But I can't seem to figure
> out how to actually refer to va
Hi Steve,
I think the problem is just that those variables are in the con
data.frame. If so you have several options:
1) with(con, plot(rel, len))
2) plot(con$rel, con$len)
3) attach(con); plot(rel, len)
Best,
Ista
On Wed, Mar 3, 2010 at 4:50 PM, Steven DeRose
wrote:
> I'm trying to get starte
I'm trying to get started with R, on Ubuntu. I worked through the
tutorial, and have made a small tab-delimited subset of my data to try
out (10 cases with about a dozens variables). But I can't seem to figure
out how to actually refer to variables. I presume I'm missing something
very simple, but
4 matches
Mail list logo