Displaying 20 results from an estimated 2000 matches similar to: "Colour gradients and colour fill between points"
2012 Jul 11
1
Using data stored in a file for a heatmap
Hi all,
I just try to get familiar with levelplot() for generating heatmaps. I
have x, y, z-data stored in a file: e.g.:
"file.csv":
0 0 0.1
0 1 0.5
0 2 0.4
1 0 0.3
1 1 0.4
1 2 0.6
...
I can use scan() for generating the matrix for R:
inp <- scan("file.csv", list(0, 0, 0))
How can I feed inp into levelplot()?
Thanks a lot for your help
Richard
--
Richard M?ller . Am
2012 Jul 02
3
carpet plots
Hi all,
I wonder why there is so little software for carpet plots (german:
Rasterdiagramm) (Three dimensional plot (x, y, z), the 3rd dimension
(z) symbolized by colourgradients). Besides from one or the other non
free software I only found an OpenOffice macro, a combination of
Gnuplot and Excel (an Excel macro calling gnuplot)
(http://www.johannes-hopf.de/2009/12/carpet-plot-version-1-3/9 and
2007 Dec 29
3
tcltk again
Hello,
the admonition of Prof. Ripley to search the documentation to solve my problem
helped, today I read a lot more on Tcl/Tk than before ;-)
But now I'm stuck again. With the help of my script some functions are plotted
on the display, then I ask if the user wants to save it as pdf. In windows I
use winDialog and it works. But I can't succeed in Linux. In short:
2002 Nov 07
3
Rcmd? Where?
Hello,
I got R 1.6.0 for windows and I need Rcmd, which was not included. Where can I
get it? (I have to start R and give the name of the file with the R-commands
on the command line, so that R is invoked together with its command-file
"todo.R". Do I really need Rcmd for that? To write "Rterm todo.R" did not
work.)
Richard
--
Richard M?ller - Am Spring 9 - D-58802
2006 Sep 05
2
winDialog UNIX equivalent?
Hi all,
I'm using winDialog and winDialogString in scripts running on a XP-machine. Since we're using some Linux-machines (Suse 10.0 and 10.1 on x86) I'm interested in equivalents of the above functions usable under Linux-OS. Are there any?
Thanks, Richard
--
Richard Müller - Am Spring 9 - D-58802 Balve-Eisborn
www.oeko-sorpe.de
[[alternative HTML version deleted]]
2012 Sep 08
1
Thanks for helping - back to the community?
DeaR R-fellows,
I got a lot of help from you concerning the generation of heat maps,
so I was able to write and work with a script for this purpose at
last. Some visitors of our Ecological Station asked about the
generation of the graphs and so I decided to write down a small
description.
Is it adviseable to publish the link to the article in an R-wiki
(which?) so I can give back a little to the
2004 Jul 07
7
Importing an Excel file
Hello, R users,
I am a very beginner of R and tried read.csv to import an excel file after
saving an excel file as csv. But it added alternating rows of fictitious NA
values after row number 16. When I applied read.delim, there were trailing
several commas at the end of each row after row number 16 instead of NA
values. Appreciate your help.
Kyong
[[alternative HTML version deleted]]
2012 Aug 23
1
Origin of coordinate system
Dear R-community,
In graphical representations of findings concerning bodies of standing
water (lakes e.g.) in x-y-plots you often make use of a somewhat
different definition of coordinates in a cartesian system:
the origin is top-left, the x-axis (depth of the water body) from top
to bottom and the f(x)-axis from left to right, so you can project the
graphical representation of data in your
2008 Jan 02
2
how to ignore or omit somethings while reading the data table
hello respected ppl...
am a engg. student...i was trying to use R in statistical calculations
now the problem is..i imported a huge tsv file onto R...it has a column
which gives cost...and it has "$" with each numerical value in this
column...it is something like this..$.05,$.1,$.075...and so on..
R is reading it as "character vector"...
i tried using all the arguments but
2004 Jul 05
1
Behaviour of R with win98 and XP?
Dear list,
I encounter a strange problem: I hav R (1.6.1) installed on a notebook with
winXP-Prof and a similar installation (same path names etc.) on a desktop
computer with W98.
I use rcmd BATCH filename to display graphs from the data stored in filename.
With R on my notebook everything works fine. I have the same data, the same
filenames, the same paths on th w98-computer. Here I see just a
2013 Feb 05
2
duplicate data
Hello,
I have a long list of x-, y- and z-data and try to generate a heatmap.
Obviously there are several data with identical x- and y-values. I get
the following error message:
Error in interp.old(x, y, z, xo = xo, yo = yo, ncp = 0, extrap = extrap, :
duplicate data points: need to set 'duplicate = ..'
Unfortunately there seems no help screen on "duplicate". I'd prefer
2002 Nov 10
1
graphics window closes after invoking
Hi,
I hope this is my last stupid question for this project. I run (WinXP) Rcmd*
BATCH ToDo.R and want the produced graph to be seen on the display. But after
a part of a second the graphics window is closed again. I suppose, because
Rcmd does not work interactive, there will be no command like "wait for key
pressed" or similar. Is there a possibility to let the window open as long
2002 Nov 03
1
continuous lines?
Good evening,
I can't manage to plot continous lines (x-y representation of measured data):
The spreadsheet where the data come from has continuous x-data (0,1,2,3,4,
...), but not every x-datum has a corresponding y-datum. At these "gaps" the
graph is not displayed. I want to display the measured data with points,
joined by a line ("type=b"), even if there are gaps. Is
2002 Nov 17
1
position of windows-dialogue
Hello all,
to interrupt a BATCH program I inserted, as adviced in this list, a windows
dialogue box (winDialog("ok")). The graphic display opens on the right part
of the screen, which is OK. The Windows dialoge opens in the center of the
screen and hides a part of the graphics window. Is it possible to determine
the coordinates where the Windows dialogue box opens? I'd like to
2007 Jan 31
1
can't find mailing list commands
Sorry for inconvenience - but since I can't find any hints on this list at
stat.ethz.ch, I'll ask here: How do I unsubscribe from this list?
Thanks for answering - Richard
--
Richard M?ller - Am Spring 9 - D-58802 Balve-Eisborn
www.oeko-sorpe.de
2007 Dec 28
4
Return Value of TCl/Tk window in R
Hello,
I have the TCl/Tk command
"tkmessageBox(titel="",message="x",icon="question",type="okcancel")" in my R
script. Now I want to perform some operation in relation to the user's
choice, something like
"if (okpressed) xxx else yyy"
What values does this command give and how are they used?
Thank you, Richard
--
Richard M?ller -
2010 Sep 23
1
lattice centre a diverging colour scale
Dear list,
I'm using lattice::levelplot to plot a coloured image of 3D data. The
range of the z values goes from negative to positive, but is not
exactly centred around 0. I would however like to map a diverging
colour scale with white falling exactly at 0, and both extremes being
symmetrical in the legend to better contrast the opposite change in
colour saturation. The following dummy
1997 Nov 21
2
R-alpha: nlm and gradients
At present the documentation for nlm refers the reader to Dennis and
Schnabel for details on the algorithms. It also states that the
function is liable to change.
Can anyone tell me if the current version of nlm uses only function
values or if it can use gradients and Hessians when they are
available? I would like to get an idea of how difficult it would be
to port the development versions of
2011 Aug 31
1
Gradients in optimx
Hi Reuben,
I am puzzled to note that the gradient check in "optimx" does not work for you. Can you send me a reproducible example so that I can figure this out?
John - I think the best solution for now is to issue a "warning" rather than an error message, when the numerical gradient is not sufficiently close to the user-specified gradient.
Best,
Ravi.
2005 Apr 23
1
start values for nls() that don't yield singular gradients?
I'm trying to fit a Gompertz sigmoid as follows:
x <- c(15, 16, 17, 18, 19) # arbitrary example data here;
y <- c(0.1, 1.8, 2.2, 2.6, 2.9) # actual data is similar
gm <- nls(y ~ a+b*exp(-exp(-c*(x-d))), start=c(a=?, b=?, c=?, d=?))
I have been unable to properly set the starting value '?'s. All of
my guesses yield either a "singular gradient" error if they