[R] ivprobit what are formula1 and formula2

2016-03-15 Thread Betty Betty
Dear All, Can some one explain to me what exactly is formula1 and formula2 in the ivprobit(formula1, formula2, data = list(), ...). The manual for ivprobit has quite limited information and i found it difficult to understand. Thank you very much! [[alternative HTML version deleted]]

Re: [R] mvProbit error message

2016-02-24 Thread Betty Betty
ind(y1,y2,y3,y4,y5) ~ x1+x2+x3+..+.x11,data=mydata) > > > > but in mydata there are variables tree and nothing (according what you did > tell us). > > > > So I am rather confused. > > > > Cheers > > Petr > > > > *From:* Betty Betty [mailto:alemine

[R] mvProbit error message

2016-02-23 Thread Betty Betty
Dear All, I am running the mvProbit model to estimate five equation probit models. In my data all the dependent variables are dichotomous with values 0/1 and lables TRUE/FALSE. The explanatory variables are composed of catagorical and countinous variables. I specified the model as follows

Re: [R] PLS-DA and LV variance with mixOmics

2013-11-20 Thread Betty
Hi Roberto, I need to do the same..did you manage to figure it out? Thanks. On Thursday, September 27, 2012 8:02:56 PM UTC+1, Roberto wrote: Hi all, I need to obtain the LV variance from my PLS-DA analysis. I tried to read the reference manuale of the package, but I do not found

[R] seqinr-dist.alignment?

2011-09-20 Thread Betty Schirrmeister
Hi everyone I have got a quick question: I the seqinr package: *dist.alignment(x,identity)* This is calculating the square root of pairwise distances. Does anyone know whether/how gaps are counted in this function? Thank you. Best wishes, Bettina [[alternative HTML version

[R] sum a particular column by group

2010-02-05 Thread Fang (Betty) Yang
60--646 16WM 60--642 Does anyone know a code to do this or give a hint? Thank you in advance. Betty [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] sum a particular column by group

2010-02-05 Thread Fang (Betty) Yang
Thanks for your help. Finally, I got it. From: Dennis Murphy [mailto:djmu...@gmail.com] Sent: Friday, February 05, 2010 12:20 PM To: Fang (Betty) Yang Cc: r-help@r-project.org Subject: Re: [R] sum a particular column by group Hi: This is not an elegant solution by any means, but it gets

[R] keep empty subsets using aggregate

2009-11-24 Thread Fang (Betty) Yang
, Betty [[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

[R] problems with read.csv

2009-11-02 Thread Fang (Betty) Yang
1006 1032 1020 I'd like the first one to be 0930, too. Thanks in advance, Betty [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] extract day or month as in Splus

2009-10-23 Thread Fang (Betty) Yang
to get the same results as above(extract days from dates), please? Thanks in advance! Betty [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] problems with ace (ape-package)

2009-01-06 Thread Betty Schirrmeister
Hi everyone I am trying to reconstruct ancestral character states with R. I used the ace function of the package ape. I have discrete characters and tried to use the ER and ARD model. The problem is, that I get negative lik$anc values. Does anybody by chance have an idea what might be wrong?