Displaying 20 results from an estimated 237 matches for "krug".
Did you mean:
drug
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 - (0)21 650 5776 (w)
Fax: +27 - (0)86 516 2782
Fax...
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 - (0)21 650 5776 (w)
Fax: +27 - (0)86 516 2782
Fax...
2009 Jun 04
4
order() with randomised order in ties?
...der" 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
...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
Rainer at krugs.d...
2012 Aug 22
3
Question concerning anova()
...dels 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 (D): +49 - (0)3...
2007 Aug 16
6
several plots on several pages
...,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)) )
## Third row
par(mfg=c(3,1))
plot(runif(1000))
}
)
dev.off()
--
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 - (0)21 650 5776 (w)
Fax: +27 - (0)86 516 2782
Fax...
2020 Sep 22
3
R > 4.0.0 on Debian 9 Stretch?
...unning 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 'oldstable'. You are making a heroic assumption that "some" volunteer
> prepared a binary for you.
>
> Maybe ... that vol...
2007 May 28
1
Where to find "nprq"?
...ckage "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 - (0)86 516 2782
Fax: +27 - (0)21 650 2440 (w)
Cel...
2009 Jul 29
8
Adding picture to 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
2006 Sep 22
1
Update to Dillo browser question
...iterate: 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, Sep 21, 2006 at 02:10:28PM +0200, Rainer M Krug wrote:
> Hi
Hi.
>
> I have two questions
>
> first: I would like to be able to have only one instance of dillo open
> and when I try to open...
2009 Oct 30
2
Ubuntu packages compiled with 2.9
...graded to R 2.10.0, and I encounter a problem with some packages on R,
installed via apt-get..
They are still compiled by 2.9 and give me an warning when I load the
packages. Will these packages be recompiled with R 2.10, or should I rather
switch to self-compiling?
Cheers,
Rainer
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa
Cell: +27 - (0)83 9479 042
Fax:...
2007 Mar 05
4
Identifying last record in individual growth data over different time intervalls
...S220 2006 0.25
2004114 2004114 S222 2004 0.34
2005020 2005020 S222 2005 0.35
2006037 2006037 S222 2006 0.46
2005013 2005013 S223 2005 0.04
2006038 2006038 S223 2006 0.04
2005012 2005012 S224 2005 0.13
2006039 2006039 S224 2006 0.14
--
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 - (0)86 516 2782
Fax: +27 - (0)21 650 2440 (w)
Cel...
2009 Oct 07
2
Second y-axis --- alternative to par(new=
...1, y1, type="l")
par(new=TRUE)
plot(x2, y2, type="p")
axis(4)
## (2) Does plot points where (x-axis) they should be
xlim <- range(x1)
plot(x1, y1, type="l", xlim=xlim)
par(new=TRUE)
plot(x2, y2, type="p", xlim=xlim)
axis(4)
Cheers,
Rainer
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa
Cell: +27 - (0)83 9479 042
Fax:...
2020 Sep 22
2
R > 4.0.0 on Debian 9 Stretch?
Hi
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?
Thanks a lot,
Rainer
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)
Orcid ID: 0000-0002-7490-0066
Department of Evolutionary Biology and Environmental Studies
University of Z?rich
Office Y34-J-74
Winterthurerstrasse 190
8075 Z?rich
Switzerland
Office: +41 (0)44 635 47 64
Cel...
2011 Jul 26
1
Comparing two pdf resulting from density() and identify where significantly smaller or larger?
...would like to identify the areas where d.all is significantly larger
then d.co and where it is significantly smaller.
What is the easiest approach to do this? At the moment I am not doing any
tests, but I am sure there is a way to determine the ranges statistically?
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
Fax (D): +49 - (0...
2009 Dec 11
1
Creating bibtex file of all installed packages?
...ast way, to generate a BibTeX file of all installed /
loaded packages and R?
I know about toBibtex(citation()) to extract the BibTeX for a single
package, but how can I generate a file containg citations for all installed
/ loaded packages?
Cheers,
Rainer
--
NEW GERMAN FAX NUMBER!!!
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa
Cell: +27 - (0)83 9479 042
Fax:...
2012 Aug 21
2
define subset argument for function lm as variable?
...na.action = na.omit
)
dat.lm <- lm(
formula = feff, # fixed effect in the model
data = dat,
subset = dead==FALSE & recTreat==FALSE,
na.action = na.omit
)
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 : +33 - (0)9 58 10 27 44
Fax (D): +49 - (0)3...
2005 Oct 10
3
Vectorizing loop
...t(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()
}
--
NEW TELEPHONE NUMBER
Tel: +27 - (0)72 808 2975 (w)
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.ac.za
Rainer at krugs.de
2011 Oct 05
2
"unload" a library while testing?
...se 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
Fax (D): +49 - (0...
2015 May 23
5
MetaCran website v1.0.0-alpha
Dear All,
[ I was wondering if this should have gone to the new mailing list. Maybe. ]
As some of you maybe know from my earlier posts, I am building a simple
search engine for R packages. Now the search engine has a proper web site,
where you can also browse CRAN packages.
http://www.r-pkg.org/
As I see the value is in
1. package search (search box on top right)
2. APIs, see