Leeds, Mark (IED) [EMAIL PROTECTED] writes:
I am at a new job where my sys admin installed R in linux and it does
run when I log in as a user. I am on linux 2.1.2 but i'm not sure if
it''s redhat etc ( but i doubt this matters for my question ).
Well it does, since your sysadmin seems to
Hello!
Maybe this is a trivial question as I'm still a new baby in R but I wish
that u will help me.
I want to calculate the following
U= sum (t_j*v_j)
where t_j is a vector
and v_j is the matrix
Thanks
Dina
__
R-help@stat.math.ethz.ch mailing
Hi
Well, you did not specified what you have tried to do and how did you
fail but
On 2 Oct 2006 at 16:41, Christophe Nguyen wrote:
Date sent: Mon, 02 Oct 2006 16:41:29 +0200
From: Christophe Nguyen [EMAIL PROTECTED]
To:
Hi
you shall probably to be more specific
tj-rnorm(5)
vj-matrix(25,5,5)
sum(tj*vj)
[1] 149.2977
gives you an answer but maybe not the answer you want.
HTH
Petr
On 3 Oct 2006 at 8:58, Dina Said wrote:
Date sent: Tue, 03 Oct 2006 08:58:15 +0200
From: Dina Said
I've rolled up R-2.4.0.tar.gz a short while ago. This version contains
several changes and additions, mostly incremental, but some larger
changes to S4 methods have been added, as well as namespace sealing.
See the full list of changes below.
You can get it (in a short while) from
Hi,
I would like save a curve in a postscript file.
It when I use a common plot function (plot)
postscript(file=file.eps)
plot(x,y)
dev.off()
It's not working with the xyplot function (lattice package).
postscript(file=Z,height=8,width=8,horizontal=FALSE)
Hi all!
Is there a function that provides the VarCov matrix
for a nlme objects? How I can extract the matrix for a
nlme model fitted?
I would appreciate any guidance
Regards
Lic. Gabriela Escati Peñaloza
Biología y Manejo de Recursos Acuáticos
Centro Nacional Patagónico(CENPAT).
CONICET
Bvd.
This is FAQ 7.22. Lattice functions produce graphic objects, which are not
displayed by default. If you print your graph, you should be fine. Also,
take a look at the documentation for panel.xyplot. Using type = c(p, r)
should make things simpler.
Regards,
Matt Wiener
-Original
Dear all,
how can I reshape/cast the following matrix
00;01;10;11
John.Mike;123;313;12;31
John.Jim;54;57;39;36
John.Steve;135;47;47;74
Mike.Jim;63;37;27;16
Mike.Steve;15;15;5;61
Jim.Steve;6;10;34;35
into a set of stacked 2x2 contingency tables
0;1
John;123;12
Mike;313;31
John;54;39
Jim;57;36
I recommend you get a better editor, one that highlights mismatched
parentheses.
Your statement
xyplot(data[,3] ~ data[,2] | data[,1],
panel=function(x,y) {panel.xyplot(x,y)
was never completed, the close } is missing, hence it never executed.
Please use better spacing in your functions
Following the setup in Prof.Duncan Murdoch's page, I have successfully compiled
the DLL for one Fortran 95 program using Gfortran and got 300 times speed
boost. For the second set of fortran programs, However, I have this error
message
R CMD SHLIB -o jiangangkdtree2.f90 jian.f90
Robi Ragan wrote:
I am trying to compute the marginal effects from a logit.
dPr(y=1)/dx_k
and
delta Pr(y=1|xbar)/ delta x_k
I have searched the archives and seen the question asked, but never an
answer given. Is this possible in either lrm or glm?
Thanks,
Taking the derivative
Alberto Monteiro [EMAIL PROTECTED] writes:
Why is this an error?
mat - matrix(1:64, 8, 8)
x - y - 1:8
z - outer(x, y, function(x, y) mat[x,y])
when this is not an error:
mat - matrix(1:64, 8, 8)
x - y - 1:8
z - outer(x, y, function(x, y) paste(mat[, x, ,, y, ], sep=))
Hi, how do I list the contents of a .zip archive before creating a connection
with unz to a file in the archive? Anupam.
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
The model is http://www.geocities.com/ricardo_rios_sv/doc/model.pdf
but it is a neural networks , excuse me it is not statistical model,
however it is a nonparametric model, does somebody
know this model? I'm looking for information about this model
but I didn't found information about it model.
I just upgraded R to version 2.4.0 and now I can't install packages
RdbiPgSQL. I used the same procedure I did for previous versions of R !
Actually, last time I installed RdbiPgSQL day before upgrading
but now I got:
downloaded 27Kb
* Installing *source* package 'RdbiPgSQL' ...
creating cache
Versions 0.9975-1 of the Matrix and lme4 packages will soon be available on
CRAN for use with R version 2.4.0 or later.
Purpose of the packages:
The Matrix package provides S4 classes and methods for sparse
and dense matrices. The lme4 package provides functions for fitting
and assessing linear
On 10/3/2006 10:46 AM, Lorenzo Isella wrote:
Dear All,
I am trying to use the do.call command to avoid tedious loops in R
when I need to call repetitively a function.
That's probably not the best choice. You might want to think about
writing a wrapper for the function instead; you'll end up
Thanks to Peter Dalgaard , I have made some decent progress as far as
getting R to work in linux . I just want to set my environment variable
R_LIBS to /u/etlfs/dev/users/leedsmar/R/library ( in linux ) so that I
can install specific packages. Does anyone know the syntax and in which
file I set
You (can) set environment variables in
o .cshrc (if your shell is csh or tcsh)
Syntax:
setenv R_LIBS /u/etlfs/dev/users/leedsmar/R/library
o .bashrc (if your shell is bash)
Syntax:
thanks for the reply.
I wish I could create a self contained example of the problem, but I can't.
My task is displaying the surface generated from a simulation of Forward
prices for a selected trajectory. The x axis is time from 9/25/06 to
3/31/2007 or 133X1 vector of integers. The z axis is
On 3 October 2006 at 11:19, Leeds, Mark \(IED\) wrote:
| Thanks to Peter Dalgaard , I have made some decent progress as far as
| getting R to work in linux . I just want to set my environment variable
| R_LIBS to /u/etlfs/dev/users/leedsmar/R/library ( in linux ) so that I
| can install specific
Dear all,
Given the discussions and issues of d.f., p-values and mcmcsamp-CIs in
mixed models, I wonder if anyone could recommend one or two papers (or
other citable sources for that sake) that summarizes the arguments
for/against P-values/mcCIs.
I have followed the discussions on R-help and
This is a bug in Design which has already been reported to this list.
Please report bugs to the corresponding package maintainers directly.
Uwe Ligges
Tao Shi wrote:
Hi List,
I don't understand why 'lrm' doesn't recognize the '~.' formula. I'm pretty
sure it was working before. Please
Baoqiang Cao wrote:
Dear All,
I'm running the latest R on WinXP by using Rgui.exe
--max-mem-size=3Mb . After read in a huge data file to a data
^
This does not make sense. You cannot allocate 30Gb on a Windows 32 bit
system, or perhaps you managed to get R
On 10/3/2006 11:31 AM, Joe Byers wrote:
thanks for the reply.
I wish I could create a self contained example of the problem, but I can't.
My task is displaying the surface generated from a simulation of Forward
prices for a selected trajectory. The x axis is time from 9/25/06 to
Hello all,
I'm brand new to the use of R, and I'm trying to quickly learning the
rudiments for a couple of projects here at work. I'm working with the
lsa package and trying to generate various semantic spaces. I seem to do
well with small collections of clean text files, but now that I am
On 10/3/2006 1:32 PM, Wingfield, Jerad G. wrote:
Hello all,
I'm brand new to the use of R, and I'm trying to quickly learning the
rudiments for a couple of projects here at work. I'm working with the
lsa package and trying to generate various semantic spaces. I seem to do
well with
Oleg Bartunov wrote:
I just upgraded R to version 2.4.0 and now I can't install packages
RdbiPgSQL. I used the same procedure I did for previous versions of R !
Actually, last time I installed RdbiPgSQL day before upgrading
but now I got:
downloaded 27Kb
* Installing *source* package
Thanx for the help. Other comments are posted inline below.
Joe
Duncan Murdoch wrote:
On 10/3/2006 11:31 AM, Joe Byers wrote:
thanks for the reply.
I wish I could create a self contained example of the problem, but I
can't.
My task is displaying the surface generated from a simulation
On 10/3/2006 2:27 PM, Joe Byers wrote:
Thanx for the help. Other comments are posted inline below.
Joe
Duncan Murdoch wrote:
On 10/3/2006 11:31 AM, Joe Byers wrote:
thanks for the reply.
I wish I could create a self contained example of the problem, but I
can't.
My task is
Dear R-help,
I'm trying to build R-2.4.0 on our Opteron-based Scyld cluster. The system
has gcj (the GNU Java compiler, part of GCC) stuff in /usr/bin. When I
installed jdk 1.5.08, the install script placed it in /usr/java (I didn't
have a choice, as the script didn't offer that option). Now
I'm not familiar with gcj, but my initial reaction would be a ln -s for the
relevant compiler executable from /usr/java into /usr/bin.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Liaw, Andy
Sent: 03 October 2006 19:40
To: r-help
Subject: [R] how do I
On 3 October 2006 at 14:40, Liaw, Andy wrote:
| I'm trying to build R-2.4.0 on our Opteron-based Scyld cluster. The system
| has gcj (the GNU Java compiler, part of GCC) stuff in /usr/bin. When I
| installed jdk 1.5.08, the install script placed it in /usr/java (I didn't
| have a choice, as the
Before I do that, I would need to remove the gcj stuff that are in /usr/bin.
If I know how to remove gcj, I'd gladly do that. However, for the
particular version of the OS, the entire GCC seems to be bundled into one
rpm, and I could not remove just the gcj component. Neither do I wish to
mess
Background:
OS: Linux Ubuntu Dapper
R : Version 2.3.1 (2006-06-01)
Emacs 21.4.1
ESS
Colleagues
This is neither a bug report, nor a complaint, so I think this is the
appropriate list.
I am getting an odd font problem with a pdf generated using
pdf(file =
Dear All:
I try to use latex expression in legend, but I am not very clear on the
detail rules in R. I remeber there is a R help page list all rules and many
examples, but I forget what should I type (?xxx) to get this help page.
Could you please remind me which function should I type?
Liaw, Andy [EMAIL PROTECTED] writes:
Before I do that, I would need to remove the gcj stuff that are in /usr/bin.
If I know how to remove gcj, I'd gladly do that. However, for the
particular version of the OS, the entire GCC seems to be bundled into one
rpm, and I could not remove just the
Andy,
On Tuesday 03 October 2006 3:30 pm, Liaw, Andy wrote:
Before I do that, I would need to remove the gcj stuff that are in
/usr/bin. If I know how to remove gcj, I'd gladly do that. However, for
the particular version of the OS, the entire GCC seems to be bundled into
one rpm, and I
For a jre you could create a file called /etc/profile.d/java.sh containing
the following (JAVA_HOME path will need to point to the correct directory
for your particular Java version):
#!/bin/sh
JAVA_HOME=/usr/java/jre1.5.0_08
export JAVA_HOME
JAVA_BIN=$JAVA_HOME/bin
Dear useRs,
Trying to replace the diagonal of a matrix is not working for me. I
want a matrix with .6 on the diag and .4 elsewhere. The following
code looks like it should work--when I lookk at mps and idx they look
how I want them too--but it only replaces the first element, not each
element
On 10/3/2006 4:59 PM, roger bos wrote:
Dear useRs,
Trying to replace the diagonal of a matrix is not working for me. I
want a matrix with .6 on the diag and .4 elsewhere. The following
code looks like it should work--when I lookk at mps and idx they look
how I want them too--but it only
Jason Liao [EMAIL PROTECTED] wrote:
Following the setup in Prof.Duncan Murdoch's page, I have successfully
compiled the DLL for one Fortran 95 program using Gfortran and got 300 times
speed boost. For the second set of fortran programs, However, I have this
error message
R CMD SHLIB
You are indexing with numeric 0's and 1's, which will refer to only the
matrix element 1,1 (multiple times), cf:
matrix(1:9,3)[diag(3)]
[1] 1 1 1
Try one of these:
idx - diag(3) 0
idx - which(diag(3)0)
idx - cbind(seq(len=n), seq(len=n))
(For very large matrices, the third will be
try:
mps - matrix(rep(.4, 3*3), nrow=3, byrow=TRUE)
idx - diag(3)
mps
[,1] [,2] [,3]
[1,] 0.4 0.4 0.4
[2,] 0.4 0.4 0.4
[3,] 0.4 0.4 0.4
idx
[,1] [,2] [,3]
[1,]100
[2,]010
[3,]001
mps[idx == 1] - rep(.6,3)
mps
[,1] [,2] [,3]
[1,]
On Tue, 2006-10-03 at 17:03 -0400, Duncan Murdoch wrote:
On 10/3/2006 4:59 PM, roger bos wrote:
Dear useRs,
Trying to replace the diagonal of a matrix is not working for me. I
want a matrix with .6 on the diag and .4 elsewhere. The following
code looks like it should work--when I
On Tue, 3 Oct 2006, Joe Moore wrote:
Dear All:
I try to use latex expression in legend, but I am not very clear on the
detail rules in R. I remeber there is a R help page list all rules and many
examples, but I forget what should I type (?xxx) to get this help page. Could
you please
hi all members,
please, i need you help... now a i´m working with veronoi polygons in a
area with projections, but i need cut the polygons left. On other words, i
need cut the polygons in the worked area.
R help say that use the command voronoi.findrejectsites, but in this
command i need put the
On Tue, 3 Oct 2006, Duncan Murdoch wrote:
On 10/3/2006 4:59 PM, roger bos wrote:
Dear useRs,
Trying to replace the diagonal of a matrix is not working for me. I
want a matrix with .6 on the diag and .4 elsewhere. The following
code looks like it should work--when I lookk at mps and idx
I know this issue has been discussed already but my compiling of
rimage fails:
...
checking for stdint.h... yes
checking for unistd.h... yes
checking fftw.h usability... yes
checking fftw.h presence... yes
checking for fftw.h... yes
checking jpeglib.h usability... no
checking jpeglib.h
Mohsen,
I had not seen a reply to your follow up yet and I have been consumed in
meetings and on phone calls.
On your first question, add two additional lines of code:
BL - c(36.35, 36.91, 25.70, 34.38, 5.32)
LR - c(1.00, 4.00, 6.00, 3.00, 0.50)
Q - c(1.92, 0.00, 0.00, 1.92, 0.00)
# Get the
Logan Lewis [EMAIL PROTECTED] writes:
Andy,
On Tuesday 03 October 2006 3:30 pm, Liaw, Andy wrote:
Before I do that, I would need to remove the gcj stuff that are in
/usr/bin. If I know how to remove gcj, I'd gladly do that. However, for
the particular version of the OS, the entire GCC
Thanks, Douglas.
It works.
Only one gripe. Every time I want to
try a new version of your software, I have
to get, compile, patch the latest bleeding edge version of R
as well:
ERROR: This R is version 2.3.1
package 'Matrix' needs R = 2.4.0
Douglas Bates wrote:
Versions 0.9975-1 of
Hi list,
I'm a little confused about rollapply in zoo. There is written that
rollapply has replaced rapply in version 1.2-0 which is what i have. But
when I tried,
rollapply(1:100, 10, mean)
I got,
Error in rollapply(1:100, 10, mean) : no applicable method for
rollapply
So I went back to
Thanks to everyone who provided the info. I tried Martin Morgan's
suggestion (adding JAVA_HOME=/where/jdk/install/itself) to the
list of variables defined after `configure', and config.log shows
that the desired Java is found.
The Scyld system is based on RH, but I believe it lags far
behind
I actually see two violations of the compound symmetry
assumptions in the Oats example numbers you provide below. You
mentioned the fact that the 3 different numbers in
cor(random.effects(f4OatsB)) are all different, when compound symmetry
would require them to all be the same. In
As indicated in ?rollmean there are only ts and zoo methods
for rollapply. Try
rollapply(zoo(1:10), 3, mean)
Also note that as indicated in ?rollmean, rollmean does
have a default method:
rollmean(1:10, 3)
On 10/3/06, Horace Tso [EMAIL PROTECTED] wrote:
Hi list,
I'm a little confused
Hi
Lu, Jiang Jane wrote:
Dear r-help,
I am trying to plot several scatter plots with marginal histograms on
one page. Ideally, a page is equally divided into 4 figure regions.
Within each figure region, a scatter plot with marginal histograms will
be plotted.
I followed Dr. Paul
This morning I downloaded R-2.4.0 and install in under Windows. I customized
the installation and choose Message translations,but I could not launch
Rgui.exe successfully( Rterm.exe worked fine). If I did't choose Message
translations, Rgui.exe worked fine.
Message translations is Simplified
On 10/3/2006 9:00 PM, ronggui wrote:
This morning I downloaded R-2.4.0 and install in under Windows. I customized
the installation and choose Message translations,but I could not launch
Rgui.exe successfully( Rterm.exe worked fine). If I did't choose Message
translations, Rgui.exe worked fine.
On Wednesday 04 October 2006 14:17, Duncan Murdoch wrote:
On 10/3/2006 9:00 PM, ronggui wrote:
This morning I downloaded R-2.4.0 and install in under Windows. I
customized the installation and choose Message translations,but I could
not launch Rgui.exe successfully( Rterm.exe worked fine).
I have some data on a moving vehicle where, amongst other things,
it looks as though it would be informative to fit a model with the
following structure:
Z = B.Y + errorz
Y = C.X + errorz
The X variables are observed predictor variables;
6 of the variables look promising (on the basis
62 matches
Mail list logo