[R] Question about the package "MatchIt"

2020-10-09 Thread Maria Cristina Maurizio
Hi! I'm trying to perform propensity score matching on survey data and so for each individual observation I have a statistical weight attached. My question is: is there a way within the package to consider these weights in the matching procedure? Thank you very much. -- Maria Cristina Mau

[R] R6 object that is a list of referenced object

2017-11-15 Thread Cristina Pascual
Dear community, I am having a class, let's say Person, Person <- R6Class("Person", public = list( idPerson = NULL, name = NULL, age = NULL, initialize = function(idPerson = NA, name =

[R] R6 object that is a list of referenced object

2017-11-15 Thread Cristina Pascual
Dear community, I am having a class, let's say Person, Person <- R6Class("Person", public = list( idPerson = NULL, name = NULL, age = NULL, initialize = function(idPerson = NA, name

Re: [R] Problems with time formats when importing data using readHTMLTable

2017-07-11 Thread Cristina Silva
Dear David, Thank you very much. You have solved my problem, not of importing in the right format but the date conversion. It works for me, and if I specify the timezone tz='GMT', I get exactly the same time of the webpage. Sincerely yours, Cristina On Tue, 11 Jul 2017 07:1

Re: [R] Problems with time formats when importing data using readHTMLTable

2017-07-11 Thread Cristina Silva
37.68881 -9.324172 150 The records correspond exactly to the first table. I have tried to change the colClasses to character, but the results are always the same. My question is: how to change the Timestamp to a POSIXlt POSIXct format, either in the importing phase or within R? I hope

[R] Problems with time formats when importing data using readHTMLTable

2017-07-10 Thread Cristina Silva
in R (POSIXct). The script is very simple and worked before: library(XML) x <- readHTMLTable('url') where the 'url' is the link to the website with the specification of the vessel. I appreciate any help. Cristina -- Cristina Silva Divisão de Modelação e Gestão de Recursos

[R] svm.formula versus svm.default - different results

2017-07-06 Thread Cristina Pascual
Dear community, I'm performing svm-regression with svm at library e1071. As I wrote in another post: "svm e1071 call - different results", I get different results if I use the svm.default rather than the svm.formula, being better the ones at svm.formula I've debugged both options. While

Re: [R] country fixed effects model with binary dependent variable

2016-07-24 Thread Cristina Cametti
” and added “family=binomial”. So now that I have the confirmation from an expert that this is a reliable code for my analysis, I am more sure about my results. Thank you all again for your attention. Kind Regards, Cristina Il giorno 24/lug/2016, alle ore 06:50, Jim Lemon ha scritto

[R] country fixed effects model with binary dependent variable

2016-07-23 Thread Cristina Cametti
p + factor(cntry)-1, data=mydata) Thank you very much for your attention. Kind Regards, Cristina __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www

[R] r and fixed effect modeling

2016-07-11 Thread Cristina Cametti
hat this is the right code to do a fixed effect analysis (only cross sections and not cross time). Indeed, I I used the lm and not ppm because my dataset is from only one year. Do you think it is correct? Thank you very much for your attention, Cristina [[alternative HTML version dele

[R] r and country fixed effect modeling

2016-07-11 Thread Cristina Cametti
hat this is the right code to do a fixed effect analysis (only cross sections and not cross time). Indeed, I I used the lm and not ppm because my dataset is from only one year. Do you think it is correct? Thank you very much for your attention, Cristina [[alternative HTML version dele

Re: [R] r code for multilevel latent class analysis

2016-07-09 Thread Cristina Cametti
output makes sense. However, if you have additional suggestions, I will be very glad to hear them. Thank you very much again! Cristina Il giorno 08/lug/2016, alle ore 01:49, David Winsemius ha scritto: >> >> On Jul 7, 2016, at 3:36 PM, Jim Lemon wrote: >> >> Hi Crist

[R] r code for multilevel latent class analysis

2016-07-07 Thread Cristina Cametti
missed some passages? Thank you very much for your help! Cristina [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guid

[R] BootChainLadder problem

2016-06-06 Thread Elisa Di Cristina
I am using ChainLadder package for statistical analysis of a run-off triangle with I=17 and J=14. When I use BootChainLadder() it appears on R console "Number of origin periods has to be equal or greater then the number of development periods". But I have origin periods greater then developmen

[R] small negative values instead of zeros in nested loop

2012-09-25 Thread Cristina Fdez . Aragón
Hi,I am trying to run a code with a series of nested for loops, here is a simplified version of it: J<-seq(0,1,0.2) D<-seq(0,1,0.2) for (x in 1:10) { for (j in 1:len

Re: [R] p adjustment on 4thcorner results

2011-10-12 Thread Cristina Ramalho
Hi Christoph, Thank you soo much, this is great! All the very best, Cristina On Wed, Oct 12, 2011 at 4:52 PM, Christoph Molnar < christoph.mol...@googlemail.com> wrote: > Hi, > > the function fourthcorners() returns a list. You can access the pvalues > shown in th

[R] p adjustment on 4thcorner results

2011-10-11 Thread Cristina Ramalho
or your help, Regards, C. -- Cristina E. Ramalho PhD Candidate MSc in GIS Ecosystem Restoration & Intervention Ecology Research Group School of Plant Biology (M090) The University of Western Australia 35 Stirling Highway, Crawley WA 6009 Perth, Australia Phone: +61 (08) 6488 4655; Fax: +6

[R] Lee-Carter in R package

2011-08-29 Thread Cristina Guimaraes
only available period - and because of this I think it's very important to incorporate this error in the estimate. Could anyone please help me with this, please? I thank a lot if anyone could help me. Sincerely, Cristina [[alternative

[R] packfor

2011-08-17 Thread COCCIA , CRISTINA
Good morning all, I'm trying to find the package "packfor" to install on my library in R, but I'm not available to find it online, so I would ask to you if you please let e know how I could find it and if I need a special R version to do it. Thanks a lot

Re: [R] Panels order in lattice graphs

2011-05-06 Thread Cristina Silva
Thanks to all that reply to my post. The best solution that answers entirely to my question and can be used as a general function and not case by case is the one sent by the package author. Many thanks to everybody. It was helpful. Cristina On 05/05/2011 10:44, Deepayan Sarkar wrote: On Wed

Re: [R] Panels order in lattice graphs

2011-05-05 Thread Cristina Silva
Thank you very much. Cristina On 05/05/2011 10:44, Deepayan Sarkar wrote: On Wed, May 4, 2011 at 9:20 PM, Cristina Silva wrote: Hi all, In lattice graphs, panels are drawn from left to right and bottom to top. The flag "as.table=TRUE" changes to left to right and top to bottom. Is

[R] Panels order in lattice graphs

2011-05-04 Thread Cristina Silva
ttice book. Cristina -- -- Cristina Silva INRB/L-IPIMAR Unidade de Recursos Marinhos e Sustentabilidade Av. de Brasília, 1449-006 Lisboa Portugal Tel.: 351 21 3027096 Fax: 351 21 3015948 csi...@ipimar.pt __ R-help@r-p

[R] Doubt on using lattice

2010-10-18 Thread Cristina Ramalho
1 filled in black; and the dots with Urb=0 filled in white I've been back and forwards, trying to use panel function, but I didn't manage to do it right... Thank you for your help in advance. Regards, C. Cristina Estima Ramalho PhD Candidate MSc in

[R] lme4 package and gamma family

2010-02-01 Thread cristina
of models. Does anyone know why is this happening? Thanks! Cristina IRNAS-CSIC Seville, Spain -- View this message in context: http://n4.nabble.com/lme4-package-and-gamma-family-tp1459527p1459527.html Sent from the R help mailing list archive at Nabble.

[R] Identity link in tweedie

2007-12-17 Thread Cristina Gomes
requires starting values which I cant manage to give appropriately so I'm not sure if its actually an identity link its using. I can't find this info on the help page and I was wondering if somebody could give me a hand. Thanks a lot. Cheers, Cristina.