Displaying 20 results from an estimated 110 matches similar to: "intamap plot : specifying cutoffs"
2012 Jul 30
1
lattice legen and auto.key conflict
Hello R-helpers,
I'm trying to customize a graphic in lattice using the 'legend' argument to add labels on my plot but in the process I'm losing the legend drawn by 'auto.key', despite the fact that I'm actually not sticking these on the same sides of the graphic. I worked up a quick and simple example with the iris data :
### here's the basic graph
2011 Nov 23
0
lattice : modifying strip names with 2 strips
Hello R-helpers,
I'm looking for a way to rename strips in lattice plots when I have more than one conditionning variable.
Here's a dummy example taken from http://casoilresource.lawr.ucdavis.edu/drupal/node/510
library(lattice)
f <- function(a, b, x) {p <- (exp(a + b*x)) / (1 + exp(a + b*x))}
x.seq <- seq(-5, 5, by=0.5)
x <- rep(x.seq, 9)
a.seq <- c(-2, 0, 2)
b.seq
2011 Mar 02
0
spplot() - costumize the color-legend
Hi!
Is there a way to manually costumize the color legend in an spplot() -
especially where to draw ticks and labels for the ticks?
The reason I'm asking: Usually spplot() automatically divides the data into
fitting slices and makes a color legend (also automatically).
I want to assign the slices myself and have a fixed scale instead of an
automatic/dynamic scale.
I think what I want gets
2006 Jan 10
0
new gstat version
Soon on CRAN a new version of package gstat will emerge, which
has a few minor changes and possible incompatibilities w.r.t. the
previous version(s).
The new gstat (0.9-23) now:
+ depends on sp, and uses internally with Spatial* classes from sp
if data are provided in the old-fashoned way (as data.frame)
+ has a vignette to get you started with the classes in sp
+ defines krige as a generic;
2006 Jan 10
0
new gstat version
Soon on CRAN a new version of package gstat will emerge, which
has a few minor changes and possible incompatibilities w.r.t. the
previous version(s).
The new gstat (0.9-23) now:
+ depends on sp, and uses internally with Spatial* classes from sp
if data are provided in the old-fashoned way (as data.frame)
+ has a vignette to get you started with the classes in sp
+ defines krige as a generic;
2011 Mar 04
2
make an own (different) color legend with spplot()
Hi!
Is there a way to manually costumize the color legend in an spplot() -
especially where to draw ticks and labels for the ticks?
The reason I'm asking: Usually spplot() automatically divides the data
into fitting slices and makes a color legend (also automatically).
I want to assign the slices myself and have a fixed scale instead of an
automatic/dynamic scale.
I think what I want
2004 Jun 16
0
gstat 0.9-12: cokriging cross validation and class name incompatibilities
I uploaded gstat 0.9-12 to CRAN, which has a few important changes:
1. Cokriging cross validation
Cokriging cross validation is now possible with the function gstat.cv:
you simply pass a multivariable gstat object, and cross validation is done
for the first variable in the object. Optionally, secondary variable
records
at locations coinciding with the validation locations are removed.
2. Class
2004 Jun 16
0
gstat 0.9-12: cokriging cross validation and class name incompatibilities
I uploaded gstat 0.9-12 to CRAN, which has a few important changes:
1. Cokriging cross validation
Cokriging cross validation is now possible with the function gstat.cv:
you simply pass a multivariable gstat object, and cross validation is done
for the first variable in the object. Optionally, secondary variable
records
at locations coinciding with the validation locations are removed.
2. Class
2012 Feb 24
1
Producing KML files
Hi,
I am very new to R and I am trying to write KML files. I am running R-2.13.1 and I have the following packages:
- AKIMA
- RGDAL
- RSAGA
- SP
I was trying to run the simple example that I found at the following web page:
http://spatial-analyst.net/wiki/index.php?title=Export_maps_to_GE
The lines that I can run are:
data(meuse.grid)
2003 Oct 02
1
Are package maintainers responsible for name-mangling class names?
The following came up when Roger Bivand and I discussed
R's name spaces and overlap in packages, in the bus to the
field trip during StatGIS, last Tuesday:
If two packages create the same class, say "variogram", and both
are loaded, then using a method for an object of class "variogram"
cannot discriminate between them and will call the method in the
package loaded last.
2011 Mar 05
3
Change panel background color in spplot()
Hi!
How does one change the background color of the map-panel in spplot()?
Example:
library(sp)
data(meuse.grid)
gridded(meuse.grid) = ~x+y
spplot(meuse.grid, "part.a")
How would I get another background-color for the map-panel (but not for
the whole plot) here?
Thank you!
Marcel
2003 Oct 31
0
A package for spatial data classes: request for comments
Much like time, spatial locations are not likely to change for observed
data. Still, R has no infrastructure or knowledge about spatial locations.
Many packages that deal with spatial data in R use their own classes
to deal with spatial data. On the workshop on spatial statistics software
held during DSC2003 (organized by Roger Bivand), we decided that
a base class that defines classes for
2008 Mar 06
1
Changing code within a package
I was able to hack the code in the polspline package in order to change
the plot.polymars function so that I can set the limits of my y-axis.
However, I was only able to do this by entering plot.polymars in R,
copying the code to Word, changing what I needed, and then pasting the
new code in R to redefine the polt.polymars function. I was able to
successfully change the function, but now I would
2007 Sep 07
1
plotting to stdout
I have found two prior instances of this question in R-help, but I can't
find the answer, and I'm giving up on mindless tinkering.
http://tolstoy.newcastle.edu.au/R/help/03a/5994.html
https://stat.ethz.ch/pipermail/r-help/2004-December/062259.html
I must be able to pipe the poltting commands to stdin and receive the plot
on stdout, with errors written to stderr, should any occur.
2003 Mar 07
1
REML option in gstat
Hi, please help!!
I've been trying to fit variogram models using the REML method in the gstat
package. Every time the Windows GUI crashes. For example
library(gstat)
data(meuse)
x <- variogram(zinc ~ 1, ~x + y, meuse)
v <- vgm(140000, "Sph", 800, nug = 10000)
plot(x, model = fit.variogram(x, model = v, fit.method=5))
Other fit methods are non problematic (eg. fit.method=7
2005 Jun 10
1
In connection with the creation of a grid of point with gstat
Hi ALL,
With the pakage gstat
How can one create a grid of points as in the meuse.grid example, from
measuring sites as in the Meuse example
Thanks in advance!
Alain PONSERO
Conservateur
Réserve Naturelle de la Baie de Saint-Brieuc
site de l'Etoile
22120 HILLION
tel/fax : 02.96.32.31.40
<mailto:aponsero@cabri22.com> aponsero@cabri22.com
2009 Feb 25
1
read multiplan or sylk files in R
Hello,
This may sound crazy, but I have a large number of Multiplan data files I'm in the process of recuperating, and I'm hoping to avoid having to open them one by one to convert them into a modern, directly usable format. So I was wondering if someone somewhere had encountered this and maybe had a way to read Multiplan files in R, or, at least, a way to read SYLK files directly in R.
2008 Apr 17
1
spatialpixelsdataframe
I have a spatialpixelsdataframe containing bathymetry data. Is it
possible to save this as something similar to the meuse.grid so it can
be loaded without having to run the spatial interpolation each time the
script is called?
I don't see a straightforward method in the sp documentation.
2004 Aug 06
0
UDP Vs. TCP
The project involves a "private" broadcast so setting up firewall rules and
forwarding would be a problem ... I'm going to post the project proposal
once I have it finished, since it is a really cool project.
-----Original Message-----
From: Steve Meuse [mailto:swave@mara.org]
Sent: Thursday, February 20, 2003 9:19 AM
To: icecast@xiph.org
Subject: Re: [icecast] UDP Vs. TCP
2011 Oct 26
2
SpatialLines
I'm hoping to use R for spatial analysis. In working through examples in Chapt. 4 of Applied Spatial Data Analysis with R I've come across the following error in trying to plot lines with the meuse data set. The text is verbatim from the book.
> m.sl <- SpatialLines(list(Lines(list(Line(cc)))))
Error in Lines(list(Line(cc))) : Single ID required
What does "Single ID