[R] Running Rmpi/OpenMPI issues

2014-03-21 Thread Tsai Li Ming
Hi, I have R 3.0.3 and OpenMPI 1.6.5. Here’s my test script: library(snow) nbNodes <- 4 cl <- makeCluster(nbNodes, "MPI") clusterCall(cl, function() Sys.info()[c("nodename","machine")]) mpi.quit() And the mpirun command: /opt/openmpi-1.6.5-intel/bin/mpirun -np 1 -H host1,host2,host3,host4 R --

[R] Adding points to a topo map

2014-03-21 Thread kshel
Hello R Users, I am trying to create a topographical map of Argentina with data points showing the location of 5 species. I first created a map using map() with points using latitude and longitude data for all 5 species as follows: library(maps) # Latitude / longitude coordinates of the 5

Re: [R] [Re: Does a survival probability(the probability not, experiencing an event) have to be non-increasing?

2014-03-21 Thread Zhiyuan Sun
Thanks Terry. Your explanation is right on the point. You solved my question about time-dependent covariate. When calculating survival at time t, you have to consider the exposure history before ant at time t. It is reasonable when we assume cumulative hazard before time t can be carried over to

Re: [R] names wise flge values

2014-03-21 Thread arun
Hi, dat <- structure(list(Cname = c("chiyyan", "saikiran", "niranjan", "yeswanth", "anitha", "krishna"), Wname = c("chyyan", "saikira", "nirnjan", "eswanth", "anita", "krisna")), .Names = c("Cname", "Wname"), class = "data.frame", row.names = c(NA, -6L)) output <- structure(list(Cname = c("chiy

Re: [R] Krippendorff's alpha bootstrapping implementation

2014-03-21 Thread Jim Lemon
On 03/22/2014 07:41 AM, Polina Proutskova wrote: Hi, I am using Krippendorff’s alpha coefficient for my research. The current implementation of the confidence interval calculation in the kripp.boot package is merely a wrapper for the kripp.alpha function from the irr package, it is not exactly

[R] Krippendorff's alpha bootstrapping implementation

2014-03-21 Thread Polina Proutskova
Hi, I am using Krippendorff’s alpha coefficient for my research. The current implementation of the confidence interval calculation in the kripp.boot package is merely a wrapper for the kripp.alpha function from the irr package, it is not exactly correct. I have implemented Klaus Krippendorff’s a

Re: [R] Warning message for TukeyHSD test - error

2014-03-21 Thread Rmh
you have only 1 df for tryptophan. make it a factor and then all shoukd work. Sent from my iPhone > On Mar 21, 2014, at 12:38, Valentina Lauria > wrote: > > > Dear R list, > > I am trying to fit a one way anova with just one factor and 3 levels. One of > my levels is significant > >> av2<-

Re: [R] FrailtyHL package does not work

2014-03-21 Thread Maria Helena Mourino Silva Nunes
Dear Prof. Therneau, thank very much for your answer. I don't know the reason why I didn't receive your answer in my email. Today, I found it by chance at the internet. I read the documentation about the package "coxme" and I think that it fits my problem. I need to model multiple events for ea

[R] Warning message for TukeyHSD test - error

2014-03-21 Thread Valentina Lauria
Dear R list, I am trying to fit a one way anova with just one factor and 3 levels. One of my levels is significant > av2<-aov(site~Tryptophan, data=datafit) > summary(av2) Df Sum Sq Mean Sq F value Pr(>F) Tryptophan 1 155.3 155.32 5.875 0.025 * Residuals 20 528.8 26.44 -

Re: [R] geoghraphical coordinate

2014-03-21 Thread Frede Aakmann Tøgersen
Actually if you're missing the north-east part of the whole island do: map('worldHires', c('Ireland', 'UK:Northern Ireland') Yours sincerely / Med venlig hilsen Frede Aakmann Tøgersen Specialist, M.Sc., Ph.D. Plant Performance & Modeling Technology & Service Solutions T +45 9730 5135 M +45 25

Re: [R] geoghraphical coordinate

2014-03-21 Thread Frede Aakmann Tøgersen
Hi Eliza Try this: library("maps") library("mapdata") map('worldHires') map('worldHires', 'Ireland') Don't know in which resolution the hires is. You need to find out yourself. If the resolution is to low please contribute ;-) Otherwise there are geographical resources on the internet in d

[R] Java error while using XLConnect

2014-03-21 Thread Babak Bastan
I would like to use XLConnect to write some data on XLSX file. but this exception occured: Error: NoSuchMethodException (Java): No constructor matching the given parameters could someone tell me, how can I fix this problem? [[alternative HTML version deleted]] _

[R] geoghraphical coordinate

2014-03-21 Thread eliza botto
Dear R-family, I want to draw a map of the world with 0.5 degree*0.5 degree resolution and then want to extract the geographical coordinates of my beloved country Ireland in the same resolution. I hope there is a way of doing it in R. Thank you very much in advance, Eliza

[R] pglm: probit random model

2014-03-21 Thread alfonso . carfora
Hi all, I'm using pglm package to estimate a static random probit model of the type: Yi,t = B1X1i,t-k +... + BzXzi,t-k + Ci+ Ui,t Where Yi={0,1} and all explenatory variables are continuous. the function I use is: pglm(formula,, Data, family = binomial(probit), model = "random",method= "bfg

Re: [R] dnearneigh::spdep: undesired behaviour with SpatialPoints object: bug or feature? Please confirm.

2014-03-21 Thread Roger Bivand
Jan Holstein awi.de> writes: > > I noticed that dnearneigh::spdep shows diverging behaviour with matrix and > SpatialPoints objects respectively: > > reproducible example: > > library(spdep) > set.seed(5) > spdf<-SpatialPointsDataFrame(cbind(lon=runif(1000,2,8),lat=runif(1000,53,56)), >

Re: [R] How to import SAS file defining codes by SAS format catalog file

2014-03-21 Thread David Winsemius
On Mar 21, 2014, at 12:57 AM, Kei_Takeuchi wrote: > Dear Sir/Madam, > > Hello, this is Kei Takeuchi in Japan Automobile Research Institute. > > I am using R to import SAS file in NHTSA. This is happening since SAS is > too expensive software. > > I successfully imoported SAS file which is ***

Re: [R] How to make a code last until a condition is completed ?

2014-03-21 Thread Gwennaël Bataille
Thanks to all for your helpful answers and nice advices ! The while function is definitely what I needed. Best regards, Gwennaël Le 20/03/2014 19:56, Boris Steipe a écrit : This is really a question of programming logic - not of R per se. If I understand your problem correctly, the preferred

[R] How to import SAS file defining codes by SAS format catalog file

2014-03-21 Thread Kei_Takeuchi
Dear Sir/Madam, Hello, this is Kei Takeuchi in Japan Automobile Research Institute. I am using R to import SAS file in NHTSA. This is happening since SAS is too expensive software. I successfully imoported SAS file which is *.sas7bdat by R. Now I want to define codes in SAS file like 1 to

Re: [R] How to importing a CVS file with multiple tables?

2014-03-21 Thread David Winsemius
On Mar 20, 2014, at 1:30 PM, jcrosbie wrote: > I'm trying to figure out how to import data into a dataframe in R. > The table I'm trying to import is: > HistoricalTradingReportServlet.csv > > > > I would like to