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
> from"reduced_mat") to a pdf. It works with the following parameters:
>
> pdf("test.pdf&q
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 so
ot;
spezifiziert
> par(fin=c(8.0,8.0))
> cp <- colorRampPalette(c("white","springgreen","darkgreen"),space="Lab")
> heatmap(x, Rowv = NA, Colv = NA, scale="none", col=cp(200))
Fehler in par(op) : ungültiger Wert für den Grafikpar
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) * n
allation method...
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 pr
io
as the matrix is to get squares...
If I understood everything now, I have to think about something else than
heatmap to make sure to get squares, right?
Thanks, Jim, I'll test this method for my purpose :)
Ciao,
Antje
>
> Paul
>
>
>>> And another question concerning
ties to debug in a way).
Maybe, I 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
___
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
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, reprodu
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 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 the
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
r(pos_name, 2,nchar(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 co
r(pos_name, 2,nchar(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.
&g
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 matr
't know, how to combine the result list with the categories...
Does it become clearer? Probably, I 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.
> Impor
0.228020092
[[8]]
[1] NA
now, I need the means (and sd) of element 1 of list[2],list[3],list[4] (because
they belong 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 mea
void the list, 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
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:
pply(t, 2, mean)
} else {
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'
11
[2,] 22
[3,] 11
[4,] 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, minim
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,
d...).
What shall I look 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, sel
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)) ?
sapply, I call 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-containe
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-subp
guess...)
Could anybody give me a hint?
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/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?
An
le files), which belong 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
___
; mode(s)
[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/li
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
it at the position in a result matrix).
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 pr
...
}
}
}
(It was quite simple, but I did not find 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 file
equal to one of
the elements in V2
I could do:
which(V1 == V2[1] | V1 == V2[2])
but what if I don't 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/
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
(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-p
,1,1,0.6))
plotInfo <- barplot(data1, 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
__
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
2), nrow=2, byrow=TRUE)
it works (but maybe there is an easier way...)
Antje
Jacques VESLOT schrieb:
> thought sd1, sd2... were scalars but if not just do:
> etype <- c(sd1, sd2, sd3, sd4)
> ---
> Jacques VESLOT
&g
7;t know how to handle the x,y values for each 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
Thank you 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
rameter in xyplot I can add to achieve this result? Any
parameter where 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://
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
[[altern
cies as
a line 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-
e use 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 agai
is is not the case,
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 yo
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
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 he
and 3)
Till now 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
I have overlooked? Can't I put special characters like "$" or
"," into this test-character?
Thanks a lot for your help.
Best, Antje
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
http
51 matches
Mail list logo