search for: rainer

Displaying 20 results from an estimated 925 matches for "rainer".

2007 Mar 31
2
Matrix package: compilation error
...kage 'Matrix' ** Removing '/usr/local/lib/R/library/Matrix' ----- Under FreeBSD I have installed the LAPACK package (3.0.2) with library at location /usr/local/lib/liblapack.so.4 Is it possible that the Makefile of package Matrix fails because of that? Any help is appreciated, Rainer Hurling
2006 Jun 05
2
Calculation of AIC BIC from mle
...<- function( m, k=2) { lL <- logLik(m) edf <- attr(lL, "df") LL <- lL[1] - 2 * LL + k * edf } 1) Why is AIC not working with objects of class mle - am I doing something wrong, is it a bug or by design? 2) Just for confirmation - is my calculation of AIC correct? Thanks Rainer
2007 Oct 01
4
Concatenating one character vector into one string
Hi I am sure this is simple - but how can I convert one charecter vector into one string? example: x <- c("This ", "is ", "one ", "sentence.") should become "This is one entence" Thanks Rainer -- NEW EMAIL ADDRESS AND ADDRESS: Rainer.Krug at uct.ac.za RKrug at sun.ac.za WILL BE DISCONTINUED END OF MARCH Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology (UCT) Plant Conservation Unit Department of Botany University of Cape Town Rondebosch 7701 South Africa Tel: +27 -...
2007 Sep 20
2
referencing packages?
Hi I know how to referenc R in a scientific paper - but is there a standardised way to reference packages? Thanks Rainer -- NEW EMAIL ADDRESS AND ADDRESS: Rainer.Krug at uct.ac.za RKrug at sun.ac.za WILL BE DISCONTINUED END OF MARCH Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology (UCT) Plant Conservation Unit Department of Botany University of Cape Town Rondebosch 7701 South Africa Tel: +27 -...
2009 Jun 04
4
order() with randomised order in ties?
...eed different "order" for the ties, as below in rank() example: rank(x, ties.method="random") [1] 1 4 6 7 10 12 13 15 18 19 2 3 5 8 9 11 14 16 17 20 > rank(x, ties.method="random") [1] 2 4 5 7 9 12 14 15 18 19 1 3 6 8 10 11 13 16 17 20 Thanks Rainer -- Rainer M. Krug, Centre of Excellence for Invasion Biology, Stellenbosch University, South Africa
2006 Sep 06
4
problem with putting objects in list
...the list dr: dens <- function(run) { density( positions$X[positions$run==run], bw=3, cut=-2 ) } dr <- lapply(1:5, dens) but the results are stored in dr[[i]] and not dr[i], i.e. plot(dr[[1]]) works, but plot([1]) doesn't. Is there any way that I can store them in dr[i]? Thanks a lot, Rainer -- Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology (UCT) Department of Conservation Ecology and Entomology University of Stellenbosch Matieland 7602 South Africa Tel: +27 - (0)72 808 2975 (w) Fax: +27 - (0)21 808 3304 Cell: +27 - (0)83 9479 042 email: RKrug at sun.ac.za...
2009 Jul 29
8
Adding picture to graph?
...n the HDD) to a graph (generated by plot()), which we could not answer. It might easily kill a clean graph, but: is there a way of doing this, even one should not do it? On a similar line of thought: is it possibe to define own symbols so that they can be used in the plot function with pch=? Rainer -- Rainer M. Krug, Centre of Excellence for Invasion Biology, Stellenbosch University, South Africa
2007 Aug 16
6
several plots on several pages
...new page in the pdf? 2) how can I make sure that the second graph is in position 2 when graph one produces an error when plotting I(as in the example)? Everything works OK (for the firsat page) when graph one is plotted. I have the feeling, that I am thinking to complicated. Any help welcome, Rainer pdf("test.pdf") try( { ## Set layout to three rows and only oine column par( mfcol=c(3,1), oma=c(0,0,0,0), mar=c(4, 4, 2, 2) ) ## First row par(mfg=c(1,1)) try( plot(runif(ff)) ) ## Second row par(mfg=c(2,1)) try( plot(runif(100)) ) #...
2020 Sep 22
3
R > 4.0.0 on Debian 9 Stretch?
Hi Dirk, Thanks for the explamnayion - Debian is running in a VM (and nothing really installed on it) , and I think the easiest is for me just to install Debian 10 and to use that one. Thanks a lot, Rainer > On 22 Sep 2020, at 15:14, Dirk Eddelbuettel <edd at debian.org> wrote: > > > On 22 September 2020 at 14:49, Rainer M Krug wrote: > | I know this is likely documented somewhere, but I can?t find it. How can I install R > 4.0.0 on Debian 9 Stretch? > > That is ...
2005 Oct 10
3
Vectorizing loop
Hi I have the following loop and would like to vectorize it. Any ideas if it is possible? Thanks, Rainer Tha Loop: for (i in 2:Result$NoSims) { ppp <- runifpoint(Result$NoPlants) K <- Kest(ppp) Result$LSim[i,] <- sqrt(K$iso / pi) - K$r CM <- (Result$LSim[i,] * Result$LSim[i,]) / abs(K$r[2] - K$r[1]) Result$SigCM[i] <- sum(CM, na.rm=TRUE) print(i) flush.console() } -- N...
2009 Nov 06
7
Status of DTrace NFSv3/v4 client providers
...NFSv4 (and eventually NFSv3) client provider would been extremely helpful. Unfortunately, all I could find were a request for code review of a v3 client provider and another request for help developing a v4 provider. Nothing seems to have come from those initiatives, though. Any updates? Thanks. Rainer ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University
2007 May 28
1
Where to find "nprq"?
Hi I am trying to install the package "pheno", but it needs the package "nprq" by Roger Koenker et al. which I can I find this package? It does not seem to be on CRAN and googling also doesn't give me an URL - is it still somewhere available? Thanks, Rainer -- NEW EMAIL ADDRESS AND ADDRESS: Rainer.Krug at uct.ac.za RKrug at sun.ac.za WILL BE DISCONTINUED END OF MARCH Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology (UCT) Leslie Hill Institute for Plant Conservation University of Cape Town Rondebosch 7701 South Africa Fax: +27 -...
2006 Sep 22
1
Update to Dillo browser question
Hi I asked about if there is any way of opening URLs from the help browser in the same window of the same dillo browser - here is the answer. Just to reiterate: dillo is for me the perfect browser for the help of R when you use ?... Rainer -------- Original Message -------- Subject: Re: [Dillo-dev] Opening new URL in same instance and -s option Date: Thu, 21 Sep 2006 21:31:57 -0400 From: Jorge Arellano Cid <jcid at dillo.org> To: Rainer M Krug <rkrug at sun.ac.za> References: <45128134.60709 at sun.ac.za> On Thu,...
2011 Oct 05
2
"unload" a library while testing?
...changes, I have to close R and open R again to load the new version (same version number) of the package I am working on. So my question: is there a function which removes a package, i.e library(myPackage) > Package is loaded unlibrary(myPackage) > package is not loaded any more Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax (F): +33 - (0)9 58 10 27 44...
2006 Sep 20
5
Beginners manual for emacs and ess
...that I decided to try it out - but I am stuck at the beginning. Is there anywhere a beginners manual for Emacs & ESS to be used with R? even M-x S tells me it can't start S-Plus - obviously - but I want it to start R... Any help welcome (otherwise I will be stuck with Eclipse and R) Rainer -- Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology (UCT) Department of Conservation Ecology and Entomology University of Stellenbosch Matieland 7602 South Africa Tel: +27 - (0)72 808 2975 (w) Fax: +27 - (0)21 808 3304 Cell: +27 - (0)83 9479 042 email: RKrug at sun.ac.za...
2012 Aug 22
3
Question concerning anova()
...want to compare all models among each other - is there a "best" way? I would be reluctant to do several ANOVA's, due to necessary corrections for multple tests (although this should not be a problem here?) I can obviously select the best model based on the AIC. Thanks in advance, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax...
2006 Mar 23
4
Create graphs from text console
...) from a text console? It gives me an error message on the jpeg() command: Error in X11(..snip..) unable to start device jpeg In addition: warning message: unable to open connection to X11 display. Are there any ways to create the plot and save it into a jpeg file from a text console? Thanks, Rainer -- -- Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology (UCT) Department of Conservation Ecology University of Stellenbosch Matieland 7602 South Africa Tel: +27 - (0)72 808 2975 (w) Fax: +27 - (0)21 808 3304 Cell: +27 - (0)83 9479 042 email: RKrug at sun...
2007 Mar 05
4
Identifying last record in individual growth data over different time intervalls
...came up with the solution below which is probably way to complicated, but I can't think of another solution. Does anybody has an idea how to do this more effectively? Finally I would like to have a data.frame t2 which only contains the entries of the last measurements. Thanks in advance, Rainer > unlist( sapply( split(t, t$plate), function(i) { i[i$year==max(i$year),]$id } ) ) 15 20 33 43 44 47 64 D72 S200 S201 2006001 2006003 2006005 2006007 2006008 2006009 2006014 2006015 2006016 2006017 S202 S203 S204...
2013 Aug 24
3
Migrating from Maildir to Maildir:LAYOUT=fs
...ine with me as well. My questions: 1) can I simply restructure the mailboxes and rename the folders / move them into the folders where I want them after changing the configuration of dovecot? 2) Is there an easy tool I can use for this for one mailbox which is doing it automatically? Thanks, Rainer -- Rainer M. Krug email: RMKrug<at>gmail<dot>com
2007 Oct 24
2
analytical solution to Sum of binominal distributed random numbers?
Frede Aakmann T?gersen wrote: > Perhaps > > http://stinet.dtic.mil/cgi-bin/GetTRDoc?AD=ADA266969&Location=U2&doc=GetTRDoc.pdf > > is something that you can use? Thanks a lot - that might help. Rainer > > > > Best regards > > Frede Aakmann T?gersen > Scientist > > > UNIVERSITY OF AARHUS > Faculty of Agricultural Sciences > Dept. of Genetics and Biotechnology > Blichers All? 20, P.O. BOX 50 > DK-8830 Tjele > > Phone: +45 8999 1900 > Dir...