Hi David,
On Sat, Sep 14, 2013 at 5:49 PM, David Arnold wrote:
> Hi,
>
> I'm a bit confused by masking. Thought I understood, but today makes me
> wonder.
>
> x=0:9
> y=0:9
> sm=data.frame(x=4:8,y=9:13)
> attach(sm)
> x
> detach(sm)
>
> The code produces this message:
>
>> attach(sm)
> The follow
Hi,
I'm a bit confused by masking. Thought I understood, but today makes me
wonder.
x=0:9
y=0:9
sm=data.frame(x=4:8,y=9:13)
attach(sm)
x
detach(sm)
The code produces this message:
> attach(sm)
The following object is masked _by_ .GlobalEnv:
x, y
> x
[1] 0 1 2 3 4 5 6 7 8 9
I guess I tho
Hi
The outline for France from that database is a little bit pesky because
it consists of multiple segments that travel in different directions
around the French border. Here is some (possibly jetlagged) code that
puts the segments all in the same direction and produces a nicer result ...
b
I like very much the solution proposed by Paul Murrell to mask the ocean
(in fact, all that is not the country displayed) in a plot. It works
pretty well for Australia. However, when I try to apply the same code
for France, it fails. I search for the reason but I can't find. Here is
the code fo
Many thanks, this works beautifully.
Louise
On Wed, Jul 17, 2013 at 7:42 AM, Paul Murrell wrote:
> Hi
>
> There are a couple of problems:
>
> 1.
> Your 'outline' is much bigger than it needs to be. For example, the
> following produces just Australia ...
>
> outline <- map("worldHires", region
Hi
There are a couple of problems:
1.
Your 'outline' is much bigger than it needs to be. For example, the
following produces just Australia ...
outline <- map("worldHires", regions="Australia", exact=TRUE,
plot=FALSE) # returns a list of x/y coords
2.
The outline you get stil
Hi R-help
I am trying to mask the ocean from an image plot I have made.
Here is some example code:
library(mapdata)
image(x=110:155, y =-40:-10, z = outer(1:45, 1:30, "+"),
xlab = "lon", ylab = "lat")
outline <- map("worldHires", plot=FALSE) # returns a list of x/y coords
xrange <- ra
On 24.01.2011 23:53, Peter Langfelder wrote:
On Mon, Jan 24, 2011 at 2:47 PM, Yanika Borg wrote:
I am using the function permutations from the package *gregmisc*. However, I
am also making use of the package *e1071*, which also contains a function
called permutations. I want to use the functi
On Mon, Jan 24, 2011 at 2:47 PM, Yanika Borg wrote:
> I am using the function permutations from the package *gregmisc*. However, I
> am also making use of the package *e1071*, which also contains a function
> called permutations. I want to use the function permutations from the *
> gregmisc* packa
I am using the function permutations from the package *gregmisc*. However, I
am also making use of the package *e1071*, which also contains a function
called permutations. I want to use the function permutations from the *
gregmisc* package, however, the other package is masking this function. This
I am using getYahooData from TTR to get daily data. When i do it standalone,
it is fine. It also works fine inside my code. However, when i run code
inside mtrace(), i always get the following error:
Error in xts(cbind(adj[[1]], adj[[2]]), index(obj)):
order.by requires an appropriate time-base
Intermountain Healthcare
[EMAIL PROTECTED]
801.408.8111
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> project.org] On Behalf Of claudia tebaldi
> Sent: Tuesday, October 07, 2008 4:09 PM
> To: r-help@r-project.org
> Subject: [R] masking a regular lat/l
On 07/10/2008 6:08 PM, claudia tebaldi wrote:
Dear R-helpers,
I have lat/lon coordinates of regularly spaced grid points, about 4Km
apart, covering the entire US continental region.
I would like to mask this rectangular grid in order to extract all and
only the grid points within a specific regi
Dear R-helpers,
I have lat/lon coordinates of regularly spaced grid points, about 4Km
apart, covering the entire US continental region.
I would like to mask this rectangular grid in order to extract all and
only the grid points within a specific region. Today I want to
extract Montana, say, from
14 matches
Mail list logo