Displaying 20 results from an estimated 800 matches similar to: "analysis of correlation matrices"
2010 Jun 08
1
hypergeometric series in R
Hello.
Somebody knows how to compute generalized hypergeometric series in R?
(see
http://functions.wolfram.com/HypergeometricFunctions/HypergeometricPFQ/02/
to understand what I mean)
Thanks in advance,
Arnau.
2006 May 05
2
Including a single function from a package
Hello all.
I'm building a package where I want to include a function from two
different packages. In particular, I want to include mvrnorm and
hyperg_2F1 from MASS and gsl, respectively (but the specific functions
do not matter). With what I've tried after reading the "Specifying
imports and exports" section from the "Writing R Extensions" manual, I
get an error:
2006 Dec 12
1
Undefined symbol when trying to dyn.load a shared object
I hope that someone reading this list can offer some suggestions on how I can incorporate external C libraries in C functions that I want to call from R. I have gone through all of the documentation, help files and mailing list archives and have not been able to find a satisfactory solution.
I have constructed a simple example of the problem, since my "real" program is much more
2006 Dec 12
1
include libraries for C code called from R
I hope that someone on this list can help me with this issue. I have searched
through all of the documentation and mail archives for a solution, but have
been unable to find an answer that addresses my particular problem directly.
Suppose I am writing some C code that I want to access from R through the .C
function. As part of the C function, I want to include an external C library,
such as the
2005 Sep 19
3
Extended Hypergeometric Distribution
Dear R Users,
There exists a non-central hypergeometric distribution function in the (MCMCpack) package, and a hypergeometric distribution function in the (stats) package.
Is there a function for sampling from an extended hypergeometric distribution?
Thanks,
Narcyz
This message is intended for the addressee named and may con...{{dropped}}
2008 Dec 03
1
hypergeometric
Hi,
I hope somebody can help me on how to use the hypergeometric function.
I did read through the R documentation on hypergeometric but not really
sure what it means.
I would like to evaluate the hypergeometric function as follows:
F((2*alpha+1)/2, (2*alpha+2)/2 , alpha+1/2, betasq/etasq).
I'm not sure which function should be used- either phyper or qhyper or
dhyper
Where
2012 Mar 19
2
hypergeometric function in ‘ mvtnorm’
Is there any way to know how the "dmvt" function computes the hypergeometric
function needed in the calculation for the density of multivariate t
distribution?
--
View this message in context: http://r.789695.n4.nabble.com/hypergeometric-function-in-mvtnorm-tp4483730p4483730.html
Sent from the R help mailing list archive at Nabble.com.
2010 Mar 30
1
Multivariate hypergeometric distribution version of phyper()
Dear R Users,
I employed the phyper() function to estimate the likelihood that the
number of genes overlapping between 2 different lists of genes is due to
chance. This appears to work appropriately.
Now i want to try this with 3 lists of genes which phyper() does not
appear to support.
Some googling suggests i can utilize the Multivariate hypergeometric
distribution to achieve this. eg.:
2002 Aug 15
1
sorry!~I have a question
I have a question.
I can find a function about "Gaussian hypergeometric function" in sofeware Maple V.
I need this function to calculate.
Is there a similar function in R ?
Or I have to design such a function.
Thanks!
Jimmy Cheng
2004 Jul 29
1
Kudos to the R support team
Hi there,
I just wanted to take a quick second to thank everyone who maintains this
service- just in case you don't hear it enough, there are a plethora of people
who rely on this service (as evidenced by the help archives), and even if they
don't say it, are greatly thankful for what you do here. Not only are you
providing a service to people who are learning R, but indeed helping
2008 Jan 17
1
'simulate.p.value' for goodness of fit
R Help on 'chisq.test' states that
"if 'simulate.p.value' is 'TRUE', the p-value is computed by Monte
Carlo simulation with 'B' replicates.
In the contingency table case this is done by random sampling from
the set of all contingency tables with given marginals, and works
only if the marginals are positive...
In the
2003 Jun 30
3
if else statements in R
Hi, there
I am a grad student struggling to get my syntax right in a model I am
building in R.
I am trying to specify a variable,W, in a loop, such that on the first
iteration, it is equal to Wo, my starting value, which I have already
specified with
Wo<-9.2
On any other iteration other than the first, I want W to equal the
previous value of W in the iteration. plus an increment from
2003 Dec 26
2
OC curve in "Quality Control"
Dear all,
Can anyone please help me about any of the following questions:
--------------------------------------------
1. How can i find "factorial" of any number in R? I tried
> prod(170:1) # to find factorial of 170 or 170!
Is it the only procedure - or R has any better process / operational
character to calculate factorial? Also, is it possible to calculate
factorial of 500? Or
2004 Jul 27
3
ghyper package
Hello
I am searching ghyper package (generalized hypergeometric distributions).
Does anyone can send it to me?
Regards from Mexico
Lizbeth Román
[[alternative HTML version deleted]]
2008 Feb 07
1
Appell Hypergeometric function
Dear All,
I am looking for an implementation in R of the Appell Hypergeometric
function.
Any suggestions will be more than appreciated!
GP
--
dr. Giovanni Parrinello
External Lecturer
Medical Statistics Unit
Department of Biomedical Sciences
Viale Europa, 11 - 25123 Brescia Italy
Tel: +390303717528
Fax: +390303717488
email: parrinel at med.unibs.it
2007 Jan 23
1
How to evaluate an lm() object for generating warning statement in a function
Hi, there
I tried this post on R-help but did not generate any replies, so I thought
I might try the waters here since it's a more programming-based group.
I have written a function that will allow me to calculate the variance
components for a model II (random effects) single factor ANOVA (perhaps
this is
me re-inventing the wheel, but I handn't yet come across anything in R that
does
2007 Feb 12
1
Trying to replicate error message in subset()
Hi, there
I am trying to replicate an error message in subset() to see what it is
that I'm doing wrong with the datasets I am trying to work with.
Essentially, I am trying to pass a string vector to subset() in order to
select a specific collection of cases (i.e., I have data for these cases in
one table, and want to select data from another table that match up with
the cases in the
2005 Feb 18
1
extracting F, df and r squared using "sapply"?
Hi, All
How does one remove relevant information from a regression output besides
just the coefficients?
I've been able to modify the example given under "help(by)" to give me some
additional information, but not everything I need.
If you adjust the call statement from what is listed by adding the summary
statement like so:
tmp <- by(warpbreaks, tension, function(x)
2007 Jan 22
0
Advice on an appropriate condition for warning in a function
Hi, there
I have written a function that will allow me to calculate the variance
components for a model II (random effects) single factor ANOVA (perhaps this is
me re-inventing the wheel, but I handn't yet come across anything in R that
does this for me, but I'm sure people will let me know from this posting if
there are). The function takes as it's argument an object which holds
2003 Oct 01
1
hypergeometric & population estimates
"help"
We want to estimate the number of caribou in Jasper. We recently conducted
an aerial survey and saw 70 uncollared caribou and 8 of 11 collared
caribou. We want to estimate the number of caribou in this population with
95% confidence limits. Gary White uses the hypergeometric distribution and
determines the population estimates using maximum likelihood and 95%CL as