Re: [R] Error in evalauating a function

2011-08-30 Thread Martin Morgan
On 08/30/2011 04:19 PM, Debs Majumdar wrote: Here's the plik code I ran: plink --bfile olr_try1 --pheno p3.txt --pheno-name dnum --covar p3.txt --covar-name a4 --missing-phenotype -9 --R olr2.R The below function is contained in the olr2.R script. The data which I input is contained in the bi

Re: [R] Error in evalauating a function

2011-08-30 Thread Debs Majumdar
Here's the plik code I ran: plink --bfile olr_try1 --pheno p3.txt --pheno-name dnum --covar p3.txt --covar-name a4 --missing-phenotype -9 --R olr2.R The below function is contained in the olr2.R script. The data which I input is contained in the binary file named olr_try1. The response variable

Re: [R] Error in evalauating a function

2011-08-30 Thread David Winsemius
On Aug 30, 2011, at 6:49 PM, Debs Majumdar wrote: Hi, I am very new to R. So, pardon my dumb question. I was trying to write my own function to run a different model (perform an ordered logistic regression) using the example in website http://pngu.mgh.harvard.edu/~purcell/plink/rfunc.sh

[R] Error in evalauating a function

2011-08-30 Thread Debs Majumdar
Hi,   I am very new to R. So, pardon my dumb question. I was trying to write my own function to run a different model (perform an ordered logistic regression) using the example in website http://pngu.mgh.harvard.edu/~purcell/plink/rfunc.shtml But R returns a error `R Error in eval(expr, envi