[R] problem in reading GDX file

2013-05-21 Thread shyam basnet
   115.40   I want read the GDX file in as it is condition.   Thanks,   Shyam Basnet Nepal [[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

Re: [R] how to subtotal by rows

2013-04-20 Thread shyam basnet
Dear All,   Thanks for helping me to redress the problem.    Cheers,   Shyam Basnet Nepal - Original Message - > From: arun > To: Janesh Devkota > Cc: R help ; shyam basnet > Sent: Saturday, April 20, 2013 12:52 AM > Subject: Re: [R] how to subtotal by rows >

[R] creating dummy variables

2013-04-20 Thread shyam basnet
Hello R-users,   The below is a snippet of my data:   fid crop year value 5_1_1 SWHE 1995 171 5_1_1 SWHE 1997 696 5_1_1 BARL 1996 114 5_1_1 BARL 1997 344 5_2_2 SWHE 1995 120 5_2_2 SWHE 1996 511 5_2_2 BARL 1996 239 5_2_2 BARL 1997 349   Here,

[R] how to subtotal by rows

2013-04-19 Thread shyam basnet
Dear R-users, I have a dataset as like below, and I want to subtotal the values of rice,wheat and maize by year for each fid. fid      year     rice     wheat      maize 1        1995      5        NA           NA 1        1995      NA        3

Re: [R] how to extract p-value in GenMatch function

2012-07-16 Thread shyam basnet
Dear Peter, Thanks for your kind help. I got the solution now. Best Regards, Shyam > > From: Peter Ehlers >To: shyam basnet >Cc: "r-help@R-project.org" >Sent: Monday, July 16, 2012 1:16 AM >Subject: Re: [R] how to extract

[R] how to extract p-value in GenMatch function

2012-07-15 Thread shyam basnet
the problem is I could not extract T-statistic and P-value from the above output. Could you please someone help me to resolve this problem? Thanking you, Best Regards, Shyam Basnet SLU, Uppsala, Sweden [[alternative HTML version deleted]] _

[R] prediction in "conmode" class of Nonparametric binary models

2011-12-04 Thread shyam basnet
Dear R users, Is it possible to apply 'predict' to an object of class "conmode"?  Could you please suggest me any applicable method for 'predict' for the "conmode" class? Thanking you, Sincerely Yours, Shyam Kumar Basnet SLU, Uppsala Sweden [[alternative HTML version deleted]] __

[R] Error in Genetic Matching

2011-12-02 Thread shyam basnet
Dear R Users, I am a novice learner of R software. I am working with Genetic Matching - GenMatch(), but I am getting an Error message as follows:  Error in GenMatch(Tr = Tr, X = X.binarynp, BalanceMatrix = BalanceMatrix.binarynp,  :    GenMatch(): input includes NAs Could you please suggest me

[R] Error message in Genetic Matching

2011-12-02 Thread shyam basnet
Dear R Users, I am a novice learner of R software. I am working with Genetic Matching - GenMatch(), but I am getting an Error message as follows:  Error in GenMatch(Tr = Tr, X = X.binarynp, BalanceMatrix = BalanceMatrix.binarynp,  :    GenMatch(): input includes NAs Could you please suggest me