Displaying 20 results from an estimated 198 matches for "pagel".
Did you mean:
page
2008 Nov 05
3
Efficient way to fill a matrix
...] [,2] [,3]
[1,] -1.0063164 0.05646411 1.32961329
[2,] -0.5118627 0.77715344 0.01146612
[3,] -3.1209441 -1.20990127 0.17358793
[4,] -1.6722699 -1.01932191 -0.57786899
[5,] 0.6710289 1.08218836 0.76736702
Can anyone think of a more efficient way?
cu
Philipp
--
Dr. Philipp Pagel
Lehrstuhl f?r Genomorientierte Bioinformatik
Technische Universit?t M?nchen
Wissenschaftszentrum Weihenstephan
85350 Freising, Germany
http://mips.gsf.de/staff/pagel
2010 Aug 27
3
predict.loess and NA/NaN values
...the last two.
I was unable to find anything in the manual page that explains this
behaviour or says how to change it. So I'm asking the community: Is
there a way to fix this or do I have to code around it?
This is in R 2.11.1 (Linux), by the way.
Thanks in advance
Philipp
--
Dr. Philipp Pagel
Lehrstuhl f?r Genomorientierte Bioinformatik
Technische Universit?t M?nchen
Wissenschaftszentrum Weihenstephan
Maximus-von-Imhof-Forum 3
85354 Freising, Germany
http://webclu.bio.wzw.tum.de/~pagel/
2011 Apr 08
3
xyplot, groups and colors
...# to fix this set groups to Tree
xyplot(circumference~age, dat, groups=Tree, type='l')
# better, but now each Tree has its own color
Of course I can now use the col argument to manually assign the colors
by group but is there a more elegant way that I missed?
cu
Philipp
--
Dr. Philipp Pagel
Lehrstuhl f?r Genomorientierte Bioinformatik
Technische Universit?t M?nchen
Wissenschaftszentrum Weihenstephan
Maximus-von-Imhof-Forum 3
85354 Freising, Germany
http://webclu.bio.wzw.tum.de/~pagel/
2011 Apr 13
5
Clearing Console; of weeks of codes!
Dear All:
I do see I have weeks of codes in my console when I check with my arrow up
keys. I have been clearing them with Control L but it seems to clear it
clear the screen temporally. I do see the previous codes again when I open R
the next day, after quitting the session!
Q:
How do I clear this?
Thanks;
YA
--
View this message in context:
2008 Nov 25
2
invoking user-defined function
Dear list,
Can somebody tell me how to invoke user-defined functions from script
files during run-time?
Basically I have (almost) one function per script file.
I am thinking of something like
#include in C++
import in Java/Python
use in Perl
No, I don't need my functions every time R is started.
Neither I am thinking about writing building my functions into
packages.
I just
2006 Nov 10
2
mock syntax order
...ich works fine, but when i do it backwards, which makes the same
amount of sense syntactically, it fails
mock_requester.should_receive(:request_with).with("x").and_return
(@object).any_number_of_times
are all of the mock options deterministic? Can they be interchangeable?
Paul W Pagel
www.8thLight.com
blog.8thLight.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20061110/77a8e3be/attachment.html
2008 Jul 30
2
Bizarre - R crashes on merge
Hi all,
I have a large data.frame, 1530 observation with 6 columns. I want to
merge a 7th column, a transformation of the response variable (hospital
admissions), namely
trans<-sqrt(copd$admissions+0.25)
trans<-data.frame(trans)
And now when I do
copd2<-merge(copd,trans)
(copd being my original data.frame), R either crashes or is taking an
extremely long time to do the computation. I
2006 Mar 08
5
data import problem
Dear All,
I'm trying to read a text data file that contains several records separated by a blank line. Each record starts with a row that contains it's ID and the number of rows for the records (two columns), then the data table itself, e.g.
123 5
89.1791 1.1024
90.5735 1.1024
92.5666 1.1024
95.0725 1.1024
101.2070 1.1024
321 3
60.1601 1.1024
64.8023 1.1024
70.0593
2003 Nov 07
5
Barplots
Hello,
Can anyone tell me how to label individual bars on a barplot? I want to put an "*" or letter ABOVE the bar to denote statistical significance. Is this possible and how?
Thanks,
Suzanne
__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial
2003 Jun 04
2
convert factor to numeric
...vels(f)[as.integer(f)])
But I just can't believe there is no R function to do this in a more
readable way. Actually, the behaviour of as.numeric() doesn't strike me
as very intuitive. I'm sure it has been implemented that way for a
reason - but what is it?
cu
Philipp
--
Dr. Philipp Pagel Tel. +49-89-3187-3675
Institute for Bioinformatics / MIPS Fax. +49-89-3187-3585
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1
85764 Neuherberg
Germany
2008 Sep 29
1
Lattice: don't draw unlabled tick marks
...lternating=F like in the following example:
Depth <- equal.count(quakes$depth, number=8, overlap=.1)
xyplot(lat ~ long | Depth, data = quakes, scales=list(alternating=F)
I also would like to get rid of the unlabeled tick marks (top and
right). How can I do that?
cu
Philipp
--
Dr. Philipp Pagel
Lehrstuhl f?r Genomorientierte Bioinformatik
Technische Universit?t M?nchen
Wissenschaftszentrum Weihenstephan
85350 Freising, Germany
http://mips.gsf.de/staff/pagel
2009 Feb 20
2
change attributes of all data.frame elements
Hi,
I was wondering whether there was an easy way to change the attributes
of all elements in a data.frame (rather than looping through elements)?
Specifically, I would like to set the "dim" attributes to NULL
Thanks for any help,
Jarrod
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
2011 Mar 08
4
beamer overlays with Sweave?
This may be asking too much, but I'm wondering if anyone has a
solution (even a hack) for creating multiple (overlay) plots in an
Sweave file and post-processing the overlays in beamer appropriately.
For example, suppose I have a series of figure blocks in my .Rnw file:
<<plot1,fig=TRUE>>=
[stuff]
@
<<plot2,fig=TRUE>>=
[stuff]
@
<<plot3,fig=TRUE>>=
2011 Mar 25
4
read.xls -> rotate data.frame
Hi to all,
how could I to rotate automatically a data sheet which was imported by
read.xls?
x1 x2 x3 .... xn
y1 1 4 7 ... xn/y1
y2 2 5 8 .... xn/y2
y3 3 6 9 ....xn/y2
yn ... ... ... Xn/Yn
to
y1 y2 y3 .... yn
x1 1 2 3 ..... Yn/x1
x2 4 5 6 .... Yn/x2
x3 7 8 9 .... Yn/x2
xn ... ... ... ..... Yn/xn
Kind regards Knut
2011 Apr 27
1
read.table: fill=T for header?
....e. more col.names than data) can be fixed with fill=T I was hoping
something like fill.header=T or fill='header' may exist. Did I just
not find it or does it not exist? And if it doesn't - does anyone
else think it would be a nice item for the wishlist?
cu
Philipp
--
Dr. Philipp Pagel
Lehrstuhl f?r Genomorientierte Bioinformatik
Technische Universit?t M?nchen
Wissenschaftszentrum Weihenstephan
Maximus-von-Imhof-Forum 3
85354 Freising, Germany
http://webclu.bio.wzw.tum.de/~pagel/
2010 Aug 05
6
64-bit R on 64-bit Windows box... Still not enough memory?!
I have a 64-bit windows box -
Intel Xeon CPU E7340 @ 2.4GHz 31.9GB of RAM
I have R 2.11.1 (64bit) running on it.
My csv data is 3.6 GB (with about 15 million obs, 120 variables.)
------------------------------------------------
I have successfully imported the data above into R. No problem.
Now I am trying to run 'rpart' on my data. But I got the following error :
Error: cannot
2003 May 16
2
Axis labels
...ing fit? In my actual example letters would'n really
overlap - just get pretty close, so simply switching off this "distance
check" would solve my problem.
I have read ?axis and ?par but couldn't find anything that seems to help.
Thanks for any hints.
Philipp
--
Dr. Philipp Pagel Tel. +49-89-3187-3675
Institute for Bioinformatics / MIPS Fax. +49-89-3187-3585
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1
85764 Neuherberg
Germany
2006 Dec 14
1
legend/plotmath/substitute problem
...documentation for legend, expression, substitute
and plotmath but can't figure it out. Even drinking a cup of tea prepared from
fine-cut man page printouts didn't lead to satori.
I'm probably missing something simple. Any hints are highly appreciated.
Thanks
Philipp
--
Dr. Philipp Pagel Tel. +49-8161-71 2131
Dept. of Genome Oriented Bioinformatics Fax. +49-8161-71 2186
Technical University of Munich
85350 Freising, Germany
http://mips.gsf.de/staff/pagel
2011 Mar 29
7
Using graphics straight from R into published articles
Hi,
I have been working with R for the past couple of years; analyzing data and
producing some graphics.
I was just wondering if people use graphics from R straight into articles or
are they always edited in some way; fonts, headers, axis, color etc? Using
photoshop or some other programs?
I would like to think it is possible, better and more profession to do it
all in R.
I tried google and
2006 Oct 21
4
one is not one
Folks,
I have got a strange behaviour when testing this:
sum(x) != 1
let us set
x<-c(70,134,1,5,0)
and transform it in a vector of probabilities
x<-x/sum(x)
One expect sum(x) should be equal to 1, which is apparently the case
> sum(x)
[1] 1
However, when I try to test it I get:
> if(sum(x) !=1) print("lost") else ("OK")
[1] "lost"
Which means