[R] coxph and variables

2013-04-02 Thread sylvain
Dear list,I am quite new to the world of biostatistics and I encounter some issues in the precise understanding of the coxph function of the survival package.I have a set of survival data (patient who had (or died from) a breast cancer) I'd like to see which are the variables that might cause dead

[R] Breusch-Pagan heterosckedasticity test for mixed models - does it exist ?

2014-08-06 Thread sylvain willart
Hi everyone, I'm asked to perform a heteroskedasticity test for a model, Usually, I use lmtest:bptest and it works fine, But this model I have to test was estimated using nlme:lme, and the bptest function seems to complain about it (no R-Squared I guess?), So I wonder: Does it exist a bptest for

[R] S4 class and Package NAMESPACE [NC]

2008-07-25 Thread Sylvain ARCHENAULT
clare each functions in the NAMESPACE file. Since I have a lot of functions, it's not very easy. Is there a way to exports all methods in one statement ? or is there a tool which can help generating the NAMESPACE file ? Thanks for your help, Sylvain. PS: Could you please CC me in your repli

[R] how to import map data (maptools?) from a html set of 'coords'

2010-03-02 Thread sylvain willart
amples use existing .dbf files. I just have a (serie of) text file(s) looking like this: For example, for the French Region Burgundy: any idea welcome, sylvain (If anayone is interested with that type of data, they're available at the INSEE website along with loads of information on the

Re: [R] how to import map data (maptools?) from a html set of 'coords'

2010-03-03 Thread sylvain willart
distance or area calculus (which do not need to be extremely precise...) sylvain 2010/3/3 Michael Denslow : > Hi Sylvian, > > > On Tue, Mar 2, 2010 at 1:15 PM, sylvain willart > wrote: >> Dear R users, >> >> I would like to draw map and import it in maptools/spa

Re: [R] how to import map data (maptools?) from a html set of 'coords'

2010-03-03 Thread sylvain willart
th(v),by=2) seqy <- seq(2,length(v),by=2) vx <- c() for (j in seqx) { vx <- c(vx,v[j]) } vy <- c() for (j in seqy) { vy <- c(vy,v[j]) } plot(vx,-vy) polygon(vx,-vy,border="red") #### thanks for your tips, Sylvain Now, I just

[R] black cluster in salt and pepper image

2010-03-08 Thread Sylvain Sardy
Hi, on a lattice, I have binary 0/1 data. 1s are rare and may form clusters. I would like to know the size/length of largest cluster. Any help warmly welcome, Sylvain. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

[R] Counting non-empty levels of a factor

2009-11-08 Thread sylvain willart
got a database I can merge with MyData) any idea for doing that in R ? Thanks in advance, King Regards, Sylvain Willart, PhD Marketing, IAE Lille, France __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

Re: [R] Counting non-empty levels of a factor

2009-11-08 Thread sylvain willart
:11 AM, David Winsemius wrote: > >> >> On Nov 8, 2009, at 8:38 AM, sylvain willart wrote: >> >>> Hi everyone,h >>> >>> I'm struggling with a little problem for a while, and I'm wondering if >>> anyone could help... >>> >>>

[R] length of a density curve (or any curve)

2009-12-04 Thread sylvain willart
Hello R users, When I type d <- density(MyData$x) I obtain a density object I can plot, But I wonder if there is a way to easily compute the length of the density curve ? ( I imagine I could compute the distances between the 512 equally spaced points using their x and y, but does it exist a sm

Re: [R] length of a density curve (or any curve)

2009-12-04 Thread sylvain willart
Yes, sure (and I just did it again) but I can't see an answer... did I miss sthg ? regards, SW 2009/12/4 milton ruser : > hi Sylvain, > > did you try ?density > > regards > > milton > > On Fri, Dec 4, 2009 at 7:19 AM, sylvain willart > wrote: >> &g

Re: [R] length of a density curve (or any curve)

2009-12-04 Thread sylvain willart
omputation of the length). > > Hpoing this helps, > Ted. > > On 04-Dec-09 12:41:22, sylvain willart wrote: >> Yes, sure (and I just did it again) >> but I can't see an answer... did I miss sthg ? >> >> regards, >> >> SW >> >> 2009/12

[R] Reshaping Data for bi-partite Network Analysis

2013-04-13 Thread sylvain willart
Output school home sport beach Marc 24 0 0 Joe 03 1 5 Mary 40 0 0 The Dataset is fairly large (couple hundreds of people and places), and I would very much appreciate if someone could point me to a routine or function that could transform

Re: [R] Reshaping Data for bi-partite Network Analysis [SOLVED]

2013-04-13 Thread sylvain willart
3 0 1 > #2 Marc 04 2 0 > #3 Mary 00 4 0 > > #or > xtabs(time~.,Input) > # place > #people beach home school sport > # Joe 53 0 1 > # Marc 04 2 0 > # Mary 00 4

[R] Which analysis for a set of dummy variables alone ?

2014-02-04 Thread sylvain willart
links between stores. (kind of "if a consumer go to that store, he probably also goes to this one...") So, I have a simple question: which method you would choose for computing and plotting the links between a set of dummy variable? Thanks in advance Sylvain PhD Marketing Asso

[R] Extract part of a list based on the value of one of the subsubscript (weird, but with a reproducible example for clarity sake)

2014-03-17 Thread sylvain willart
orm x86_64-unknown-linux-gnu arch x86_64 os linux-gnu system x86_64, linux-gnu status major 2 minor 15.2 year 2012 month 10 day26 svn rev61015 language R version.string R version 2.15.2 (2012-10-26) nickn

Re: [R] Extract part of a list based on the value of one of the subsubscript (weird, but with a reproducible example for clarity sake)

2014-03-17 Thread sylvain willart
It works like a charm, Plus, this method (logical vector for list extraction) opens a wide range a possibilities for me, thanks a million Duncan 2014-03-17 12:55 GMT+01:00 Duncan Murdoch : > On 14-03-17 7:27 AM, sylvain willart wrote: > >> Dear R (list)-users >> >> I

[R] [R-pkgs] ODB : connecting OpenOffice Base with R

2011-06-20 Thread Sylvain Mareschal
rations. Notice the database files are copied in a temporary directory, thus any update made to the database is not written in the .odb file untill the odb.close call, so simultaneous access to a same database (via R and OpenOffice) should not be considered. Any suggestion or comment may

[R] conflict when passing an argument to a function within an other function

2011-11-27 Thread Sylvain Antoniazza
ument to the polygone function within map??? Thanks in advance for your help. Cheers, Sylvain. PS: for the moment I used a trick with the fg argument passed to par which allows to pass a colour for the border of the polygons. -- *Sylvain Antoniazza* PhD student & assistant University of Lausann

[R] import contingency table

2012-05-28 Thread sylvain willart
hello everyone, i often work on contingency table that I create from data.frame (with table() function) but a friend sent me an excel sheet wich *already is* a contingency table (just a simple 2 way table !...) any clue on how to import it in R (keeping row names and col names) ? any tuto I com

Re: [R] import contingency table

2012-05-28 Thread sylvain willart
; > library(sos) > findFn('xls') > > It returns read.xls as the first line. > > Hope this helps, > > Rui Barradas > > Em 28-05-2012 11:32, sylvain willart escreveu: >> >> hello everyone, >> >> i often work on contingency table that I

Re: [R] import contingency table

2012-05-28 Thread sylvain willart
> read.table(..)[,1] to get the row names for example and put them into the > matrix with rownames() > > Am 28.05.2012 um 13:49 schrieb sylvain willart: > >> there are no indication in ?table on how to read in a contingency >> table (only on how to transform a datafra

[R] Builind C code for R with cygwin [C1]

2008-04-07 Thread sylvain . archenault
. Stop. Google it didn't give me any hints. Thanks for your help. Sylvain Archenault. * This message and any attachments (the "message") are con...{{dropped:13}} __ R-hel

Re: [R] Builind C code for R with cygwin [NC]

2008-04-07 Thread sylvain . archenault
Ok thanks, I understand what's wrong. [EMAIL PROTECTED] 07/04/08 10:26 AM To Sylvain ARCHENAULT/fr/[EMAIL PROTECTED] cc r-help@r-project.org Subject Re: [R] Builind C code for R with cygwin [C1] And I guess you installed R for Windows and then tried to do this? You must eit

[R] Problem with garchFit [C1]

2008-04-07 Thread sylvain . archenault
hat could be the problem with the time series I use ? Thanks, Sylvain * This message and any attachments (the "message") are con...{{dropped:13}} __ R-help@r-project.org

Re: [R] [R-SIG-Finance] how to study the lead and lag relation of two time series?

2009-01-22 Thread Sylvain Barthelemy
;Lead-lag cross-sectional structure and detection of correlated-anticorrelated regime shifts": http://tinyurl.com/b6cw5m Regards. Sylvain ______ Sylvain Barthélémy Research Director, TAC Applied Economic & Financial Research Tel: +33.(0).299.393.140 - Fa

[R] step and glm : keep all models

2008-01-24 Thread Sylvain Bertrand
eep" option, but couldnt find any help on how to use it. Would anyone here be able to help me with this? Thank you. Regards, Sylvain [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/list

[R] Seasonal adjustment with seas - Error: X-13 has returned a non-zero exist status

2020-09-17 Thread Weber Sylvain (HES)
-and-x13 https://github.com/christophsax/seasonal/issues/154 but I couldn't find any solution yet. Does anyone have any idea why this issue is occurring? Thanks very much. Sylvain __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, se

Re: [R] Seasonal adjustment with seas - Error: X-13 has returned a non-zero exist status

2020-09-18 Thread Weber Sylvain (HES)
;M:/R/win-library/4.0' is the traditional DOS path corresponding to the UNC path \\... .libPaths(myPaths) Thanks again! Sylvain De : Bill Dunlap Envoyé : jeudi, 17 septembre 2020 18:35 À : Weber Sylvain (HES) Cc : r-help@R-project.org Objet : Re: [R] Seasonal adjustment with seas - Error