Displaying 20 results from an estimated 300 matches similar to: "Colouring areas on a map with updated maptools functions"
2000 Feb 29
0
mapping of colornames into hsv: half way done
Ok,
now we have the mapping of color names to color codes (see below) and
conversion to rgb (something like Ben Bolker's function), but how to convert
rgb to hsv?
Thanks to Brian Ripley, Peter Dalgaard and Ben Bolker
Details below
Regards
Jens
etc/colors.big maps 455 names to rgb in S syntax
etc/rgb.txt maps 657 names to rgb in C syntax, but unlike colors() it has
mixed upper and
2013 Apr 07
1
Remove a row containing a specific value for a column
Dear all,
Could anyone help me with the following?
DATA <- data.frame(rbind(c("Red1", 1, 1, 1), c("Blue1", 1, 1, 1), c("Red2", 1, 1, 1), c("Red3", 1, 1, 1)))
colnames(DATA) <- c("A", "B","C", "D")
#Option 1
DATA <- DATA[-2, ] #Same result I would like to achieve with Option 2
#Option 2 - I would like to do
2006 Jan 31
1
Updating :has_many - :through related items
Hi,
I''ve got my little app working pretty well. I''m using pretty much the
model and table layout from my previous thread, as suggested by Bill
Katz:
<http://www.ruby-forum.com/topic/52506#26260>
I have the Create page working and a delete Match page working, which
along with the appropriate record in the Matches table, removes the
linked items in the competitions table.
2013 Jan 08
4
error in a abline loop
Hello
I have data of body length and body weight of people of different skin colors.
I tried to write a code to plot body length and body weight according
to the skin colors.
(Thanks for Petr's advice so far.)
A loop is used but an error shows up in the following code.
It says:
unexpected '}' in
"
2010 Jul 18
5
package "plotrix"
I installed package plotrix because reading its vignette it looks like it can help me solve a "legend" problem.
The package instaleed correctly on my Mac OS/X 10.5.8
But I cannot reproduce the examples centered on function "lgendg".
> library(plotrix)
> plot(0.5,0.5,xlim=c(0,1),ylim=c(0,1),type="n",
+ main="Test of grouped legend function")
>
2008 Oct 25
1
Filling symbols in xyplot
Hello,
I am using xyplot and am happy with my graph, *except* that I cannot get
the symbols to be filled. I tried using
bg=c("red3","red","black","lightgrey")) in both the key and the xyplot
function, that that was obviously not the answer. I would like the
sybols to be filled with the same colors as the lines.
Does anybody have an answer? In case
2012 Feb 08
1
Fitting polynomial (power greater than 2)
Hey all, first time poster here. I'm new to R and working on my first real
programming and forecasting asignment. I'm using unemployment data from
1948-2012. I successfully completed part a and the linear fit for part b,
but i am really struggling fitting a polynomial with a power greater than 2
to my forecast. I'll upload my R code at the bottom. Any help is very much
appreciated!
2011 Dec 16
1
problem with tick graph
Dear all,
I'm having problems with the tick of my graph. I'mpcombining lines and
barplot.
For my I'm using the function axis combined with the function pretty to have
more efficient tick, but all my tick (for example, 300 as my max tick and -100
as my min tick) are not printed on my graph.
So I would like to have for the left axis the seq from 0 to 100 (with 0 and
100 printed on
2009 Sep 24
3
sieve vacation error
Hello everybody,
First, I want to thank the development team for the quality and the
stability of dovecot. It's now running without problem since two years
on my debian box.
Next, I'd like you help me to solve the problem I have with
vacation/sieve script. My configuration is debian lenny, with standard
dovecot packages (1.0). I have setup the sieve plugin, using roundcube
on
2009 Feb 27
2
add absolute value to bars in barplot
Hello,
r-help at r-project.orgbarplot(twcons.area,
beside=T, col=c("green4", "blue", "red3", "gray"),
xlab="estate",
ylab="number of persons", ylim=c(0, 110),
legend.text=c("treated", "mix", "untreated", "NA"))
produces a barplot very fine. In addition, I'd like to get the
2009 Nov 27
0
changing titlessymbols in plot.spm
Hi all,
I'm trying my best in changing the names of my experiments in the spectral
map.
My experiments are from six different time points, two as control and two
treated experiments.
I set have for each time point a different color .
Now I want to change the symbols so that I have for the treated experiments
one and for the controls a different one. But I want only two different
symbols
2002 Apr 17
1
No output from (lattice) xyplot called within loops
Hello
>From the following script I received
a grafic output when I called:
- xyplot.test( 'green3' )
- call.xyplot.test( 'blue3' )
I did NOT receive a grafic output
when I called:
- loop.xyplot.test( 'red3' )
What's the Problem?
NB: I am using R 1.4.1 on Linux.
--------- START OF SCRIPT ----------------
n <- 1000
x <- seq( 1, n )
y <- rnorm( n )
2008 Jan 04
1
Sorting of captions on axes
Hello,
I think this might be a beginner question, but I couldn't find the answer in
the manual...
http://www.nabble.com/file/p14618947/at-modality.png
I created this image with R by using the following code:
modality <- read.table("results.table", header=TRUE, sep=",")
color <-
2008 Jan 07
4
Orientation of labels on axes
http://www.nabble.com/file/p14664173/at-modality.png
I created the above image with R and I have one problem left:
Some of the labels of the axes do not show up, probably because there's not
enough space.
I use the following code to create the plot:
modality <- read.table("results.table", header=TRUE, sep=",")
color <-
2011 Mar 31
1
How to grant a kerberos ticket after successful imap authentication from dovecot
Hello everybody,
I hope this question is appropriate for this list. Apologies if not.
I am running a set of virtual machines under debian 6, to build a
mail/collaboration server. I am mainly using dovecot, postfix, openldap
and heimdal. Mails are stored using maildir, on a NFSv4 share.
My users are system users, but using LDAP and libpam-ldap and
libnss-ldap for caching credentials
2010 Dec 31
1
livemigrate problems
hello everybody and happy new year!
I am a newbie in libvirt use, and I use it mostrly throught OpenNebula.
Anyway, I noticed that one of the nodes can be a destination of a
livemigrate but not the source.
This is the environment:
4 blades nicknamed(*) red3, red9, red10, red11, each with 8 Intel
E5506 cores (@ 2.13GHz) running CentOS 5 and KVM as hyoervisor.
(*) these are names I
2010 Dec 14
0
problems with lattice barchart
Hello everybody!
I??m trying to create figures summarizing the abundance of a given species
(y), by its length classes (x), year (conditional factor) and a grouping
named as "fraction". I am using the lattice??s barchart but some problems
arises:
When I run the function, the sizes become characters, and this is the
starting problem for me when trying to adjust the
2011 Apr 10
1
domain variable still empty
Hello all,
First, thanks for your help with my previous NFS problem. I am trying
to mount a mail server, with debian and dovecot 1.2.
Until now, I have both shared and public folders working, on a NFS
share. indexes are stored locally, as well as per user flags. Sive is
also working :-)
Now, I'd like to restrict sharing by domain, and for this, to use the
"%d" variable
2010 Nov 05
1
prob with legend in my plots!
Hi,
I have a problem with the appearance of legend in my plots. If I specify the legend positions in characters like "topright"..etc, it appears, if i specify it in terms of coordinates like "-1, 1" .. etc, it does not appear. Can anyone help me with this?
script -
x.date <- as.Date(paste(year, month, day, sep="-"))
ts1.n.e3 <- ts(data.nemr.e3[,3])
z1.n.e3
2012 Apr 09
1
Summary Statistics Help
Hi, I would really appreciate all the help I can get. Unfortunately, I am
really new to statistics! I hope you guys don't mind this.
I am trying to find significance levels, beta, R, R squared, adjusted R
squared, standard error and t test.
FILE http://r.789695.n4.nabble.com/file/n4541923/datpat.csv datpat.csv
Variables (written exactly as in the Excel file) I am trying to examine are
: