Re: [R] Daylight Savings Time unknown in R-2.2.1

2006-01-07 Thread Prof Brian Ripley
POSIX does not require strptime() to set the timezone. This changed in 2.2.1 as part of o ISODateTime() mistakenly corrected non-existent times (when DST was being started) in the current time zone. You can get the isdst by doing a conversion, e.g. x - strptime(20051208,

Re: [R] ylim problem in barplot

2006-01-07 Thread Jim Lemon
Bliese, Paul D LTC USAMH wrote: When I use barplot but select a ylim value greater than zero, the graph is distorted. The bars extend below the bottom of the graph. Have a look at the gap.barplot function in the plotrix package. A new version (2.0.1) has just been uploaded and should

Re: [R] glmmPQL and variance structure

2006-01-07 Thread Patrick Giraudoux
Dear listers, On the line of a last (unanswered) question about glmmPQL() of the library MASS, I am still wondering if it is possible to pass a variance structure object to the call to lme() within the functions (e.g. weights=varPower(1), etc...). The current weights argument of glmmPQL is

[R] level sets of factors are different

2006-01-07 Thread Richard van Wingerden
Hi, I have two data frames A en B. I want to filter B with values of A data_frame_b names - colnames(data_frame_b[1:1, ]) filtera - data.frame(data_frame_a[1:1]) print(nrow(filtera)) if (nrow(filtera)0){ filtered_frame_b -

[R] Clustering and Rand Index

2006-01-07 Thread Mark Hempelmann
Dear WizaRds, I am trying to compute the (adjusted) Rand Index in order to comprehend the variable selection heuristic (VS-KM) according to Brusco/ Cradit 2001 (Psychometrika 66 No.2 p.249-270, 2001). Unfortunately, I am unable to correctly use cl_ensemble and cl_agreement (package: clue).

Re: [R] level sets of factors are different

2006-01-07 Thread Prof Brian Ripley
The message is really explicit. You are trying to compare the equality of two factors with different level sets. Such factors are not comparable (and this is discussed on ?factor). You didn't give a reproducible example, and you have not told us what you are trying to do, so all we can do is

Re: [R] Wikis for R

2006-01-07 Thread Detlef Steuer
On Thu, 5 Jan 2006 11:23:04 -0200 Fernando Henrique Ferraz P. da Rosa [EMAIL PROTECTED] wrote: Martin Maechler writes: If you go to the bottom of that wikipedia page, you see that there is an R Wiki -- and has been for several years now (!) at a Hamburg (De) university.

Re: [R] Wikis for R

2006-01-07 Thread Frank E Harrell Jr
Detlef Steuer wrote: On Thu, 5 Jan 2006 11:23:04 -0200 Fernando Henrique Ferraz P. da Rosa [EMAIL PROTECTED] wrote: Martin Maechler writes: If you go to the bottom of that wikipedia page, you see that there is an R Wiki -- and has been for several years now (!) at a Hamburg (De)

Re: [R] R-help Digest, Vol 35, Issue 7

2006-01-07 Thread Evgeniy Kachalin
Hello, dear participants! Could you tip me, is there any simple and nice way to build scatter-plot for three different types of data (, and o and * - signs, for example) with legend. Now i can guess only that way: plot(x~y,data=subset(mydata,factor1=='1'), pch='.',col='blue')

Re: [R] Wikis for R

2006-01-07 Thread Gabor Grothendieck
On 1/7/06, Frank E Harrell Jr [EMAIL PROTECTED] wrote: The current e-mail system places a low burden on users if they follow basic posting rules. The burden is too low and users still do not search for past answers and we also get dozens of separate messages on a single topic (e.g., ylim on

Re: [R] Wikis etc.

2006-01-07 Thread Duncan Murdoch
On 1/6/2006 8:02 PM, paul sorenson wrote: I am a fan of wiki's and I reckon it would really help with making R more accessible. On one extreme you have this email list and on the other extreme you have RNews and the PDF's on CRAN. A wiki might hit the spot between them and reduce the

[R] Generating raster simulations

2006-01-07 Thread Steven K Friedman
Greetings, I'm trying to find a function to generate a random landscape consisting of x by y cells, allows a specification of number of classes and their proportional abundance in the landscape. Does R support such a function ? Thanks in advance Steve Steve Friedman, Assistant

Re: [R] Wikis etc.

2006-01-07 Thread John Sorkin
Several people have stated that one of the problems with the current Email help model is that many questions are asked over, and over again and that people do not search for past answers. Let me point out that the existence of past answers and how to find and search is not known by many people,

Re: [R] Wikis etc.

2006-01-07 Thread Jonathan Baron
On 01/07/06 10:51, John Sorkin wrote: The situation would be greatly helped if the mailing list would automatically add a header or footer to all Email messages giving the URL of the archived Email threads. Don't expect people to know that what are not told! Those people who, in their

Re: [R] Wikis etc.

2006-01-07 Thread John Sorkin
Jon, Thank you for the terse form of the URL. I hope the mailing list will automatically include it in there Email messages. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC

Re: [R] R-help Digest, Vol 35, Issue 7

2006-01-07 Thread Uwe Ligges
Evgeniy Kachalin wrote: Hello, dear participants! Could you tip me, is there any simple and nice way to build scatter-plot for three different types of data (, and o and * - signs, for example) with legend. Now i can guess only that way: plot(x~y,data=subset(mydata,factor1=='1'),

Re: [R] Wikis etc.

2006-01-07 Thread Uwe Ligges
Jonathan Baron wrote: On 01/07/06 10:51, John Sorkin wrote: The situation would be greatly helped if the mailing list would automatically add a header or footer to all Email messages giving the URL of the archived Email threads. Don't expect people to know that what are not told! Those

Re: [R] Generating raster simulations

2006-01-07 Thread Uwe Ligges
Steven K Friedman wrote: Greetings, I'm trying to find a function to generate a random landscape consisting of x by y cells, allows a specification of number of classes and their proportional abundance in the landscape. Does R support such a function ? 1. I do not know. 2. A look

Re: [R] Finding R mailing list archives {was Wikis etc.}

2006-01-07 Thread Martin Maechler
John == John Sorkin [EMAIL PROTECTED] on Sat, 07 Jan 2006 11:05:01 -0500 writes: John Jon, Thank you for the terse form of the URL. I hope John the mailing list will automatically include it in John there Email messages. John well, it *already* contains

Re: [R] Wikis etc.

2006-01-07 Thread John Sorkin
Uwe, I think you suggestion for giving the URL of the archives as, cran-MIRROR/search.html (emphasis added) is not optimal, because the URL as does not work. The URL given should work as given. Thus, http://cran.us.r-project.org/search.html http://www.stats.bris.ac.uk/R/search.html or

Re: [R] Installing Task Views

2006-01-07 Thread Uwe Ligges
Does all work for me with the latest release of R (2.2.1) and ctv (0.3-1) on Windows NT 4.0 SP6. Hence: Which version of R, which version of ctv, and which OS do you use? Uwe Ligges Mark Andersen wrote: Hello, I am just beginning to use R, after several years of using S-Plus (with

Re: [R] Wikis etc.

2006-01-07 Thread Gabor Grothendieck
The trouble with a fixed link is that either that server gets overloaded or one has to post to a list of servers which is a nuisance. Perhaps this could be included at the bottom of each post instead: Before posting, search docs for xyz via R command: RSiteSearch(xyz) and if you still need to

Re: [R] level sets of factors are different

2006-01-07 Thread Richard van Wingerden
Thanks! The as.character fixed it! Regards, Richard On 1/7/06, Prof Brian Ripley [EMAIL PROTECTED] wrote: The message is really explicit. You are trying to compare the equality of two factors with different level sets. Such factors are not comparable (and this is discussed on ?factor).

Re: [R] Installing Task Views

2006-01-07 Thread ronggui
try install.views(Environmetrics,rep=http://www.cran.r-project.org;) 2006/1/8, Uwe Ligges [EMAIL PROTECTED]: Does all work for me with the latest release of R (2.2.1) and ctv (0.3-1) on Windows NT 4.0 SP6. Hence: Which version of R, which version of ctv, and which OS do you use? Uwe Ligges

Re: [R] Clustering and Rand Index

2006-01-07 Thread Christian Hennig
Hi Mark, I don't have the time at the moment to work through your code - but the adjusted Rand index can be computed by function clusterstats in package fpc. Best, Christian On Sat, 7 Jan 2006, Mark Hempelmann wrote: Dear WizaRds, I am trying to compute the (adjusted) Rand Index in order

[R] Question about graphics in R

2006-01-07 Thread Martin Erwig
Considering the R function/plot shown below, I wonder whether it is possible to do the following changes: (1) Change the color of each point to be picked from list of colors according to its z-value. (The range should be from blue (z=0) to red (z=1).) The grid should then be omitted. [I have seen

[R] maptools, write.polylistShape

2006-01-07 Thread Patrick Giraudoux
Dear Roger, I am trying to use the write.polylistShape() function of maptools for the first time and realize that it handles list of polygons of class 'polylist'. However, it seems that no as.polylist() function exist in the package. The question behind that is: in your opinion, which would

Re: [R] Wikis etc.

2006-01-07 Thread Dirk Eddelbuettel
On 7 January 2006 at 10:15, Duncan Murdoch wrote: | The difficulty is getting it going. Right. Which goes along with 'needs official endorsement'. Debian recently moved a more-or-less grassroots wiki to an official domain of the project, and for the last few days I have been hitting

Re: [R] Wikis etc.

2006-01-07 Thread Dirk Eddelbuettel
On 7 January 2006 at 17:14, Uwe Ligges wrote: | Jonathan Baron wrote: | Or, more tersely, http://cran.r-project.org/search.html. | | But then, everybody loads stuff from CRAN master and does not use an Round-robin DNS to spread the load among several machines answering for cran.r-project.org

Re: [R] Wikis etc.

2006-01-07 Thread Jonathan Baron
On 01/07/06 12:25, Dirk Eddelbuettel wrote: So my $0.02 would be to a) go for it, if possible but b) make it visible, and closely tied to R Core / CRAN / R News / Which poses the chicken/egg problem of people running out of spare time to setup, admin, monitor, hand-hold the wiki, its

[R] need palette of topographic colors similar to topo.colors()

2006-01-07 Thread bogdan romocea
Dear useRs, I got stuck trying to generate a palette of topographic colors that would satisfy these two requirements: - the pallete must be 'anchored' at 0 (just like on a map), with light blue/lawn green corresponding to data values close to 0 (dark blue to light blue for negative values,

Re: [R] need palette of topographic colors similar to topo.colors()

2006-01-07 Thread Roger Bivand
On Sat, 7 Jan 2006, bogdan romocea wrote: Dear useRs, I got stuck trying to generate a palette of topographic colors that would satisfy these two requirements: - the pallete must be 'anchored' at 0 (just like on a map), with light blue/lawn green corresponding to data values close to 0

[R] packages and tex files

2006-01-07 Thread Erin Hodgess
Dear R People: I am trying to build a package (yet again!) I have both PCTex and WinEdt. I want the *.tex files to use WinEdt. How should I set that, please? Just in the path? Also, where would I get Rd.sty, please? Thanks, R Version 2.2.1 Windows Sincerely, Erin Hodgess Associate Professor

[R] Where is the stud.ci() function used in boot.ci()?

2006-01-07 Thread Christopher R. Bilder
Hello! I am trying to duplicate the studentized bootstrap confidence interval calculations in boot.ci() without using boot.ci(). My w/o boot.ci() calculations are close to boot.ci() using the same object from implementation of boot(), but not quite the same (I think the differences are due to

Re: [R] Where is the stud.ci() function used in boot.ci()?

2006-01-07 Thread Gabor Grothendieck
boot:::stud.ci On 1/7/06, Christopher R. Bilder [EMAIL PROTECTED] wrote: Hello! I am trying to duplicate the studentized bootstrap confidence interval calculations in boot.ci() without using boot.ci(). My w/o boot.ci() calculations are close to boot.ci() using the same object from

Re: [R] Where is the stud.ci() function used in boot.ci()?

2006-01-07 Thread Prof Brian Ripley
Try one of getAnywhere(stud.ci) boot:::stud.ci However, I think you would do better to get the source package (boot_1.2-24.tar.gz) and study the source code. (The .zip is a Windows binary, and that is not supposed to be human-readable.) On Sat, 7 Jan 2006, Christopher R. Bilder wrote:

Re: [R] Finding R mailing list archives {was Wikis etc.}

2006-01-07 Thread Vitor Chagas
First of all, Happy New Year to all. Don't know if the following can be done, its just an idea: - A new link in R HTML Help pointing to a searchable mailing list archive - the Set CRAN mirror option in R could produce a small file with the appropriate URL for the link. Best regards, Vitor

Re: [R] lmer error message

2006-01-07 Thread Spencer Graves
I am not familiar with this particular error message, but I will offer a few suggestions that might help you isolate it. 1. PLEASE do read the posting guide! www.R-project.org/posting-guide.html. The limited information supplied with your question does NOT include data

[R] sending methods to a new package

2006-01-07 Thread Erin Hodgess
Dear R People: When creating a package, how do you include new methods and classes, please? I'm using the pacakge.skeleton command as a starting point. Thanks, Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto:

Re: [R] sending methods to a new package

2006-01-07 Thread Gabor Grothendieck
See https://www.stat.math.ethz.ch/pipermail/r-help/2006-January/083783.html where I mentioned both S3 and S4 examples you can use as examples. The source to these packages is available on CRAN. On 1/7/06, Erin Hodgess [EMAIL PROTECTED] wrote: Dear R People: When creating a package, how do

Re: [R] sending methods to a new package

2006-01-07 Thread Dirk Eddelbuettel
Erin, On 7 January 2006 at 18:36, Erin Hodgess wrote: | When creating a package, how do you include new methods and classes, | please? As you are undoubtedly aware, there are over 600 packages on CRAN. All of these have source code that you can study. If you find one too obscure, drop it and

[R] repeat { readline() }

2006-01-07 Thread Henrik Bengtsson
Hi. Using Rterm v2.2.1 on WinXP, is there a way to interrupt a call like repeat { readline() } without killing the Command window? Ctrl+C is not interrupting the loop: R : Copyright 2006, The R Foundation for Statistical Computing Version 2.2.1 Patched (2006-01-01 r36947) snip/snip

Re: [R] Wikis etc.

2006-01-07 Thread paul sorenson
Frank E Harrell Jr wrote: paul sorenson wrote: I am a fan of wiki's and I reckon it would really help with making R more accessible. On one extreme you have this email list and on the other extreme you have RNews and the PDF's on CRAN. A wiki might hit the spot between them and reduce

Re: [R] Question about graphics in R

2006-01-07 Thread Duncan Murdoch
On 1/7/2006 12:47 PM, Martin Erwig wrote: Considering the R function/plot shown below, I wonder whether it is possible to do the following changes: (1) Change the color of each point to be picked from list of colors according to its z-value. (The range should be from blue (z=0) to red

[R] Dates

2006-01-07 Thread gynmeerut
Dear All, I have a dataset containing Date column. I need to breakdown this dataset into two parts one which has datapoints before a particular date and the otherone on or after a particular date. for example: 2005-12-15, 2008-12-14, 2012-10-01, 2009-11-15, 2018-10-10, 2014-08-31, 2016-03-27,

Re: [R] Dates

2006-01-07 Thread ronggui
this is one way to do it. x-as.Date(c(2005/2/10,2002/2/1)) x [1] 2005-02-10 2002-02-01 ind-xas.Date(2005/1/1) x[ind] [1] 2005-02-10 x[!ind] [1] 2002-02-01 2006/1/8, gynmeerut [EMAIL PROTECTED]: Dear All, I have a dataset containing Date column. I need to breakdown this dataset into

Re: [R] Mass 'identify' on 2d-plot

2006-01-07 Thread Evgeniy Kachalin
Barry Rowlingson пишет: Evgeniy Kachalin wrote: What is ability in R to graphically (per mouse) define some area and to select all the cases felt in it? 'identify' is OK for 5-10 cases, but what if cases=1000? You can use 'locator' to let the user click a number of points to define

[R] exporting methods/classes

2006-01-07 Thread Erin Hodgess
Dear R People: I'm still struggling with sending methods and classes as part of creating a new package. Where does the .onLoad function go? Within R itself or in a file in one of the new package directories? Here are my latest efforts: Here's the last part of the woof1-Ex.Rout