Displaying 20 results from an estimated 1000 matches similar to: "variable value in mathplot"
2001 Feb 08
2
dnbinom(,size<1,)=0 (PR#842)
This came up on r-help but indicates a bug.
dnbinom(x,n,p) calls dbinom_raw(n-1,...)
which returns 0 for n<1.
-thomas
---------- Forwarded message ----------
Date: Thu, 08 Feb 2001 17:10:23 +0000
From: Yudi Pawitan <yudi@stat.ucc.ie>
To: Mark Myatt <mark@myatt.demon.co.uk>
Cc: R-Help <r-help@stat.math.ethz.ch>
Subject: Re: [R] Goodness of fit to Poisson / NegBinomial
2000 Apr 03
0
Building acepack for Rw1000 under Win98
(Sorry, I had the previous emails on a different machine.)
Thanks to Prof Ripley for diagnosing the problem with
inconsistent capitals under Win98. It's 'interesting':
* I had ...\acepack\Src\Ace.f Avas.f and Rlsmo.f (tar'ed in
a Unix machine and Ws_FTP'ed to the PC)
* when the directory name was changed to ...\acepack\src
it still didn't work
*
2000 Feb 10
0
Re: your mail about Memory on Windows95
>I use WinNT. You have to "launch" R from a DOS-shell window; you 1st
>change to the directory where you have RGui.exe, then type :
> Rgui --vsize 15M --nsize 1000k
>
>and R opens with increased memore size. It works here with my NT box, and
>will probably do with Win95 (though I think that the DOS-shells are not
>strictly similar in both OSs but this may not be a
2001 Feb 05
1
SVD of complex matrices
Is there a way to determine the SVD of a complex matrix using R?
(I'm using v1.0.1 and svd() won't do the trick).
I know LAPACK has a function to do this.
Thanks
--
Ben Stapley
Biomolecular Modelling Lab
Imperial Cancer Research
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2000 Dec 06
2
Expression in plot text
I'd like to put a degree symbol in the title of a plot. Something like:
plot(1,main=expression("Data at " * 45 * degree * " North"))
That works fine, but I like the 45 to be the value of a variable, instead of a
constant, an in:
lat <- 45
plot(1,main=expression("Data at " * lat * degree * " North"))
But this doesn't work of course, the graph
1999 Jan 21
2
scoping problem?
Dear R-helpers: (this is part of a bigger program)
the following fails as a function, but runs OK
if we comment out the fnfn_ function() line.
Any hint would be appreciated. -Yudi-
R : Copyright 1998, The R Development Core Team
Version 0.63.0 Beta (Nov 13, 1998) -- on WIndows3.11
fnfn _ function (m=10,n=10,spar=2)
{
fn _ function(u,v){
uc_ u-floor(m/2)-1
vc_ v-floor(n/2)-1
1999 Oct 18
1
reading binary file
Is there facility in R to read binary file? In Splus scan() has
'width=' argument and AsciiToInt() command to translate the
binary data. Is there something similar in R?
Thanks,
-Yudi-
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
2000 Aug 25
3
unexpected R crash - again
Sorry, but I lost this thread, so I sending this as a new message.
This is really a follow-up to a post from a couple days ago saying that
fisher.test from the ctest library crashed on the following data set:
> T
[,1] [,2]
[1,] 2 1
[2,] 2 1
[3,] 4 0
[4,] 8 0
[5,] 6 0
[6,] 0 0
[7,] 1 0
[8,] 1 1
[9,] 7 1
[10,] 8 2
[11,]
2002 Dec 15
3
maximum likelihood example?
I'm trying to get a grasp of maximum-likelihood estimation and would like to
find a package that performs mle (hopefully a simple example). It seems as
if there are plenty of packages that make use of different types of
likelihood estimators, but none are of a simple, "newbie" type. Does anyone
have a suggestion for which package would be the best for a mle example?
Thanks,
Jeff.
2001 Feb 07
3
Goodness of fit to Poisson / NegBinomial
All,
I have some data on parasites on apple leaves and want to do a
goodness of fit test to a Poisson distribution. This seems to
do it:
mites <- c(rep(0,70),
rep(1,38),
rep(2,17),
rep(3,10),
rep(4,9),
rep(5,3),
rep(6,2),
rep(7,1))
tab <- table(mites)
NSU <- length(mites)
N <-
2000 Mar 31
1
building a package
Dear R-helpers,
I'm learning how to compile R packages with fortran
routines and use the acepack source as an example.
After some hiccups (Guido told me about the
need to set make_mode=UNIX) I got to the following:
`make pkg-acepack' runs without error (see below),
but it does not
* compile any .f file in acepack/src
* (hence) try to create any dll file or libs
(I'm
2004 Jul 12
1
Nested source()s
I had an error message while running a macro from Yudi Pawitan's web site:
> source("ex2-13.r")
Error in parse(file, n, text, prompt) : syntax error on line 2
Inspecting ex2-13.r I found that the error was generated by another
source() command.
Clearly R does not like nested source()s, which is fair enough when you
think about it. Still it's something that you might want
1999 Apr 26
1
random sequence
Dear All,
How can I get the same stream of random numbers in R and S?
I know one of the generators in R is Super-Duper also used in S-plus,
but the .Random.seed's are set differently. I tried to re-exrpess
that in S-plus into two seeds according to the formula in VR,
but I can't get the same random stream in R.
Thanks,
------------------------------
Yudi Pawitan: yudi at ucd.ie
1999 Apr 26
1
random sequence
Dear All,
How can I get the same stream of random numbers in R and S?
I know one of the generators in R is Super-Duper also used in S-plus,
but the .Random.seed's are set differently. I tried to re-exrpess
that in S-plus into two seeds according to the formula in VR,
but I can't get the same random stream in R.
Thanks,
------------------------------
Yudi Pawitan: yudi at ucd.ie
2000 Aug 28
0
exact test for large tables. Was: unexpected R crash - again
At 13:51 26/08/00 +0100, Yudi Pawitan wrote:
>
>If you have an actual large table to analyse, rather
>than trying to solve the space problem, you may want
>to consider a MonteCarlo implementation
>of the exact test. Very easy to implement in R. See,
>for example, Lange's Numerical Analysis for Statisticians,
>Section 21.7.
>
>-Yudi-
Yes, but this does not seem
2000 Jan 07
1
hazard smoothing
Hello R-Help,
did somebody ever implement some hazard smoothing
routine in R (that allows, say, some group comparison
as for the Kaplan-Meier curves.) As far as I can tell it
is not in survival5 package.
Thanks,
-Yudi-
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
1999 Feb 12
1
Fisher's Exact Test
Appology in advance if this has been asked and answered. I am getting different
answers using Fisher's exact test in the package ctest. For example:
x_cbind(c(8, 22), c(31, 29))
fisher.test(x)
Fisher's Exact Test for Count Data
data: x
p-value = 0.04024
alternative hypothesis: two.sided
However, in SAS or other packages on the net the answer I get is p-value=
0.02664.
Is this
2004 Feb 15
5
Maximum likelihood estimation in R
Dear Sir,
I am a new user of R and I am doing a tast, which is: find the maximum
likelihood estimate of the parameter of Gaussian distribution for generated
100 numbers by using >x=rnorm(100, mean=3, sd=1).
I tried to use following Maximum Likelihood function
>fn<-function(x)
(-50*log((sd(x))^2))-50*log(sqrt(2*pi))-(1/2*((mean(x))^2))*(sum((x-(mean(x))^2)),
but it did not work.
I am
2009 Aug 18
2
Monitor-join not joining files in the queues.conf file
Hi everyone
Has anybody ever come across this, I want it to join automatically the
recording files for me but it creates the wav files as I expect but it
doesn't join them sadly, so eg:
ls
1250623104.10-in.wav 1250628672.23-in.wav 1250630411.30-in.wav
1250623104.10-out.wav 1250628672.23-out.wav 1250630411.30-out.wav
Here is my queues.conf snippet
[testQ]
2001 Feb 02
2
History
Hi,
I upgraded to version 1.2.1 and now the up/down arrows for recalling commands no
longer works. Is there a work around for this?
> version
_
platform sparc-sun-solaris2.7
arch sparc
os solaris2.7
system sparc, solaris2.7
status
major 1
minor 2.1
year