On Fri, May 7, 2010 at 10:51 AM, Joshua Wiley <[email protected]>wrote:

> Try something like:
>
> sample[which(sample$Domain==xxx & sample$sex==FeMale), ]
>
> Hope that helps,
>
>
Hi Josh,

It works. Thanks for your time.

I am using source() to run program, like

> source (sample.R)

I want to know how to pass the argument to my sample.R, some this like

> source(sample.R, xxx,FeMale)

 Is it possible? any link will greatly appreciated.

Thanks & Rg
Mohan L

        [[alternative HTML version deleted]]

______________________________________________
[email protected] 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