Re: [R] Sensitivity and Specificity

2022-10-24 Thread Prof. Dr. Matthias Kohl
more, see 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. -- Prof. Dr. Matthias Kohl www.stamats.de __ R-he

Re: [R] confidence intervals for the difference between group means

2020-08-04 Thread Prof. Dr. Matthias Kohl
osting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Prof. Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the p

Re: [R] ncol() vs. length() on data.frames

2020-03-31 Thread Prof. Dr. Matthias Kohl
should have added: dim(x)[2L] -> length(x) Am 31.03.20 um 16:21 schrieb Prof. Dr. Matthias Kohl: Dear Ivan, if I enter ncol in the console, I get function (x) dim(x)[2L] indicating that function dim is called. Function dim has a method for data.frame; see methods("dim"). T

Re: [R] ncol() vs. length() on data.frames

2020-03-31 Thread Prof. Dr. Matthias Kohl
ommented, minimal, self-contained, reproducible code. -- Prof. Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www

Re: [R] How to rum Multiple ANOVA and Multiple T-test between the same groups?

2019-02-10 Thread Prof. Dr. Matthias Kohl
ailing list -- To UNSUBSCRIBE and more, see 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. -- Prof. Dr. Matthias Kohl www.stamats.de __

Re: [R] Paired sample t-test with mi.t.test

2017-04-07 Thread Prof. Dr. Matthias Kohl
.html and provide commented, minimal, self-contained, reproducible code. -- Prof. Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read th

Re: [R] How to install pkg when "not found" ?

2015-12-30 Thread Prof. Dr. Matthias Kohl
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Prof. Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r

Re: [R] C.D.F

2014-08-11 Thread Prof. Dr. Matthias Kohl
-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Prof. Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] legendre quadrature

2014-05-01 Thread Prof. Dr. Matthias Kohl
/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. -- Prof. Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list https

Re: [R] joint distribution

2014-04-22 Thread Prof. Dr. Matthias Kohl
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Prof. Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] Creating new instances from original ones

2013-03-31 Thread Prof. Dr. Matthias Kohl
]] __ R-help@r-project.org 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. -- Prof. Dr. Matthias Kohl www.stamats.de

Re: [R] integrate function

2013-02-12 Thread Prof. Dr. Matthias Kohl
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Prof. Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] Convolve 2 uniform distributed variables

2012-05-24 Thread Prof. Dr. Matthias Kohl
__ R-help@r-project.org 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. -- Prof. Dr. Matthias Kohl

Re: [R] Compare String Similarity

2012-04-19 Thread Prof. Dr. Matthias Kohl
. __ R-help@r-project.org 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. -- Prof. Dr. Matthias Kohl www.stamats.de

Re: [R] Sweave UFT8 problem

2012-04-15 Thread Prof. Dr. Matthias Kohl
. __ R-help@r-project.org 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. -- Prof. Dr. Matthias Kohl www.stamats.de

Re: [R] calculate quantiles of a custom function

2012-01-03 Thread Prof. Dr. Matthias Kohl
, reproducible code. -- Prof. Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org 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] Defining functions inside loops

2011-02-15 Thread Dr. Matthias Kohl
/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. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Package distr and define your own distribution

2011-02-12 Thread Dr. Matthias Kohl
, minimal, self-contained, reproducible code. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org 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] how to generate a random data from a empirical distribition

2010-07-27 Thread Dr. Matthias Kohl
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] Robust Asymptotic Statistics (RobASt)

2010-06-07 Thread Dr. Matthias Kohl
, reproducible code. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org 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

[R] [R-pkgs] new package RFLPtools

2010-02-20 Thread Dr. Matthias Kohl
sequence alignment. To get a first impression try: vignette(RFLPtools) as well as library(RFLPtools) example(RFLPplot) example(RFLPrefplot) Best regards, Fabienne Alexandra Matthias -- Dr. Matthias Kohl www.stamats.de ___ R-packages mailing list r-packa

[R] [R-pkgs] new version of RobASt-family of packages

2009-12-09 Thread Matthias Kohl
in ExamplesEstimation.R in folder scripts Best Peter Matthias -- Dr. Matthias Kohl www.stamats.de ___ R-packages mailing list r-packa...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-packages __ R

[R] [R-pkgs] new version of distr-family of packages

2009-11-24 Thread Matthias Kohl
an example with framed code in vignette Best Peter Matthias -- Dr. Matthias Kohl www.stamats.de ___ R-packages mailing list r-packa...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-packages __ R-help@r

[R] COURSE: Introduction to Metabolomics and biomarker research

2009-10-05 Thread Matthias Kohl
Introduction to Metabolomics and biomarker research. The course will take place in Innsbruck, 16th to 17th November 2009, and will be held in German. For more details see: http://www.gdch.de/vas/fortbildung/kurse/fortbildung2009.htm#1175 -- Dr. Matthias Kohl www.stamats.de

Re: [R] help with median for each row

2009-08-21 Thread Matthias Kohl
search on whether there's a way to computer the median for each row of a nxn matrix and return the medians for each row for further computation. And also if the number of columns in the matrix are even, how could I specify which median to use? Thank you very much! -- Dr. Matthias Kohl

Re: [R] how to change the quantile method in bwplot

2009-07-21 Thread Matthias Kohl
-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] trouble using optim for maximalisation of 2-parameter function

2009-07-19 Thread Matthias Kohl
commented, minimal, self-contained, reproducible code. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org 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] implementing Maximum Likelihood with distrMod when only the PDF is known

2009-06-24 Thread Matthias Kohl
? isn't it sufficient to give slot d, and then you have automatic methods implemented to get from d() to r() slots etc. is that right? Thanks a lot for your help and time ! Best, Guillaume Matthias Kohl a écrit : Dear Guillaume, thanks for your interest in the distrMod package. Regarding

Re: [R] implementing Maximum Likelihood with distrMod when only the PDF is known

2009-06-23 Thread Matthias Kohl
likelihood by hand with numerical convolutions and optim() etc., but I would like to know how to use distr, so if there is anyone who had the same problem and solved it, I would be very grateful for the hint ! All the best, Guillaume -- Dr. Matthias Kohl www.stamats.de

Re: [R] Drawing dendrogram

2009-06-19 Thread Matthias Kohl
-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

Re: [R] Heatmap: draw horizontal line

2009-05-06 Thread Matthias Kohl
://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. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org

Re: [R] any other fast method for median calculation

2009-04-14 Thread Matthias Kohl
}} __ R-help@r-project.org 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. -- Dr. Matthias Kohl www.stamats.de

Re: [R] Finding Lambda in Poisson distribution

2009-03-02 Thread Matthias Kohl
. __ R-help@r-project.org 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. -- Dr. Matthias Kohl www.stamats.de

Re: [R] How to normalize to a set of internal references

2009-03-01 Thread Matthias Kohl
in a regression model), and results in overstated confidence of the final estimates by not taking into account the imprecision in the normalizing factors. Frank -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list https

Re: [R] Does The Randvar package contain a virus(Malware) ?

2009-03-01 Thread Matthias Kohl
. http://www.nabble.com/file/p22281513/qq.gif -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org 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] heatmap.2 color issue

2009-01-21 Thread Matthias Kohl
]] __ R-help@r-project.org 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. -- Dr. Matthias Kohl

Re: [R] Drawing from an empirical distribution

2009-01-06 Thread Matthias Kohl
code. __ R-help@r-project.org 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. -- Dr. Matthias Kohl

Re: [R] registering a generic method for a class

2009-01-02 Thread Matthias Kohl
! __ R-help@r-project.org 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. -- Dr. Matthias Kohl www.stamats.de

Re: [R] Computational Probability

2008-12-26 Thread Matthias Kohl
-project.org 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. -- Dr. Matthias Kohl www.stamats.de __ R

Re: [R] Sweave/Rweave and results=verbatim

2008-12-14 Thread Matthias Kohl
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] check if a certain ... argument has been passed on to my user-defined function

2008-12-11 Thread Matthias Kohl
://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. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list

Re: [R] S4 slot containing either aov or NULL

2008-11-26 Thread Matthias Kohl
://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. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing

Re: [R] Mallows' distance or Earth Mover's distance in R?

2008-10-26 Thread Matthias Kohl
recommend an alternative? Thanks Rainer -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org 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] folded normal distribution in R

2008-10-20 Thread Matthias Kohl
-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] plot - central limit theorem

2008-10-15 Thread Matthias Kohl
commented, minimal, self-contained, reproducible code. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org 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] random normally distributed values within range

2008-10-06 Thread Matthias Kohl
/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. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list https

Re: [R] help on sampling from the truncated normal/gamma distribution on the far end (probability is very low)

2008-09-18 Thread Matthias Kohl
-project.org 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. -- Dr. Matthias Kohl www.stamats.de __ R

Re: [R] All possible pairs of two variables

2008-09-11 Thread Matthias Kohl
? -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org 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] fft: from characteristic funtion to density function

2008-09-11 Thread Matthias Kohl
. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org 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] Package for Tidying-up R-code

2008-09-05 Thread Matthias Kohl
__ R-help@r-project.org 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. -- Dr. Matthias Kohl www.stamats.de

Re: [R] Plotting horizontal dendrograms

2008-06-02 Thread Matthias Kohl
and provide commented, minimal, self-contained, reproducible code. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

Re: [R] Eliminating [...] from print

2008-06-01 Thread Matthias Kohl
-- __ R-help@r-project.org 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. -- Dr. Matthias

Re: [R] Heatmap.2 - eliminate cluster and dendrogram

2008-05-15 Thread Matthias Kohl
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] Function for subset of cases/lines

2008-05-15 Thread Matthias Kohl
code. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org 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] Heatmap.2 - eliminate cluster and dendrogram

2008-05-15 Thread Matthias Kohl
message: Error in image.default(1:nc, 1:nr, x, xlim = 0.5 + c(0, nc), ylim = 0.5 + : dimensions of z are not length(x)(+1) times length(y)(+1) -Peter At 10:18 AM +0200 5/15/08, Matthias Kohl wrote: Dear Peter, heatmap.2(z, dendrogram = none, Rowv = FALSE, Colv = FALSE) should do

Re: [R] dataframes to a list

2008-05-14 Thread Matthias Kohl
. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org 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] call function immediately before plot.new()

2008-04-28 Thread Matthias Kohl
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] Sum of random values

2008-04-27 Thread Matthias Kohl
. Matthias Kohl www.stamats.de __ R-help@r-project.org 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] inverse F distribution in R?

2008-04-24 Thread Matthias Kohl
. Matthias Kohl www.stamats.de __ R-help@r-project.org 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] mean for each row

2008-03-17 Thread Matthias Kohl
/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. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list https

Re: [R] multiple boxplots using boxplot

2008-03-01 Thread Matthias Kohl
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Dr. Matthias Kohl www.stamats.de __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] likelihood from test result

2008-01-10 Thread Matthias Kohl
Dear David, no, distrTEst won't help. It has a different intention. We are currently working on a new package distrMod (cf. https://r-forge.r-project.org/projects/distrmod/) which sometime might have such a functionality. Best, Matthias David Bickel wrote: Is there any automatic mechanism for

Re: [R] probability from different values

2007-12-27 Thread Matthias Kohl
one addition ... Hello Ricardo, another solution could be using package distr: library(distr) A - c(18,18,18,19,20,21,22,23,24,25,26,27,28) DA - DiscreteDistribution(A) # maybe # support(DA) # plot (DA) B - c(82,83,84,85,85,86,87,88,89,90,91,91,92) DB - DiscreteDistribution(B) #

Re: [R] probability from different values

2007-12-27 Thread Matthias Kohl
Hello Ricardo, another solution could be using package distr: library(distr) A - c(18,18,18,19,20,21,22,23,24,25,26,27,28) DA - DiscreteDistribution(A) # maybe # support(DA) # plot (DA) B - c(82,83,84,85,85,86,87,88,89,90,91,91,92) DB - DiscreteDistribution(B) # support(DB) # plot(DB) DC - DB

Re: [R] Simulate an AR(1) process via distributions? (without specifying a model specification)

2007-11-28 Thread Matthias Kohl
Dear Pedro, you might be interested in the demo StationaryRegressorDistr of package distr. library(distr) demo(StationaryRegressorDistr) hth, Matthias [EMAIL PROTECTED] wrote: Thanks Prof. Ripley. My apologies for not including the code. Below I illustrate my point using the GLD

Re: [R] skewness: generating distribution and estimating M3.

2007-11-20 Thread Matthias Kohl
Dear Milton, package distrEx has methods to compute skewness. library(distrEx) ?skewness To generate new distributions you could use package distr. hth, Matthias Milton Cezar Ribeiro wrote: Dear all, How can I generate values which distrituions have left or rigth skewness. After that,

Re: [R] analytical solution to Sum of binominal distributed random numbers?

2007-10-24 Thread Matthias Kohl
Hello Rainer, You could also get a very exact approximation using our package distr; e.g. library(distr) B1 - Binom(prob = 0.4, size = 20) B2 - Binom(prob = 0.2, size = 10) B3 - B1+B2 #convolution! plot(B3) hth, Matthias Rainer M. Krug schrieb: Frede Aakmann Tøgersen wrote: Perhaps