[R] xyplot: strip size

2010-03-07 Thread Hadassa Brunschwig
Hi, I was wondering if there is a way to control the strip size in xyplot for example using the strip.default function. Or do I need to redraw the strips by myself? I would like to make the strip slimmer and I have reduced the font size using cex. However, I don't know how to change the size of t

Re: [R] xyplot: strip size

2010-03-07 Thread Hadassa Brunschwig
Thanks that solved my problem. Hadassa On Sun, Mar 7, 2010 at 7:04 PM, Peter Ehlers wrote: > On 2010-03-07 3:12, Hadassa Brunschwig wrote: > >> Hi, >> >> I was wondering if there is a way to control >> the strip size in xyplot for example using the >> str

[R] hexadecimal colors

2010-03-17 Thread Hadassa Brunschwig
Hi I would like to produce a red shading I figured the easiest way to do that would be to use rgb in the following way: a<- seq(0,0.9,by=0.1) redshade <- rgb(red=1,green=a, blue=a) However, I don't really know how to plot things using hexadecimal colors. I used a function which tries

[R] Sampling of non-overlapping intervals of variable length

2009-07-19 Thread Hadassa Brunschwig
integers in the interval). I had the idea to sample recursively on a vector with the already chosen intervals discarded but that seems to be too complicated. Any suggestions on that? Thanks a lot. Hadassa -- Hadassa Brunschwig PhD Student Department of Statistics The Hebrew University of

Re: [R] Sampling of non-overlapping intervals of variable length

2009-07-19 Thread Hadassa Brunschwig
2009, at 1:05 PM, Hadassa Brunschwig wrote: > >> Hi, >> >> I hope I am not repeating a question which has been posed already. >> I am trying to do the following in the most efficient way: >> I would like to sample from a finite (large) set of integers n >> non-overlapp

Re: [R] Sampling of non-overlapping intervals of variable length

2009-07-19 Thread Hadassa Brunschwig
intervals on these vectors. 2)For each sampled vector: apply Chucks solution. ? Thanks a lot. Hadassa On Sun, Jul 19, 2009 at 11:13 PM, Charles C. Berry wrote: > On Sun, 19 Jul 2009, Hadassa Brunschwig wrote: > >> Hi >> >> I am not sure what you mean by sampling an index of

[R] Moving Average on Defined Intervals

2009-07-30 Thread Hadassa Brunschwig
-- Hadassa Brunschwig PhD Student Department of Statistics The Hebrew University of Jerusalem http://www.stat.huji.ac.il __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

[R] Moving Average on Defined Intervals

2009-07-30 Thread Hadassa Brunschwig
-- Hadassa Brunschwig PhD Student Department of Statistics The Hebrew University of Jerusalem http://www.stat.huji.ac.il __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

[R] Choose variables according to index

2010-01-06 Thread Hadassa Brunschwig
Hi There must have someone already posted this question but I still have not figured how I could do this: Say I have var.1 var.2 var.3 which are large matrices. I would like to do the following loop: for(i in 1:3){ # Pick var.i and do something with it } How can I tell R to do this? Thanks fo

[R] Executing a code until a new user input aborts it (readlines?)

2013-09-15 Thread Hadassa Brunschwig
Hi, I know that with readlines you can start executing a code upon user input. What I would like to do is to have the ability to abort a code based on a new user input. E.g. when the user hits enter the code stops running. That is, I would periodically check for a user input and stop the code when

[R] Connect to server

2010-06-20 Thread Hadassa Brunschwig
to a server with a password? Thanks, Hadassa -- Hadassa Brunschwig PhD Student Department of Statistics The Hebrew University of Jerusalem http://www.stat.huji.ac.il [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

[R] Linkage Disequilibrium Blocks

2010-11-01 Thread Hadassa Brunschwig
Hi, I am looking for a package which calculates linkage disequilibrium (LD) blocks similar as in the software Haploview. So far I have found packages which calculate the LD but do not provide methods for determining blocks. Thanks in advance for any hints. Hadassa [[alternative HTML ver

[R] Determining second coordinate from distance

2011-11-15 Thread Hadassa Brunschwig
Hi, I am looking for a function which takes as input the spatial coordinate in longitute/latitude and the distance in metric and returns the second coordinate (of course depending on an angle as well). So far I have only found functions which calculate the distance between two coordinates. Thank

[R] Error in dyn.load()

2009-01-11 Thread Hadassa Brunschwig
as well? Thanks a lot for any comments. Hadassa -- Hadassa Brunschwig PhD Student Department of Statistics The Hebrew University of Jerusalem http://www.stat.huji.ac.il __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PL

[R] Makevars

2009-01-11 Thread Hadassa Brunschwig
eed to add? 4. Does tools.c need to be a shared object as well? Thanks a lot! Hadassa -- Hadassa Brunschwig PhD Student Department of Statistics The Hebrew University of Jerusalem http://www.stat.huji.ac.il __ R-help@r-project.org mailing

[R] System with manual options

2009-01-18 Thread Hadassa Brunschwig
() does not handle manual options (?). Is there thus a way to use these C programs anyway through R (i.e. without touching the C programs and fixing the problem in R)? Thanks a lot for any comments. -- Hadassa Brunschwig PhD Student Department of Statistics The Hebrew University of Jerusalem http

[R] Character SNP data to binary MAF data

2009-01-28 Thread Hadassa Brunschwig
r non-geneticists: I want to have a binary matrix for which in each row the 0 stands for the less frequent character and 1 for the more frequent character. Thanks for any suggestions. Hadassa -- Hadassa Brunschwig PhD Student Department of Statistics The Hebrew University of Jerusalem

Re: [R] Character SNP data to binary MAF data

2009-01-29 Thread Hadassa Brunschwig
, 2009 at 1:50 AM, Jorge Ivan Velez wrote: > > Hi Hadassa, > Do you have a sample of your data and the output you want? It might be > useful for us in order to provide any help to you. > Regards, > > Jorge > > > On Wed, Jan 28, 2009 at 8:36 AM, Hadassa Brunschwig > wrot