Displaying 20 results from an estimated 88 matches for "giraudoux".
2004 Feb 25
2
writing polygons/segments to shapefiles (.shp) or other ArCGIS compatible file
...pplication to the
case below:
In simple words, is there a somewhere a function taking polygon coordinates (or simple segments) within R to a "ready to read" set
of files ***.shp, ***.shx, etc...
Thanks in advance for any hint
Patrick
----- Original Message -----
From: "Patrick Giraudoux" <patrick.giraudoux at univ-fcomte.fr>
To: "r-help" <r-help at stat.math.ethz.ch>
Sent: Wednesday, February 25, 2004 1:08 PM
Subject: writing polygons/segments to shapefiles (.shp)
> Dear all,
>
> The library maptools offers a fantastic support for shapefile re...
2004 May 01
0
log(0) error is not handled in xyplot, Windows
...t(col.whitebg()) is not used.
The conclusion was that in the lset(col.whitebg()) environment, log(0) was not properly handled (leading to an error message or
something else).
I can provide a data.frame off the list to anybody who wants a reproducible example and to look at what happens.
Patrick Giraudoux
----- Original Message -----
From: "Deepayan Sarkar" <deepayan at stat.wisc.edu>
To: "Patrick Giraudoux" <patrick.giraudoux at univ-fcomte.fr>
Sent: Saturday, May 01, 2004 2:56 PM
Subject: Re: Fw: log(0) error is not handled in xyplot
> On Saturday 01 May 20...
2004 May 08
2
metafile copy and R 1.9.0
...st copy a blank then. This does not occur with the classical plot(). Thus, I suppose that it may come from
lattice or grid (going through the R-archives I checked that a similar trouble occur when R has been updated to 1.5).
Has this trouble been met already and is there a way to turn it?
Patrick Giraudoux
2006 Feb 26
2
subtotal, submean, aggregate
...t 9
meadow 21
pasture 17
and not
aggregate(transect$observations,by=list(transect$habitats),sum)
Group.1 x
1 forest 9
2 meadow 37
3 pasture 17
Did anybody hear about such a function already written in R? If no, any
idea to make it simple and elegant to write?
Cheers,
Patrick Giraudoux
2005 Aug 18
2
axTicks and window resizing
Dear listers,
I have written a function to facilitate the drawing of altitude profiles
with x (distance), y (altitude) and a z parameter (altitude magnification).
profplot<-function(x,y,z=10,...){
op <- par()$mai
par(mai=c(0.95625,0.76875,0.76875,0.95625))
plot(x,y*z, type="l",asp=1,las=1,xlab="",ylab="",yaxt="n",...)
2004 Jan 15
2
Multiple comparisons in R; multicomp
Is there a fonction for multiple comparison tests (similar to "multicomp" in Splus) in a package of R?
Thanks in advance for any hint...
Cheers,
Patrick Giraudoux
University of Franche-Comté
Department of Environmental Biology
EA3184 af. INRA
F-25030 Besançon Cedex
tel.: +33 381 665 745
fax.: +33 381 665 797
http://lbe.univ-fcomte.fr
[[alternative HTML version deleted]]
2004 May 01
1
RWinEdt, R.profile and version 1.9.0
...ot started.
However, if I run
> library(RWinEdt)
from the gui.exe interface, everything goes well.
How can I manage with this "Error in eval(expr, envir, enclos) : couldn't find function "winMenuAdd" generated by a call to
library(RWinEdt) in the .Rprofile script?
Patrick Giraudoux
2005 Jan 03
2
matrix and error in points, plot ?
...],col="red")
..A lag appears on x for mat [1,1] between the two displays.
I wonder if this example may be due to a bug or to the mis-use of a matrix
in the plot() points() functions. In case of mise-use which kind can it be?
I am working with R 2.0.1 and Windows XP.
Cheers,
Patrick Giraudoux
2004 Oct 09
2
which() and value replacement in a matrix
Hi,
I cannot go through the archives with which() as key-word... so common. Though I am sure to have seen something about this subject
in the past could somebody put me on the track. I have a matrix (actually a data.frame) in which I would replace the non-null values
by 1.
I tried the following:
indices<-which(myforetbin > 0,arr.ind=T)
myforetbin[indices[,1],indices[,2]]<-1
and get
2006 Jan 05
1
Memory limitation in GeoR - Windows or R?
...wldege this cannot be done with
geoR (unfortunately). The library gstat offers this option, but has much
more limited possibilities than geoR considering other issues (variogram
analysis, etc...).
library(gstat)
?krige
see argument 'maxdist'
Hope this can help,
Kind regards
Patrick Giraudoux
--
Department of Environmental Biology
EA3184 usc INRA
University of Franche-Comte
25030 Besancon Cedex
(France)
tel. +33 381 665 745
fax +33 381 665 797
http://lbe.univ-fcomte.fr
Aaron Swoboda a 侀crit :
> Dear Sir:
>
>
> I ran across your post to the R-help archive from February...
2003 Dec 16
2
Winedit and R
...1.8.0
Error in eval(expr, envir, enclos) :
Package SWinRegistry is not available.
Either install it or install R-WinEdt manually, as described in ReadMe.txt
Intalling manually looking quite complicated, I am not tempted to take this direction...
Can anybody give me a hint?
Kind regards,
Patrick Giraudoux
University of Franche-Comté
Department of Environmental Biology
EA3184 af. INRA
F-25030 Besançon Cedex
tel.: +33 381 665 745
fax.: +33 381 665 797
http://lbe.univ-fcomte.fr
[[alternative HTML version deleted]]
2005 Jan 23
3
error preparing a package for lazy loading with R CMD
...del %1\data\00Index
del %1\chm\*.* /Q
..\..\bin\R CMD build --force --binary --auto-zip %1
..\..\bin\R CMD build --force %1
..\..\bin\R CMD check %1
cd %1.Rcheck
dvipdfm %1-manual
notepad 00check.log
cd ..
cd ..
>From: "John Fox" <jfox at mcmaster.ca>
>To: "'Patrick Giraudoux H'" <patrick.giraudoux at univ-fcomte.fr>
>Subject: RE: [R] writing a simple package in R 2.0 under Windows XP
>Date: Sun, 23 Jan 2005 11:41:25 -0500
>X-Mailer: Microsoft Office Outlook, Build 11.0.6353
>X-MIME-Autoconverted: from quoted-printable to 8bit by
>utinam.u...
2006 Oct 21
4
one is not one
Folks,
I have got a strange behaviour when testing this:
sum(x) != 1
let us set
x<-c(70,134,1,5,0)
and transform it in a vector of probabilities
x<-x/sum(x)
One expect sum(x) should be equal to 1, which is apparently the case
> sum(x)
[1] 1
However, when I try to test it I get:
> if(sum(x) !=1) print("lost") else ("OK")
[1] "lost"
Which means
2004 Oct 09
2
conversion of a data.frame of numerics to a data.frame of factors
Hi,
I am trying to convert a data.frame of numerics (this could be a matrix as well in this case) into a data.frame of factors.
I did it in a way that is less than direct...
myforet2<-t(myforet)
for (i in 1:length(myforet2[1,])) {
if (i == 1)myforetfact<-list(as.factor(myforet2[,i]))
else myforetfact<-c(myforetfact,list(as.factor(myforet2[,i])))
}
2004 Jan 02
1
type III sum of squares - ssType
Hello,
It seems that, unlike Splus, the anova.lm function of R does not take the argument ssType=3 into account. How can one get an anova table with the adjusted sum of squares in R?
Thanks in advance,
Patrick Giraudoux
University of Franche-Comté
Department of Environmental Biology
EA3184 af. INRA
F-25030 Besançon Cedex
tel.: +33 381 665 745
fax.: +33 381 665 797
http://lbe.univ-fcomte.fr
[[alternative HTML version deleted]]
2004 May 08
0
Re: metafile copy and R 1.9.0, trellis, grid
...and shut down the device.
The file "test.emf" can then be imported from any software reading metafiles. I tried it with my own xyplot trouble and got
absolutely good result. Very easy, even to me!!!
Thanks to them for the hint,
Patrick
----- Original Message -----
From: "Patrick Giraudoux" <patrick.giraudoux at univ-fcomte.fr>
To: "r-help" <r-help at stat.math.ethz.ch>
Sent: Saturday, May 08, 2004 3:45 PM
Subject: metafile copy and R 1.9.0
> Dear all,
>
>
> I'm running into problem in R-1.9.0 that hasn't happened with R-1.8.x
>
&g...
2011 Jun 05
1
tag \href not recognised in rd doc
Hi,
I have a trouble trying to use \href in a rd doc. See example below:
\references{
\href{http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2702787/}{Vaniscotte
A., Pleydell D., Raoul F., Quere J.P., Coeurdassier M., Delattre P., Li
T., Qian W., Takahashi K., Weidmann J.C., Qiu J., Giraudoux P. 2009
Modelling and spatial discrimination of small mammal assemblages: an
example from western Sichuan (China). Ecological Modelling, 220: 1218-1231.}
}
The Rcmd check gives:
* checking R code for possible problems ... OK
* checking Rd files ... WARNING
checkRd: (7) multignome.Rd:38: Tag \...
2004 Feb 23
1
border of a polygon in contour.kriging - geoR
...contour(kc,loc=pred.grid,add=T,border=NULL)
Error in contour(as.double(x), as.double(y), z, as.double(levels), labels, :
dimension mismatch
In addition: Warning message:
Replacement length not a multiple of the elements to replace in matrix(...)
>
Any hint?
Thanks in advance,
Patrick Giraudoux
2004 Jan 13
2
email problem
Hello
Is anyone else having problems receiving email from the list? No email from R
help today!
Thanks Marwan
-------------------------------------------------------------------
Marwan Khawaja http://departments.aub.edu.lb/~mk36
2004 Nov 07
4
writing a simple package in R 2.0 under Windows XP
...oes not exist nor a
'check' file, nor any complementary command of Rcmd
After some research hours (actually since yesterday...), I cannot find
where I have got wrong yet... and considering the result, I am sure I got
somewhere!
Can somebody help me on this?
Thanks in advance,
Patrick Giraudoux
[[alternative HTML version deleted]]