Re: [R] Error on easy way for JoSAE Package

2012-05-17 Thread ana24maria
I have attached to this message the first 20 lines of the output for
dput(amigo). Unfortunately, i can't send it the overall output.
Thank you.

On Wed, May 16, 2012 at 6:10 PM, David Winsemius [via R] 
ml-node+s789695n4630253...@n4.nabble.com wrote:


 On May 16, 2012, at 1:33 AM, ana24maria wrote:

  Thank you very much.
  After using dput and the easy way ( result -
  eblup.mse.f.wrap(domain.data
  = amigo, lme.obj = fit.lme)),
  i have got the following error:
 
  Error in `[.data.frame`(sample.data, , variabs) :
   undefined columns selected

 What John was asking you to do was at your console just type:

 dput(amigo)

 ... and then copy the output to an email and send that to the list.
 Your first posting had data that was ambiguous as to content as well
 as mangled by the various email clients and servers that processed on
 the path to our eyes.

 
  What should I do?

 You should also read the Posting Guide.

  --
  View this message in context:
 http://r.789695.n4.nabble.com/Error-on-easy-way-for-JoSAE-Package-tp4625684p4630220.html

 

  PLEASE do read the posting guide
 http://www.R-project.org/posting-guide.html
  and provide commented, minimal, self-contained, reproducible code.
 --

 David Winsemius, MD
 West Hartford, CT

 __
 [hidden email] http://user/SendEmail.jtp?type=nodenode=4630253i=0mailing 
 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.


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://r.789695.n4.nabble.com/Error-on-easy-way-for-JoSAE-Package-tp4625684p4630253.html
  To unsubscribe from Error on easy way for JoSAE Package, click 
 herehttp://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4625684code=YW5hMjRtYXJpYUBnbWFpbC5jb218NDYyNTY4NHwxNzE3MDQ5Njc1
 .
 NAMLhttp://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml



--
View this message in context: 
http://r.789695.n4.nabble.com/Error-on-easy-way-for-JoSAE-Package-tp4625684p4630339.html
Sent from the R help mailing list archive at Nabble.com.
[[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.


Re: [R] Error on easy way for JoSAE Package

2012-05-16 Thread ana24maria
Thank you very much. 
After using dput and the easy way ( result - eblup.mse.f.wrap(domain.data
= amigo, lme.obj = fit.lme)),
i have got the following error:

Error in `[.data.frame`(sample.data, , variabs) : 
  undefined columns selected


What should I do?




--
View this message in context: 
http://r.789695.n4.nabble.com/Error-on-easy-way-for-JoSAE-Package-tp4625684p4630220.html
Sent from the R help mailing list archive at Nabble.com.

__
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.


Re: [R] Error on easy way for JoSAE Package

2012-05-15 Thread ana24maria
 Here you got the data sets (which are also available in the txt attachment):

head(amigo)

 siruta med migr y_m y_f ydirect mediu_um mediu_rm mediu_uf mediu_rf
1   1   1017   13   3   0 301  301000
2   1   1071   30   0   0   00000
3   1   1151   10   0   0   00000
4   1   1213   12   1   1 164  1180   460
5   1   1348   1   14   5   9   00000
6   1   1455   10   0   0   00000
  female male emig_coef c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15
c16
1  0  301 0  0  0  0  0  0  0  0  0  0   0   0   0   0   0   0  
0
2  00 0  0  0  0  0  0  0  0  0  0   0   0   0   0   0   0  
0
3  00 0  0  0  0  0  0  0  0  0  0   0   0   0   0   0   0  
0
4 46  11846  0  0  0  0  0  0  0  0  0   0   0   0   0   0   0  
0
5  00 0  0  0  0  0  0  0  0  0  0   0   0   0   0   0   0  
0
6  00 0  0  0  0  0  0  0  0  0  0   0   0   0   0   0   0  
0
  c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34
c35
1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
3   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
4   0   0   0  46   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
5   0   0   0   0   1   0   0   0   0   0   1   0   3   1   0   0   0   0  
2
6   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
  c36 c37 c38 c39 c40 c41 c42 c43 c44 c45 c46 c47 c48 c49 c50 c51 c52 c53
c54
1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
3   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
4   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
5   2   0   1   0   0   1   0   0   0   0   0   0   0   0   1   0   0   0  
0
6   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
  c55 c56 c57 c58 c59 c60 c61 c62 c63 c64 c65 c66 c67 c68 c69 c70 c71 c72
c73
1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
3   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
4   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
5   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
6   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
  c74 c75 c76 c77 c78 c79 c80 c81 c82 c83 c84 c85 c86 c87 c88 c89 c90 c91
c92
1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
3   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
4   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
5   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
6   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  
0
  c93 c94 c95 c96 c97 c98 c99 c100 c101 gr_1f gr_2f gr_3f gr_4f gr_5f
eduinf_f
1   0   0   0   0   0   0   000 0 0 0 0 0   
0
2   0   0   0   0   0   0   000 0 0 0 0 0   
0
3   0   0   0   0   0   0   000 0 0 0 0 0   
0
4   0   0   0   0   0   0   000 046 0 0 0  
46
5   0   0   0   0   0   0   000 0 110 2 0   
7
6   0   0   0   0   0   0   000 0 0 0 0 0   
0
  edusup_f gr_1m gr_2m gr_3m gr_4m gr_5m eduinf_m edusup_m
108580 0   136 0  3010
20 0 0 0 0 000
30 0 0 0 0 000
40 0 0   118 0 0  1180
56 1 1 3 1 042
60 0 0 0 0 000


head(rpl)

 siruta med   pop mediu_um mediu_rm mediu_uf mediu_rf female  male  c1  c2 
c3  c4  c5  c6  c7  c8  c9 c10 c11 c12 c13 c14 c15
1   1   1017   1 65679312700344090  34409 31270 257
258 260 286 295 259 245 284 267 307 399 412 562 570 607
2   1   1071   3  25840 12550 1329   1329  1255   9 
10  18  15  15  16  14  16  10  14   7  16  18  14  21
3   1   1151   1  5983 29710 30120   3012  2971  20 
19  26  28  26  37  35  27  47  42  38  36  44  44  44
4   1   1213   1 26919132510136680  13668 13251 110
101 119 115 121  97  84  96 118 142 147 148 195 238 229
5   1   1348   1 21343