Displaying 6 results from an estimated 6 matches for "chasalow".
2006 May 09
1
combn(n, k, ...) and all its re-inventions
...have been devised to generate the combinations
"one by one", and I think I remember there has been a
quiz/challenge about 20 years ago, at an S user's conference in
Australia(?), on this topic.
Anyway, AFAIK, the first nice and efficient function for this
has been provided by Scott Chasalow for S (not R) and he made
his S code available at the University of Wageningen as
"combinat" module. Later this became into an R package which is
now maintained by Vince Carey. The source of 'combinat' still
shows
# DATE WRITTEN: 14 April 1994 LAST REVISED: 10 Ju...
2005 Mar 18
0
2 possible bugs in function validObject (PR#7735)
Hi,
> R.version.string
[1] "R version 2.0.1, 2004-11-15"
I have found two possible bugs in function validObject. Details below.
Cheers,
Scott
==================================
Scott D. Chasalow
Principal Statistician
Statistical Genetics and Biomarkers
Bristol-Myers Squibb Company
Email: scott.chasalow <AT> bms.com
==================================
------ BEGIN R commands and output ------
setClass("track",
representation(x = "numeric", y = "numeric&...
2003 Jan 27
1
rmultinom() -- how \\ via own C code?
...r@stat.math.ethz.ch> http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum LEO C16 Leonhardstr. 27
ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND
phone: x-41-1-632-3408 fax: ...-1228 <><
## This is based on rmultz2() from S-news by Alan Zaslavsky & Scott Chasalow;
## in R available from library(combinat) -- but it has
## Arg.names like rbinom(); returns n x p matrix
rmultinom <- function(n, size, prob) {
K <- length(prob) # #{classes}
matrix(tabulate(sample(K, n * size, repl = TRUE, prob) + K * 0:(n - 1),
nbins = n * K)...
2002 Aug 05
0
Re: [S] Multinomial
...cob> How can I do this?
I've recently written the following {for the R package "normix"}.
The above is really a FAQ.
I think I'd propose to adopt this (or an improvement of it) both
for R and S-plus :
## This is based on rmultz2() from S-news by Alan Zaslavsky & Scott Chasalow
## {and adapted from the R package "combinat"}.
## Arg.names like rbinom(); returns n x p matrix
rmultinom <- function(n, size, prob) {
K <- length(prob) # #{classes}
matrix(tabulate(sample(K, n * size, repl = TRUE, prob) + K * 0:(n - 1),
nbins = n * K)...
2007 Feb 05
3
Confidence intervals of quantiles
Can anyone please tell me if there is a function to calculate confidence
intervals for the results of the quantile function.
Some of my data is normally distributed but some is also a squewed
distribution or a capped normal distribution. Some of the data sets contain
about 700 values whereas others are smaller with about 100-150 values, so I
would like to see how the confidence intervals change
2003 Jan 13
2
summarizing dataframe
Hi Listers,
Surely, I just have a mental block and there is a more elegant way of
creating a summary count (other than extracing it from ftable). I''d like to
create a new data.frame containing counts of spell by loc ie have three
columns showing spell,loc,count. Below the data.frame...
Any help appreciated
Thanks Herry
spell loc
101 Parts 1
102 Overall 2
105 Parts 1
106