Displaying 20 results from an estimated 6000 matches similar to: "Matrices given to pt? [was: [R] for loops and counters]"
1999 Oct 05
2
for loops and counters
I am trying to assign values to a vector (pvalue). Similar code works in C
but not in R. What am I doing wrong?
r <- pvalue <- 0
for(i in (1:(k-1))){
for(j in (i+1):k){
r <- r+1
tstat <- (means[i]-means[j])/rms
pvalue[r] <- 2*(1-pt(abs(tstat),df))
}
}
Thank you.
Peter B.
--
Peter B. Mandeville mandevip at deimos.tc.uaslp.mx
Jefe del
2005 Apr 05
2
Stats Question: Single data item versus Sample from Norma l Distribution
Here's one possibility, assuming muhat and sigmahat are estimtes of mu and
sigma from N iid draws of N(mu, sigma^2):
tStat <- abs(x - muhat) / sigmahat
pValue <- pt(tStat, df=N, lower=TRUE)
I'm not quite sure what df tStat should have (exercise for math stat), but
given fairly large N, that should make little difference.
Andy
> From: Ross Clement
>
> Hi. I have a
2017 Jan 12
3
rgl
----Original Message-----
From: Martyn Plummer [mailto:plummerm at iarc.fr]
Sent: Thursday, January 12, 2017 3:36 AM
To: Weiner, Michael <weinerm at ccf.org>; r-sig-fedora at r-project.org
Subject: Re: [R-sig-Fedora] rgl
>One possibility is that you have the 32-bit version of mesa-libGL-devel installed. This will provide the headers but not the 64-bit l>ibrary which is what you need
2017 Feb 07
2
答复: how can I know the version of my zlib checked by R
Dear Martyn,
Thank you so much for your suggestion. Can I install R by rpm WITHOUT Internet? This Linux server cannot connect to web.
Best Regards
Wei Ning
Ctrip, Shanghai
-----????-----
???: Martyn Plummer [mailto:plummerm at iarc.fr]
????: 2017?2?7? 17:17
???: r-sig-fedora at r-project.org; nw?? <wning at Ctrip.com>
??: Re: [R-sig-Fedora] how can I know the version of my zlib checked
2000 Jun 16
1
[PATCH] ./configure fails to recognize alphapca56 (PR#572)
I am filing this as a bug report so it doesn't get lost.
Martyn
-----FW: <XFMail.000616094624.plummer@iarc.fr>-----
Date: Fri, 16 Jun 2000 09:46:24 +0200 (CEST)
Sender: owner-r-devel@stat.math.ethz.ch
From: Martyn Plummer <plummer@iarc.fr>
To: Naoki Takebayashi <ntakebay@bio.indiana.edu>
Subject: RE: [Rd] [PATCH] ./configure fails to recognize alphapca56 (R-1.
Cc:
2016 Apr 21
1
Cannot Run On The Command Line
On Thu, 21 Apr 2016 08:23:32 +0000
Martyn Plummer <plummerm at iarc.fr> wrote:
> From: Martyn Plummer <plummerm at iarc.fr>
> To: "cireyapmin at gmail.com" <cireyapmin at gmail.com>,
> "r-sig-fedora at r-project.org" <r-sig-fedora at r-project.org> Subject:
> Re: [R-sig-Fedora] Cannot Run On The Command Line Date: Thu, 21 Apr
> 2016
2017 Jan 12
1
rgl
-----Original Message-----
From: Martyn Plummer [mailto:plummerm at iarc.fr]
Sent: Thursday, January 12, 2017 7:41 AM
To: Weiner, Michael <weinerm at ccf.org>; r-sig-fedora at r-project.org
Subject: Re: [R-sig-Fedora] rgl
>> configure:4429: checking for glEnd in -lGL
>> configure:4454: gcc -o conftest -g -O2??-DHAVE_PNG_H
>> -I/usr/include/libpng16??conftest.c
1997 Nov 28
3
R-alpha: Problems with dimnames and names
This message is in MIME format
--_=XFMail.1.1.p0.Linux:971128122615:3052=_
Content-Type: text/plain; charset=us-ascii
I have rounded up three buglets in R-0.50-a4. Two of them I can
fix and a patch is supplied below. I hope this is useful for the
current source (if these haven't been fixed already :)
1) cov
cov() fails when it's argument is a matrix with one column and with
column names
1999 Apr 07
2
Bug list summary (automatic post)
=================================================
This is an automated summary of the status of the R-bugs
repository.
Note that this may be neither complete nor perfectly
correct at any given instance: Not all bugs are reported,
and some reported bugs may have been fixed, but the
repository not yet updated.
Some bug fixes are difficult to verify because they pertain
to specific hardware or
1998 Mar 12
2
p./d./q./r: S compatibility and time-series software for R?
>>>>> "Martyn" == Martyn Plummer <plummer@iarc.fr> writes:
Martyn> I will do this if you haven't been overrun with volunteers
Martyn> already ;)
No, you are the first to answer.
Thank you very much in advance!
---------------------
Martyn> Some time ago you asked about a basic time series
Martyn> library for R. Did anything come
2000 Apr 17
3
Maths in R documentation (PR#523)
The document R-exts contains the following example of using
mathematics in R documentation.
\deqn{p(x) = {\lambda^x\ \frac{e^{-\lambda}}{x!}}
{p(x) = lambda^x exp(-lambda)/x!}
There is a syntax error in there, but that's not my point.
The problem is that using "R CMD Rd2dvi" I find that putting
the alternate forms of the equation on top of each other doesn't
work.
2000 Feb 08
1
printutils bug on Linux/Alpha (PR#422)
I am forwarding this bug report from Tim Powers at Red Hat.
He is building R 0.99.0 on what will be Red Hat Linux/Alpha 6.2.
Martyn
-----FW: <20000207172120.D3892@redhat.com>-----
Date: Mon, 7 Feb 2000 17:21:20 -0500
From: Tim Powers <timp@redhat.com>
To: Martyn Plummer <plummer@iarc.fr>
Subject: Re: RPMs for R and contributed packages
>
> I downloaded the source for
1999 Oct 06
1
uploaded hdf5 and R 0.65.1 RPMs
Dear everybody:
HDF5, a dataset formatting library, and R that is built with it, have
been uploaded to ftp://ftp-fis.iarc.fr/pub/incoming. The R RPM uses the
spec file created by Martyn Plummer as a starting point, and makes only
a few trivial changes.
-rw-rw-r-- 1 ftp 100 3416612 Oct 6 17:45
R-base-with-hdf5-0.65.1-1.i386.rpm
-rw-rw-r-- 1 ftp 100 2300453 Oct 6 17:48
2016 Jan 15
1
Multiple cores are used in simple for loop
Dear Martyn,
On Fr, Jan 15, 2016 at 4:01 , Martyn Plummer <plummerm at iarc.fr> wrote:
>
> Alternatively, you may be able to control the maximum number of
> threads
> by setting and exporting an appropriate environment variable depending
> on what backend you are using, e.g. OPENBLAS_NUM_THREADS or
> MKL_NUM_THREADS.
Thanks a lot. Running
export OPENBLAS_NUM_THREADS
1998 Jul 27
1
R-beta: R has underflows on sparc-redhat-linux
Hi --
I'm trying to package R for inclusion on some upcoming Red Hat
Powertools distribution. I have started with the 0.61 version
packaged by Martyn Plummer <plummer at iarc.fr> (Thanks Martyn!)
and have upgraded to 0.62-2. I have succeeded in running R demo's
on i386-redhat-linux-gnu, and now I am also trying to get the
alpha and sparc versions working.
On sparc-redhat-linux,
2016 Apr 21
3
Cannot Run On The Command Line
On Wed, 20 Apr 2016 20:50:57 +0000
"Ellen K" <keyes at pushyes.xyz> wrote:
> From: "Ellen K" <keyes at pushyes.xyz>
> To: cireyapmin at gmail.com
> Subject: RE: [R-sig-Fedora] Cannot Run On The Command Line
> Date: Wed, 20 Apr 2016 20:50:57 +0000
> X-Mailer: iPad Mail (12H143)
>
> Hi virgo,
>
> Thank you for your interest in the
2004 Sep 15
3
getting started on Bayesian analysis
I am an economist who decided it's high time that I learned some
Bayesian statistics. I am following An Introduction to Modern
Bayesian Econometrics by T. Lancaster.
The book recommends using BUGS, but I wonder if there are any
alternatives which are free software and fully integrated to R (which
I have been using for more than two years for numerical computations.)
I would like to learn
2017 Oct 21
1
Illegal Logical Values
> On Fri, 2017-10-20 at 14:01 +0000, brodie gaslam via R-devel wrote:
> > I'm thinking of this passage:
> >
> > > Logical values are sent as 0 (FALSE), 1 (TRUE) or INT_MIN =
> > > -2147483648 (NA, but only if NAOK is true), and the compiled code
> > > should return one of these three values. (Non-zero values other
> > > than INT_MIN are
2006 Feb 02
2
RHOME
R-help --
I built R-2.2.1 in my own directory on a sun (solaris). Now I would like
the sysadmin to move the contents to /usr/local/lib and place the binary
in /usr/local/bin. No problem. However, the RHOME variable defaults to
the directory from which R was built so it is not usable by anyone but me
or ROOT. I would like to avoid building this again if possible. Any ideas?
Thanks,
Dan
2015 Jan 16
1
Error installing 'rgdal' on Centos 7
Good morning Martyn.
Thank you for your email.
Some details for the problem.
This is the message of the console in R:
------------------
> install.packages("rgdal")
Installing package into
?/home/aliendist/R/x86_64-redhat-linux-gnu-library/3.1?
(as ?lib? is unspecified)
probando la URL 'http://cran.rstudio.com/src/contrib/rgdal_0.9-1.tar.gz'
Content type