### [R] run self written functions

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

### [R] two density curves in one plot?

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

### Re: [R] two density curves in one plot?

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,

### [R] Using ComputerModern-Fonts with Matplot

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

### [R] variables with dynamic names?

). 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

### Re: [R] variables with dynamic names?

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

### [R] extract values from a vector

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

### Re: [R] extract values from a vector

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

### [R] barplot - x-axis

(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

### [R] barplot help needed

, 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

### Re: [R] barplot help needed

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

### Re: [R] barplot help needed

...) 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

### [R] Multiple plots via sapply or lapply?

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

### [R] tapply, how to get level information

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

### [R] Error in plot.new() : Figure margins too large

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

### Re: [R] Error in plot.new() : Figure margins too large

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

### [R] sapply and its return value

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.

### [R] tapply, levelinformation

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

### Re: [R] tapply, levelinformation

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

### [R] sapply again return value

) [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

### Re: [R] sapply again return value

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

### [R] choose.dir

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

### Re: [R] choose.dir

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

### [R] choose.dir

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

### Re: [R] Readline - wait for user input

(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

### [R] Readline

)) 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

### [R] how to combine data of several csv-files

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

### Re: [R] how to combine data of several csv-files

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

### Re: [R] how to combine data of several csv-files

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

### Re: [R] how to combine data of several csv-files

, 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

### Re: [R] how to combine data of several csv-files

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

### Re: [R] how to combine data of several csv-files

{ 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

### [R] remove NA rows and columns

,] 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.

### Re: [R] remove NA rows and columns

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

### [R] need help with pdf-plot

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.

### Re: [R] need help with pdf-plot

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

### Re: [R] need help with pdf-plot

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

### [R] figure-definition and heatmap question

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

### Re: [R] figure-definition and heatmap question

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

### [R] Package installation

... 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

### Re: [R] figure-definition and heatmap question

, 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

### [R] R-help: conversion of long decimal numbers into hexadecimal

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

### [R] R-help: conversion of long decimal numbers into hexadecimal numbers

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

### [R] Comparing rows of matrices with different dimensions

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

### [R] problem with parse

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

### [R] How to save an object list as txt?

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

### [R] panel order in xyplot

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

### [R] two y-axis in xy-plot

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

### Re: [R] two y-axis in xy-plot

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

### Re: [R] two y-axis in xy-plot

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

### [R] label of second y-axis in xyplot (lattice)

, 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