Displaying 20 results from an estimated 500 matches similar to: "Converting shapefiles to use in contour plots"
2006 Mar 29
1
Plotting shapefiles on existing maps
Dear All,
This is probably a very basic question but:
I have plotted a map of the Barents Sea and surrounding coastline using:
map('worldHires',ylim=c(50,85),xlim=c(5,65),fill=T,resolution=0)
map.axes()
map.scale(x=30,metric=T)
Next, I imported a shapefile with depth contours for the sea:
contours<-read.shape("D://My Documents/BarentsSea.shp",dbf.data=T)
(This is in
2006 Feb 08
1
logLik == -Inf in gls
I am trying to fit a generalised least squares model using gls in the nlme
package.
The model seems to fit very well when I plot the fitted values against the
original
values, and the model parameters have quite narrow confidence intervals
(all are
significant at p<5%).
The problem is that the log likelihood is always given as -Inf. This
doesn't seem to make sense because the model
2007 Aug 02
1
Xyplot - adding model lines to plotted points
Hello,
I have written code to plot an xyplot as follows:
library(lattice)
xyplot(len~ageJan1|as.factor(cohort),groups=sex,as.table=T,strip=strip.c
ustom(bg='white',fg='white'),data=dat,
xlab="Age (January 1st)",ylab="Length (cm)",main="Linear models for male
and female cod, by cohort",type='p',
2012 May 01
0
Plotting shapefiles on existing maps
Very helpful. One (possible) correction inline below...
On Thu, 30 Mar 2006, Ray Brownrigg wrote:
> > From: nhy303 at abdn.ac.uk
> >
> > I have plotted a map of the Barents Sea and surrounding coastline using:
> >
> > map('worldHires',ylim=c(50,85),xlim=c(5,65),fill=T,resolution=0)
> > map.axes()
> > map.scale(x=30,metric=T)
> >
> >
2007 Feb 21
0
GLS models - bootstrapping
Dear Lillian,
I tried to estimate parameters for time series regression using time
series bootstrapping as described on page 434 in Davison & Hinkley
(1997) - bootstrap methods and their application. This approach is based
on an AR process (ARIMA model) with a regression term (compare also with
page 414 in Venable & Ripley (2002) - modern applied statistics with S)
I rewrote the code
2008 May 13
1
Bubble plot pie chart map
Hello,
I am currently trying to show the abundance of two species of
zooplankton within the North Sea as pie chart bubble plots. I followed
Werner Wernersen's advice in R help
(http://finzi.psych.upenn.edu/R/Rhelp02a/archive/48644.html) and used
Paul Murrell's paper "Integrating Grid Graphics Output with Base
Graphics Output" (in R News) to try and do this (using the gridBase
2006 Feb 15
1
Rails on Apache
Hi all,
I''m trying to get rails to run under apache and have looked at the
various how-to pages, but don''t seem to see an answer to my basic question:
Can I do this without using mod-rewrite? Do I have to use .htaccess with
various rewrite rules, or can I just do it with a really minimal
.htaccess that only says something about the AddHandler for .cgi?
--
cheers,
Bruce
2004 Dec 06
2
Missing Values
I have just started using R for my PhD. I am importing my data from Excel
via notepad into Word. Unfortunately, my data has many missing values. I
have put '.' and this allowed me to import the data into R. However, I
now want to interpolate these missing values. Please can someone give me
some pointers as to the method/code I could use?
Thankyou,
Lillian.
2005 Sep 08
1
Time series ARIMAX and multivariate models
Dear List,
The purpose of this e-mail is to ask about R time series procedures - as a
biologist with only basic time series knowledge and about a year's
experience in R.
I have been using ARIMAX models with seasonal components on seasonal data.
However I am now moving on to annual data (with only 34 time points) and
understand that ARIMA is not suitable for these shorter time periods -
does
2007 Nov 28
1
Http_proxy settings with autoproxy.php
Just installed R on a new machine which is on a server. I am trying to
download packages but seem to have trouble with our proxy settings. I
have read the 2.19 section in R for Windows and tried what was suggested
(setting http_proxy) but that did not help (still cannot connect). I
think my problem is that we do not have a fixed port but use instead
autoproxy. Has anyone encountered this problem
2020 Nov 12
0
Bug in R-devel R CMD check --as-cran (was: [R-pkg-devel] Strange error from CRAN on package submission)
I believe the message below on the R-package-devel list is due to a bug
in R-devel. The bug doesn't seem to be present in R 4.0.3.
Here's the issue:
The Mercator package Depends on Thresher, which Imports movMF, which
Suggests flexmix. In the .onLoad code for movMF, it checks whether
flexmix is available, and if so, loads it.
Since flexmix sets a method on plot(), its namespace is
2007 Jun 08
1
Question about Running C code from R
Dear R-devel,
Apologies for sending what is probably a very simple question to R-devel: I am definitely missing something very simple and can't work out what it is. I've been trying to find the problem here for about a month and need some help!
I am trying to work out how to run a C program from an R script. Rather than try the C program directly, I'm trying to get a much simpler
2020 Sep 15
0
[PATCH RFC v1 08/18] x86/hyperv: handling hypercall page setup for root
Wei Liu <wei.liu at kernel.org> writes:
> When Linux is running as the root partition, the hypercall page will
> have already been setup by Hyper-V. Copy the content over to the
> allocated page.
And we can't setup a new hypercall page by writing something different
to HV_X64_MSR_HYPERCALL, right?
>
> The suspend, resume and cleanup paths remain untouched because they
2020 Sep 15
0
[PATCH RFC v1 10/18] x86/hyperv: implement and use hv_smp_prepare_cpus
Wei Liu <wei.liu at kernel.org> writes:
> Microsoft Hypervisor requires the root partition to make a few
> hypercalls to setup application processors before they can be used.
>
> Signed-off-by: Lillian Grassin-Drake <ligrassi at microsoft.com>
> Signed-off-by: Sunil Muthuswamy <sunilmut at microsoft.com>
> Co-Developed-by: Lillian Grassin-Drake <ligrassi at
2020 Sep 16
0
[PATCH RFC v1 06/18] x86/hyperv: allocate output arg pages if required
Wei Liu <wei.liu at kernel.org> writes:
> On Tue, Sep 15, 2020 at 12:43:18PM +0000, Wei Liu wrote:
>> On Tue, Sep 15, 2020 at 12:16:58PM +0200, Vitaly Kuznetsov wrote:
>> > Wei Liu <wei.liu at kernel.org> writes:
>> >
>> > > When Linux runs as the root partition, it will need to make hypercalls
>> > > which return data from the
2020 Sep 15
0
[PATCH RFC v1 08/18] x86/hyperv: handling hypercall page setup for root
Wei Liu <wei.liu at kernel.org> writes:
> On Tue, Sep 15, 2020 at 12:32:29PM +0200, Vitaly Kuznetsov wrote:
>> Wei Liu <wei.liu at kernel.org> writes:
>>
>> > When Linux is running as the root partition, the hypercall page will
>> > have already been setup by Hyper-V. Copy the content over to the
>> > allocated page.
>>
>> And we
2020 Sep 15
0
[PATCH RFC v1 06/18] x86/hyperv: allocate output arg pages if required
Wei Liu <wei.liu at kernel.org> writes:
> When Linux runs as the root partition, it will need to make hypercalls
> which return data from the hypervisor.
>
> Allocate pages for storing results when Linux runs as the root
> partition.
>
> Signed-off-by: Lillian Grassin-Drake <ligrassi at microsoft.com>
> Co-Developed-by: Lillian Grassin-Drake <ligrassi at
2020 Sep 15
0
[PATCH RFC v1 08/18] x86/hyperv: handling hypercall page setup for root
Wei Liu <wei.liu at kernel.org> writes:
> On Tue, Sep 15, 2020 at 01:02:08PM +0200, Vitaly Kuznetsov wrote:
>> Wei Liu <wei.liu at kernel.org> writes:
>>
>> > On Tue, Sep 15, 2020 at 12:32:29PM +0200, Vitaly Kuznetsov wrote:
>> >> Wei Liu <wei.liu at kernel.org> writes:
>> >>
>> >> > When Linux is running as the
2005 Jun 09
1
Using transform on spproj package.
Hi,
I'm trying to use transform my mercator locations into utm but I'm doing
something wrong because only x is transformed ... see
> xy.sp
SpatialPoints:
loni lati
[1,] -8.85 38.16
[2,] -9.19 37.99
[3,] -9.11 37.97
[4,] -9.06 38.15
[5,] -9.03 37.87
[6,] -9.14 37.81
[7,] -9.09 37.70
[8,] -8.95 37.45
[9,] -9.17 37.37
[10,] -9.00 37.34
Coordinate Reference
2008 Aug 15
1
map("state" ...) Is the USA cracking up?
Running R version 2.6.1 under Linux, I'm trying to use the maps and
mapdata packages and the state database to produce a thematic map of the
USA. My problem is that cracks (white spaces) appear between some
states--e.g. between Colorado and Utah and between Michigan and Indiana.
The resulting visual impression is that the country is breaking up.
This occurs in all the projections I have