There is no one who could help me with this?
Antje schrieb:
Hello,
I have two questions. I'd like to visualize data with a heatmap and I have
the
following testcase:
x - rnorm(256)
nx - x + abs(min(x))
nnx - 255/max(nx) * nx
x - matrix(nnx, 16, 16)
rownames(x) -
c(A,B,C,D,E,F,G,I
...
Maybe, I simply do something wrong?
Thanks for any hint!
Antje
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal
, right?
Thanks, Jim, I'll test this method for my purpose :)
Ciao,
Antje
Paul
And another question concerning the heatmap: May I force the funtion
to plot A1 at the upper left corner instead of the lower left?
I'll be glad about any idea how to solve these problems...
Ciao,
Antje
of the lower left?
I'll be glad about any idea how to solve these problems...
Ciao,
Antje
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
Thank you both!
The hint with the pty=s was very useful. I did not know it before.
Ciao,
Antje
Ivar Herfindal schrieb:
Dear Antje
I cannot see that you have got any replies yet, so I will make and
attempt. However, I am sure other have more formally correct solutions.
When you call
I still have this problem. Does anybody know any solution?
Antje
Antje schrieb:
Hello,
I'm trying to plot a set of barplots like a matrix (2 rows, 10 columns
fromreduced_mat) to a pdf. It works with the following parameters:
pdf(test.pdf,width=ncol(reduced_mat)*2, height=nrow
for to achieve this?
Antje
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Hi Jim,
that's exactly what I'm looking for. Thank you so much. I think, I should look
for some further documentation on list handling.
Many thanks also to [EMAIL PROTECTED] ;) for spending time in
finding a solution...
Have a nice day!
Antje
jim holtman schrieb:
This should do it:
v1
{
if(nrow(t) == 1) { as.vector(t) }
else { NA }
}
})
Probably, there is a simpler solution to remove the NA rows, but it works ;);
also with sd.
Ciao,
Antje
8rino-Luca Pantani schrieb:
Hi Jim,
that's exactly what I'm looking for. Thank you so much. I think, I
should
,] 22
Ciao,
Antje
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Hello,
thank you both very much!
It is as easy as expected... (I think I still have to learn a lot!)
Have a nice day!
Antje
Vladimir Eremeev schrieb:
Or, these operations can be called in one command:
testmatrix[-which(apply(testmatrix,1,function(x)all(is.na(x,-which(apply(testmatrix
Hello,
I'm looking for a solution for the following problem:
1) I have a folder with several csv files; each contains a set of
measurement values
2) The measurements of each file belong to a position in a two
dimensional matrix (lets say B02.csv belongs to position 2,2
3) The size of the
try to provide a simple example but
this will take some time to prepare...
Thanks anyway!
Antje
8rino-Luca Pantani schrieb:
I'm unclear to what it is your problem.
Import files into data frame?
Combine them in one dataframe?
Some (written) examples of the files would help people to help you
to cat1) and
= mean(-0.6442149, 0.02354036, -1.40362589)
the same for element 2 up to element 6 (-- I would the get a vector containing
the means for cat1)
the same for the vectors belonging to cat2.
does anybody now understand what I mean?
Antje
__
R
, because this is the result of the
processing I did before...
Ciao,
Antje
8rino-Luca Pantani schrieb:
I hope I see.
Why not try the following, and avoid lists, which I'm not still able to
manage properly ;-)
v1 - NA
v2 - rnorm(6)
v3 - rnorm(6)
v4 - rnorm(6)
v5 - rnorm(6)
v6 - rnorm(6
(pos_name))
Thank you!
Antje
Peter Dalgaard schrieb:
Forest Floor wrote:
Hi,
I've seen various posts on this question, but still can't get the code
right.
If I run the following code one line at a time, it works fine. If I run
it together as a block, however
))
Thank you!
Antje
Peter Dalgaard schrieb:
Forest Floor wrote:
Hi,
I've seen various posts on this question, but still can't get the
code
right.
If I run the following code one line at a time, it works fine.
If I run
it together as a block
Hi all,
I have written a R-script under Windows using choose.dir. Now, I have
seen that this function is missing at MacOS. Does anybody know an
alternative?
Antje
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
Hi all,
I have written a R-script under Windows using choose.dir. Now, I have
seen that this function is missing at MacOS. Does anybody know an
alternative?
Antje
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
Thank you. For Windows it works, I'll check whether it also works for Mac :)
Gabor Grothendieck schrieb:
I don't have a Mac but perhaps this works:
library(tcltk)
tclvalue(tkchooseDirectory())
On 5/2/07, Antje [EMAIL PROTECTED] wrote:
Hi all,
I have written a R-script under Windows
to different
conditions (one or more files per condition). I wanted to read the data
set and a description of the conditions and then automatically create
plots for data of the same condition.
Maybe it's much to complicate the way I do...
Antje
__
R-help
)
[1] list
dim(s)
[1] 3 3
Now, I'd like to remove the columns which contain NULL (it's alway the
whole column).
How can I do this???
Antje
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
Henrique Dallazuanna schrieb:
Hi,
A simple way is:
s - s[3]
but what if I don't know how many and which columns are NULL?
Antje
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
you!
Antje
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Hello,
I have another question. I would like to plot something within a self
written function (plotdensity) called by tapply
t - tapply(mat, classes, plotdensity)
Now I would like to add each plot the class/level as title.
How can I do this?
Antje
barplot
What is wrong???
Antje
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible
of windows / margins and plotting
areas. Maybe someone can help me (even with a good overview on these
basics...)
Antje
Peter Dalgaard schrieb:
Antje wrote:
Hello,
was could be the reason for such an error message???
Generically, that the (per-subplot) figure region is so small
Hello,
I'm applying a self-written function to a matrix on basis of different
levels.
Is there any way, to get the level information within the self-written
function???
t - tapply(mat, levels, plotDensity)
plotDensity - function(x) {
??? print(level(x)) ???
}
Antje
plot into an
sapply (or lapply, I don't know)
Any idea? Maybe, I should somehow change the return type?
Antje
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org
, las=2, ylim = c(0,plotMax+1), ylab =
Percentage)
arrows(plotInfo,data1,plotInfo, data1 + sd1, length=0.1, angle=90)
arrows(plotInfo,data1,plotInfo, data1 - sd1, length=0.1, angle=90)
could anybody give me a help on this?
Antje
__
R-help
Thank you very much for your help.
I just don't understand the following line (which also gives me a
dimension error later in the arrows command)
etype - rep(c(sd1, sd2, sd3, sd4), length(data1))
Antje
(I don't see my emails to the mailinglist anymore... just the answers
from other people
...)
Antje
Jacques VESLOT schrieb:
thought sd1, sd2... were scalars but if not just do:
etype - c(sd1, sd2, sd3, sd4)
---
Jacques VESLOT
CNRS UMR 8090
I.B.L (2ème étage)
1 rue du Professeur Calmette
B.P. 245
59019 Lille
(data, las=2, ylim = c(0,plotMax+1), ylab = Percentage, main =
filename, sub = subtitle)
Thank you!
Antje
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org
know the length of V2 and it's content???
Thank you in advance!
Antje
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide
Bernd Weiss schrieb:
Am 1 Nov 2006 um 14:49 hat Antje geschrieben:
Date sent:Wed, 01 Nov 2006 14:49:43 +0100
From: Antje [EMAIL PROTECTED]
To: R-help@stat.math.ethz.ch
Subject: [R] extract values from a vector
Hello,
I'm
the paste command before...)
If there is something which could be done easier, just let me know.
Ciao,
Antje
Antje schrieb:
Hello,
I have the following problem. I have a set of CSV files and they are
named for a special position in a matrix (e.g. A01.csv, F06.csv,
H11.csv)
Now, I would
).
How can I realize this with R?
Ciao,
Antje
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained
Hello,
I was wondering if I can plot two curves I get from density(data) into
one plot. I want to compare both.
With the following commad, I just get one curve plotted:
plot( density(mydata) )
Sorry for this stupid question but I could not find a solution until now...
Antje
Thank you both very much.
It works!
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained,
have chosen a completely wrong way? I only want to make it easy
to create some graphical visualizations of data which will be read in by
csv. files, has to be converted and then displayed depending on some
displaying parameters.
Ciao,
Antje
__
R-help
,
but the example should just visualize my question.)
So here in this case I'd like to have two labels. On the normal y-side
(axis2) the label = Precip, on the other side (axis4) the label Temp.
Thanks for your help.
Antje
[[alternative HTML version deleted
during the hours.
Is this possible with two y-axes?
Thanks for your help,
Antje
-Ursprüngliche Nachricht-
Von: Deepayan Sarkar [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 9. Januar 2006 18:08
An: Antje Schüle
Cc: r-help@stat.math.ethz.ch
Betreff: Re: two y-axis in xy-plot
On 1/9/06
of the xyplot in library(lattice) in combination
with the second y-axis.
Thanks.
Antje
---
It is nearly the same example I wrote about in
http://www.mail-archive.com/r-help@stat.math.ethz.ch/msg54238.html. I'll print
it out again
Hi there,
I am wondering if it is possible to do an xyplot with two y-axes. I'd like to
print two parameters in a time series but they both have different scales.
Which parameter in xyplot can I add to achieve this result?
Thanks a lot for any help.
Antje
[[alternative
I can tell how the panels have to be arranged?
Thanks a lot for any help.
Antje
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
very much for your help.
Regards, Antje
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
for your help.
Best, Antje
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
I have tried things like b %in% a[,1:2] or so but that doesn't work
because I want to compare the WHOLE row of b with the whole row of a without
column 3.
Thank you very much for any help.
Regards, Antje
[[alternative HTML version deleted
Hi There,
I am trying to use ComputerModern Fonts with the matplot-command. Is
that possible and what command do I have to use?
Thanks,
Antje
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
Hi there,
could somebody help me to convert a decimal number into a hexadecimal number? I
know that there is the function sprintf, but the numbers I want to convert
consist of 20 or more numbers. Spintf is not able to convert these big
numbers.
Thanks for any help.
Antje
Hi there,
could somebody help me to convert a decimal number into a hexadecimal number? I
know that there is the function sprintf, but the numbers I want to convert
consist of 20 or more numbers. Spintf is not able to convert these big
numbers.
Thanks for any help.
Antje Döring
51 matches
Mail list logo