[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

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] 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

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

2014-02-04 Thread sylvain willart
Dear R-users, I have a dataset I would like to analyze and plot It consists of 100 dummy variables (0/1) for about 2,000,000 observations There is absolutely no quantitative variable, nor anything I could use as an explained variable for a regression analysis. Actually, the dataset represents the

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

2013-04-13 Thread sylvain willart
0 > > A.K. > > > > ____ > From: sylvain willart > To: r-help ; sylvain willart < > sylvain.will...@gmail.com> > Sent: Saturday, April 13, 2013 5:03 PM > Subject: [R] Reshaping Data for bi-partite Network Analysis > > > He

[R] Reshaping Data for bi-partite Network Analysis

2013-04-13 Thread sylvain willart
Hello I have a dataset of people spending time in places. But most people don't hang out in all the places. it looks like: > Input<-data.frame(people=c("Marc","Marc","Joe","Joe","Joe","Mary"), + place=c("school","home","home","sport","beach","school"), + time=c(2,4,3,1,

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

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

[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] how to import map data (maptools?) from a html set of 'coords'

2010-03-03 Thread sylvain willart
have to read it using maptools... 2010/3/3 sylvain willart : > Hi > thanks for your reply, > I'll try to better explain my request... > the data do not come from a file with a specific extension, this is > just some lines I copied pasted from a source html file > > 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

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

2010-03-02 Thread sylvain willart
Dear R users, I would like to draw map and import it in maptools/spatstat packages. The 'raw data' I have come from a web page (...) and are basically a list of coordinates of a polygon. I would like to know how to import them in R; I checked the maptools packages, but all the examples use exist

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

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

[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] 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] 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