similar to: bug in functions of form "mcpar<-"

Displaying 20 results from an estimated 6000 matches similar to: "bug in functions of form "mcpar<-""

1998 Nov 18
4
more on "[<-"
"[<-" in R 0.63 does not appear to strip attributes, whereas Splus and previous versions of R did. Paul _____ R 0.63: > data <- matrix(rnorm(300),100,3) > attr(data, "tframe") <- c(1981.50, 2006.25 , 4.00) > attributes(data) $dim [1] 100 3 $tframe [1] 1981.50 2006.25 4.00 > z <- data[10:90,] > attributes(z) $dim [1] 81 3 $tframe [1]
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.
1997 Oct 23
0
R-beta: Still want restart() in R
People's valiant efforts to sort out CODA aside, the burning question remains: has anybody made any headway with restart()? or any other way (and there may well be better) of trapping `fatal' errors from calls within a function. Simon Fear =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= r-help mailing list -- Read
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
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
2006 Feb 10
1
mcmcsamp shortening variable names; how can i turn this feature off?
I have written a function called mcsamp() that is a wrapper that runs mcmcsamp() and automatically monitors convergence and structures the inferences into vectors and arrays as appropriate. But I have run into a very little problem, which is that mcmcsamp() shortens the variable names. For example: > set.seed (1) > group <- rep (1:5,10) > a <- rnorm (5,-3,3) > y <-
2006 Jan 28
1
yet another lmer question
I've been trying to keep track with lmer, and now I have a couple of questions with the latest version of Matrix (0.995-4). I fit 2 very similar models, and the results are severely rounded in one case and rounded not at all in the other. > y <- 1:10 > group <- rep (c(1,2), c(5,5)) > M1 <- lmer (y ~ 1 + (1 | group)) > coef(M1) $group (Intercept) 1 3.1 2
2004 Feb 12
1
How do you create a "MCMC" object?
I have been running a Gibbs Sampler to estimate levels of efficiency in the Louisiana Shrimp Industry. I created a matrix (samp) where I stored the results of each iteration for 86 variables. I run 10,000 iterations. So, the matrix samp is 10,000 x 86. I want to use the gelman-rubin test to check for convergence. To do that, I need at least two chains. If I run second chain with different starting
2006 Jul 16
2
Matrices given to pt? [was: [R] for loops and counters]
Hi, people. I was a bit intrigued by the message quoted below. Indeed, if pt() is given a matrix, it returns a matrix. Should this feature be documented? ?pt speaks about "a vector of quantiles", and says nothing about the type of what it returns. The same might presumably apply to other distribution-related functions. ----- Forwarded message from Martyn Plummer <plummer at
1999 Jul 15
3
tseries
Martyn Plummer wrote: > Dear Adrian, Hi Martin > > > Thank you for providing your time series library for R. I have been > working on a time series package myself, with help from Paul Gilbert. It > is called "bats" (doesn't stand for anything except possibly "basic time > series") and can be found in the devel directory on CRAN. > > The
2007 Aug 07
1
bayesm - question about 'rscaleUsage function'
Hi all, I have managed to get the r-scale usage algorithm to work, but I need to obtain the final results from this. As I understand it, this code is designed to generate a matrix after processing and store it somewhere????? Here is the code..... I get this part of the code, it all makes sense. ## if(nchar(Sys.getenv("LONG_TEST")) != 0) {R=1000} else {R=5} { data(customerSat)
2003 Mar 13
6
error installing R on linux 8.0
Hi there, When installing R on linux 8.0, I got the following error message: rpm -i /mnt/cdrom/linux/8.x/R-1.6.2-1.i386.rpm error: /mnt/cdrom/linux/8.x/R-1.6.2-1.i386.rpm: V3 DSA signature: BAD, key ID 97d3544e error: /mnt/cdrom/linux/8.x/R-1.6.2-1.i386.rpm cannot be installed Any suggestions as what I did wrong? Thanks in advance. Wenyan [[alternate HTML version deleted]]
2020 May 04
7
R package RPMs for Fedora
Hi all, Three months ago, I wrote to Martyn Plummer (to his Warwick email) and offered my help to maintain and modernize this [1] rather updated README, but received no response. Does anyone know how to reach him, or maybe I should contact CRAN directly? [1] https://cran.r-project.org/bin/linux/redhat/README Regards, -- I?aki ?car
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
2001 Nov 29
1
R CMD check
I have been checking my package coda with the current R-devel using "R CMD check". As usual, this has uncovered a large number of errors and inconsistencies in my documentation, for which I am very grateful. The only problem I have is with code/documentation mismatches when I have written a method for a generic function, e.g. * checking for code/documentation mismatches ... WARNING
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,
1999 Oct 07
1
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
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:
2005 Aug 19
2
Installing R in Fedora Core 4
R is included in Fedora Extras. You can skip downloading Extras and updating the packages on the CD by using: yum index | grep R and installing the half dozen or so individual packages that will be listed. The number of packages may be mildly annoying but if you install this way you will be notified of R updates along with all of your other security and application updates through the Red Hat
2009 Jun 15
2
Help with syntax error
Hi, I have written boxplot commands of this form before, but I don''t quite understand why the function call is reporting a syntax error in this instance. All parameters passed to the function are strings. Thanks in advance. Payam > simplevar <- function(wframe,column1,column2) { + tframe <- get(wframe) + x1 <- which(names(wframe)==column1) + x2 <-