Displaying 20 results from an estimated 254 matches for "petrie".
Did you mean:
petre
2006 Jan 11
3
how to obtain "par(ask=TRUE)" with trellis-plots
Dear alltogether,
how can a delay like possible with par(ask=TRUE) be attained while using
trellis-plots within a loop or something like that?
the following draws each plot without waiting for a signal
(mouse-klick), so par() does not work for that:
library(nlme)
for(i in 1:3)
{
fitlme <- lme(Orthodont)
par(ask=TRUE) # does not work with trellis....
print(
2012 May 11
1
Strange "Error: subscript out of bounds"
Dear all,
I am trying to write a function for visualizing ordinal model results.
The function works fine with some values, but then I get "Error:
subscript out of bounds" even there the index should be pointing a legal
item. Code is below as well as the example of failure:
plotProb <- function(pre.mat, parts, split, titles, xlab="") {
par(mfrow = split)
n <- 1
2009 Sep 11
3
State Space models in R
Hello everybody,
I am writing a review paper about State Space models in R, and I would
like to cover as many packages as I reasonably can.
So far I am familiar with the following tools to deal with SS models:
* StructTS, Kalman* (in stats)
* packages dse[1-2]
* package sspir
* package dlm
I would like to have some input from users who work with SS models:
are there any other packages for SS
2007 Jun 05
0
Linux NIS/NFS/Samba server bound to Active Directory
Hello all!
We are currently testing the implementation of a multi-use
server at my work. I am working with a Windows 2003 RC2 domain controller,
and a CentOS 5 NIS/NFS/Samba server. I've followed various how-to's and
researched several errors during the past sixteen hours working on this but
all things I try seem to come back with empty results.
I
2019 Sep 10
2
Calling a LAPACK subroutine from R
Hello R-helpers!
I am trying to call a LAPACK subroutine directly from my R code using .Fortran(), but R cannot find the symbol name. How can I register/load the appropriate library?
> ### AR(1) Precision matrix
> n <- 4L
> phi <- 0.64
> AB <- matrix(0, 2, n)
> AB[1, ] <- c(1, rep(1 + phi^2, n-2), 1)
> AB[2, -n] <- -phi
> round(AB, 3)
[,1] [,2] [,3]
2019 Sep 10
2
Calling a LAPACK subroutine from R
Hello R-helpers!
I am trying to call a LAPACK subroutine directly from my R code using .Fortran(), but R cannot find the symbol name. How can I register/load the appropriate library?
> ### AR(1) Precision matrix
> n <- 4L
> phi <- 0.64
> AB <- matrix(0, 2, n)
> AB[1, ] <- c(1, rep(1 + phi^2, n-2), 1)
> AB[2, -n] <- -phi
> round(AB, 3)
[,1] [,2] [,3]
2013 Oct 26
3
lpxelinux.0 - 6.02 - failed to load ldlinux.c32
Hello Geert
Thanks for replying.. But i think i can?t use it, as i don?t reach the point where the debug module will be available.. it just pulls the lpxelinux.0 and tries to get the next download-- the ldlinux.c32 and it fails...and freezes.
And the next step would be other modules i think.. if i?m wrong.. excuse me 8-).. yesterday i managed to get ipxelinux working from ipxe.org.. so the nic
2012 May 09
1
Sweave, beamer and alert within code chunks
Hi all,
Using Beamer, in order to highlight a piece of R code I do something
like this - note the "\structure" and "\alert" commands:
\begin{semiverbatim}
> mleOut <- \structure{dlmMLE}(Nile,
+ parm = c(0.2, 120), # initial values for optimizer
+ lower = c(1e-7, 0)) \alert<2>{# V must be positive}
> mleOut$convergence
2010 Jan 21
2
What is the difference between S and R?
On Thu, Jan 21, 2010 at 9:07 AM, Giovanni Petris <GPetris at uark.edu> wrote:
>
> I have found a good refernce to be "S Programming" by Venables and
> Ripley.
I'll take a look at this book.
Since S and R are not completely the same, there are delicate
differences between S and R, which an S book may be confusing if I
want to learn R. One example is Statistical Models
2003 Oct 16
1
Improving efficiency in "outer"-like calculation
Hello,
I am doing mcmc=10000 simulations from a posterior distribution of the parameters
of a mixture of K=6 normal densities.
I have mcmc by K matrices simMeans, simVars and simWeights containing
the simulation output: one row for each simulation, one column for
each normal component of the mixture.
One thing I would like to do is a plot of the posterior predictive
density. In order to do that
2004 Jun 25
4
Installing on Windows packages build on Unix
Hello,
I wanted to share with a colleague a few R functions that I wrote. To
this purpose, I created a small package on my machine (Unix) and
emailed it to her. Now she is having troubles installing the package
on her Windows machine. It seems that on her side, install.packages
looks for a "zip" file - while I have created a "tar.gz" file. I tried
to build the package with the
2008 May 02
1
GLMM and data manipulation (2nd try)
Hello,
I posted a question yesterday but I got no replies, so I'll try to
reformulate it in a more concise way.
I have the following data, summarizing approval ratings on two
different surveys for a random sample of 1600 individuals:
> ## Example: Ratings of prime minister (Agresti, Table 12.1, p.494)
> rating <- matrix(c(794, 86, 150, 570), 2, 2)
> dimnames(rating) <-
2019 Sep 11
4
Fw: Calling a LAPACK subroutine from R
Sorry for cross-posting, but I realized my question might be more appropriate for r-devel...
Thank you,
Giovanni
________________________________________
From: R-help <r-help-bounces at r-project.org> on behalf of Giovanni Petris <gpetris at uark.edu>
Sent: Tuesday, September 10, 2019 16:44
To: r-help at r-project.org
Subject: [R] Calling a LAPACK subroutine from R
Hello R-helpers!
2002 May 14
2
tapply and empty subsets
I am using tapply to compute means by group, as in
> tapply(y, z, mean)
1 2 3
21.00757 20.50031 NA
where y is a vector and z a factor with levels 1:3.
I would like to get a zero instead of the NA I get when a subset is
empty. The problem is that FUN is not applied to empty cells of the
ragged array. (Of course I am willing to define a function my.mean
that returns
2010 Aug 18
3
libreadline problem
Hello,
Recently updated Ubuntu to 10.04, I have installed the r-base and
r-base-dev packages from CRAN with
sudo apt-get install r-base
But now when I want to start R I get the following error:
gpetris at definetti:~$ R
/usr/lib/R/bin/exec/R: symbol lookup
error: /usr/local/lib/libreadline.so.6: undefined symbol: PC
Any clue??? Has anybody seen that before? I have tried to reinstall the
2007 Jan 18
4
Reading contingency tables
I am trying to read an ftable using read.ftable, but I get the
following error message:
> jobSatTable <- read.ftable("http://definetti.uark.edu/~gpetris/stat5333/jobSatisfaction.dat",skip=2)
Error in seek(file, where = 0) : no applicable method for "seek"
In addition: Warning messages:
1: no non-missing arguments to max; returning -Inf
2: no non-missing arguments to
2019 Sep 11
4
Fw: Calling a LAPACK subroutine from R
Berend,
I do not think this works with gfortran 7+. I am calling the BLAS
subroutine dgemv from Fortran code in my package eha, and the check
(with R-devel) gives:
gmlfun.f:223:1: warning: type of ?dgemv? does not match original
declaration [-Wlto-type-mismatch]
& score, ione)
^
/home/gobr0002/R/src/R-devel/include/R_ext/BLAS.h:107:1: note: type
mismatch in parameter 12
2012 Jan 11
3
Hellp !!!
197]: superpolka.com.ua (superpolka.com.ua[::ffff:77.87.154.174]) - error:
FreeBSD with vulnerable chroot (FreeBSD-SA-11:07.chroot).
197]: superpolka.com.ua (superpolka.com.ua[::ffff:77.87.154.174]) - chroot
to '/home/ftp' failed for user 'ftp001': Operation not permitted.
197]: superpolka.com.ua (superpolka.com.ua[::ffff:77.87.154.174]) - error:
unable to set default root
2011 Mar 09
4
Help with read.csv
Hello,
I have a file that looks like this:
Date,Hour,DA_DMD,DMD,DA_RTP,RTP,,
1/1/2006,1,3393.9,3412,76.65,105.04,,
1/1/2006,2,3173.3,3202,69.20,67.67,,
1/1/2006,3,3040.0,3051,69.20,77.67,,
1/1/2006,4,2998.2,2979,67.32,69.10,,
1/1/2006,5,3005.8,2958,65.20,68.34,,
where the ',' is the separator and I tried to read it into R, but...
> y <- read.csv("Data/Data_tmp.csv",
2003 Oct 29
1
restarting split.screen
Is there a way of `restarting' split.screen?
This is what I am getting:
> close.screen()
[1] 10 11 12 13
> close.screen(all=TRUE)
Error in par(args) : parameter "i" in "mfg" is out of range
> graphics.off()
> x11()
> close.screen()
[1] 10 11 12 13
> close.screen(all=TRUE)
Error in par(args) : parameter "i" in "mfg" is out of range
As