Displaying 20 results from an estimated 2000 matches similar to: "does a factorial function exist"
1999 Jun 15
3
r help archives
Where are the archives of r-help kept, please?
Jonathan
--
Dr. Jonathan Myles e-mail:jonathan.myles at mrc-bsu.cam.ac.uk
MRC Biostatistics Unit Tel. 01223 330371
Institute of Public Health FAX 01223 330388
University Forvie Site
Robinson Way
CAMBRIDGE
CB2 2SR
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list --
1999 Jan 19
1
r-help[Q]: use of `expression' in annotation
Dear r-helpers,
I have some multiplot figures that I would like to annotate. To each plot
frame I would like to add the associated correlation coefficients. To do
so, I believe I need to understand the usage of `expression' better.
The following is a good start.
petstring <- expression(paste(r[rho*p],"=" ))
mtext(petstring, line=0.3, adj=0.1, cex=0.8)
My question is,
1999 Feb 18
1
[Q] use of expression() in plot() vs. hist()
In plot() I can get greek symbols into text items without trouble.
However, some of the same commands don't work as I would expect with
hist(). See the example below.
> plot(1:10, 2:11, xlab=expression(paste("scaled", rho)))
---- works as expected, ie. prints the greek rho
> hist(c(0,0,0,0,4,5,6,6,6,8), xlab=expression(paste("scaled", rho)))
Error: Object
1999 Jun 29
1
question regarding names() value assignment
I am having trouble assigning a name to single columns in a dataframe.
The following is an example using 0.64.1 and linux.
tmp is a dataframe.
> names(tmp)
[1] "some" "thing"
> names(tmp)<-c("else","again")
> names(tmp)
[1] "else" "again"
> names(tmp[2])
[1] "again"
>
2001 Jan 11
2
Bootstrapping
HI All,
I am trying to analyse the results of a heap of samples, to determine how
many samples are required to meet a defined confidence interval.
I checked out the R manual for bootstrapping and re-sampling methods, but
did not find anything. Are there any contributed procedures that deal with
this?
thanks,
Matt Redding
Soil Scientist
Intensive Livestock Environmental Management-Research
2000 Mar 18
1
abline(coef=c(1,1)) different behavoir to screen and postscript 1.00 under windows
hi listees-
Running windows 2000 and r 0.99 or 1.00; I get different lines on screen and print out:
> j<-read.table("jnk.rin",head=T,sep="\t")
> attach(j)
> #gives lines I want
> qqnorm(Dog,pch="o",main="Cumulative Frequency Log Dog Size",log="y",sub="Figure 2",x
=c(-3,3),ylim=c(2000,1000000))
>
1999 Apr 21
1
source("filename") vs. input from command-line
R-helpers,
When I source("tmp.r") a file from within R, the code executes without
error. When I launch with 'R --no-save --no-restore < tmp.r', the code
sometimes appears to cause some type of buffer overflow and nothing gets
executed.
tmp.r contains:
myData<-c(1,0, ... long vector of numbers) followed by a new
line character and then some code to operate on myData.
It
1998 Nov 20
4
R-0.63 for MsWindows
New files (at CRAN/binaries/ms-windows/win-32-devel ; available
at least at Vienna; in a couple of days on every mirrors)
- rw0630b.zip: binary distribution; it should run under Win3.1/Win32,
Win95, Win98 and WinNT;
- rw0630h.zip: `stardard help' files (the ones you see after
help(topic) or ?topic); it also includes
the help examples (the one needed by
1998 Nov 20
4
R-0.63 for MsWindows
New files (at CRAN/binaries/ms-windows/win-32-devel ; available
at least at Vienna; in a couple of days on every mirrors)
- rw0630b.zip: binary distribution; it should run under Win3.1/Win32,
Win95, Win98 and WinNT;
- rw0630h.zip: `stardard help' files (the ones you see after
help(topic) or ?topic); it also includes
the help examples (the one needed by
2008 Sep 28
5
birthday problem (factorial limit)
Hi,
I tried to calculate the formula for the birthday problem
(the probability that at least two people out of a group of n people
share the same birthday)
But the factorial-function allows me only to calculate factorials up
to 170.
So is there a way to push that limit?
to solve this formula:
(factorial(365) / factorial((365-23))) / (365^23)
(n=23)
2000 Apr 29
4
S-Plus 2000 <-> R 1.0.1
Good day:
Let's say that I have a data frame in S-Plus 2000 (Win98 version).
I want to use the same data frame with R on another computer.
Questions:
1) Can R read S-Plus data frames? Can S-Plus 2000 read R data
frames?
2) How can i move the data frame between the two systems? Do I
need to use dump()?
Thank you.
2008 Apr 28
5
Fractional Factorial Design
Hi all,
Does anybody know if it is possible to build a fractional factorial design
in R? That is, suppose that we want do design an experiment with 3 factors
with 2, 3 and 3 levels, respectivly. However we want to consider, let's say,
only 6 from all possible level combinations. Does R design such experiment?
Thanks in advance,
Caio
[[alternative HTML version deleted]]
1999 Sep 07
2
R-0.65.0 on mips-sgi-irix6.5: Error code 1 (bu21)
Dear all,
I want to install R-0.65.0 on mips-sgi-irix6.5 (SGI IRIX 6.5 IP32),
but it doesn't work !!!
I run the following configure call:
<146>: ./configure --prefix=/usr/people40c/kuonen/Software/bin
...
R is now configured for mips-sgi-irix6.5
Source directory: .
Installation directory: /usr/people40c/kuonen/Software/bin
C compiler: gcc -g -O2
2001 Feb 08
2
What is R?
Dear all
there's something. that puzzles me about what R is :-)
"R is available as Free Software under the terms of the Free
Software Foundation's GNU General Public License in source
code form."
(Source: http://www.r-project.org/about.html)
But, looking at the second paragraph of the same site, you
see this:
"... and R provides an Open Source route to
2001 Feb 08
2
What is R?
Dear all
there's something. that puzzles me about what R is :-)
"R is available as Free Software under the terms of the Free
Software Foundation's GNU General Public License in source
code form."
(Source: http://www.r-project.org/about.html)
But, looking at the second paragraph of the same site, you
see this:
"... and R provides an Open Source route to
2001 Feb 07
2
Literature needed
Howdy!
Could somebody point me to some good introductory readings about data
mining and descriptive data analysis? I'm a psychologist and a couple
of times I realized that some things just don't appear in
psychological literature, e.g. I've never seen a box plot anywhere in
psych journals so I'm not familiar with them. The R help function is
great when it comes to explaining
2004 Jul 06
1
R & DataMining
Dear R-user,
I wish to know if someone is using R as concern
Datamining or KDD (Knowledge Discovery in Database)
and if already exists a R package specialized in this
kind of analysis.
I found this contributes on the R web site:
[20] Diego Kuonen. Introduction au data mining avec R
: vers la reconqu??te du `knowledge discovery in
databases' par les statisticiens. Bulletin of the
Swiss
2009 Apr 22
5
large factorials
I am working on a project that requires me to do very large factorial
evaluations. On R the built in factorial function and the one I created
both are not able to do factorials over 170. The first gives an error and
mine return Inf.
Is there a way to have R do these larger calculations (the calculator in
accessories can do 10000 factorial and Maple can do even larger)
--
View this message in
2000 Jul 06
1
factorial(), modulus()
Dear R friends,
I was wondering if there were factorial and modulus functions out there
that I've somehow overlooked?
-P.
--
Peter L. Hurd, Ph.D.
phurd at uts.cc.utexas.edu
http://www.zo.utexas.edu/research/phurd fax 512.471-3878
Section of Integrative Biology, University of Texas, Austin TX 78712 USA
2002 Jan 16
1
factorials
I'm a total newbie at using R, and so there probably
is a better way to do this. However, I couldn't find
one, and so maybe this will help someone.
I was calculating log-likelihoods using a multinomial
model, and found that for large n, prod(n:1) wouldn't
work to calculate factorials (e.g., prod(200:1) =
Inf). The below function calculates the natural log
of a factorial (e.g.