Try this:

get('datasplit')$'3'$Area

On Wed, Aug 18, 2010 at 1:53 PM, Johnny Tkach <johnny.tk...@utoronto.ca>wrote:

> Hi all,
>
> I have loaded a table called 'data' and used the split command to create a
> new table called 'datasplit' based on the variable 'a.ImageNumber' in
> 'data'.  a.ImageNumber just specifies the image number that certain
> measurements are associated with (so there could be 330 measurements from
> image 1 and 297 measurements from image 2 etc).
>
> I would now like to retrieve information using the get command but I am
> running into some problems.
>
> If I want to retrieve the data for the measurement parameter I call "Area"
> from image 3, I can type:
>
> > datasplit$"3"$Area
>
> R then outputs the list of Area measurements for image 3.
>
> However if I type:
>
> > get("datasplit$\"3\"$Area")
>
> or
>
> >get('datasplit$"3"$Area')
>
> R returns errors saying the object does not exist.
>
> Any help is appreciated,
>
> JT
>
> Johnny Tkach, PhD
> Donnelly CCBR, Rm. 1230
> Department of Biochemistry
> University of Toronto
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to