On Sunday 06 June 2004 22:11, Charles and Kimberly Maner wrote:
Hi. This did not work for me per my R output/session below:
library(lattice)
win.metafile()
trellis.par.set('background', list('white'))
This doesn't make sense; the components need to be named. Should be
On Sunday 06 June 2004 20:40, Spencer Graves wrote:
With image and contour, one can get both colors and lines
to enhance the image of a contour plot. What's the best way to do
this with Lattice graphics? The following is one ugly hack,
producing the desired result after much trial and
*
Rmetrics - new Built 190.10054
**Juni 7 , 2004
*The new built at www.rmetrics.org should now run out of the box under
Windows and Linux. In
addition new functionality has been added, and some fixes have been
done. Many new example
files have been added. Please inspect the CHANGES file. The
I'm not going to directly answer your question but it seems to me that
you want to fit a completely unconstrained Gaussian mixture model. This
may not be the best thing to do as without constraints on the Sigma_k
the model may have more parameters than it is reasonable to try to
estimate with
Dear R-mixed-effects-modelers,
I could not answer this questions with the book by Pinheiro Bates and did
not find anything appropriate in the archives, either ...
We are preparing a short lecture on degrees of freedom and would like to
show lme's as an example as we often need to work with
Dear Ken,
in principle you have all relevant informations already in your mail.
As far as I know, the parameterization of Fraley and Raftery is the most
intuitive one. I don't know for which kind of application you need
direct parameterization,
but in my experience the parameters volume, shape
Hi,
We got a question about interpretating R-suqared.
The actual outputs for a test dataset is X=(x1,x2,
..., xn).
model 1 predicted the outputs as Y1=(y11,y12,..., y1n)
model n predicted the outputs as Y2=(y21,y22,..., y2n)
...
model m predicted the outputs as Ym=(ym1,ym2,..., ymn)
Now we
Hi,
I have a set of data like the following:
[,1] [,2]
[1,] 102
[2,]70
[3,]10
[4,]10
[5,] 150
[6,] 174
[7,]40
[8,] 198
[9,] 102
[10,] 195
I'd like to aggregate it in order to obtain the frequency (the number of
occurences)
Hello,
I'd like to know if I can modify a constant value with a function.
Example :
a=4
f1-function()
{a=3}
Of course, after the function f1() is executed , the value of a is
always 4.
I'd like the value returned is 3, like it is possible in C by doing *a=3
Thank you
nicolas
Hallo
On 7 Jun 2004 at 12:18, Nicolas STRANSKY wrote:
Hi,
I have a set of data like the following:
[,1] [,2]
[1,] 102
[2,]70
[3,]10
[4,]10
[5,] 150
[6,] 174
[7,]40
[8,] 198
[9,] 102
[10,] 195
Maybe it can
Hi
On 7 Jun 2004 at 12:57, zze-PELAY Nicolas FTRD/DMR/BE
wrote:
Hello,
I'd like to know if I can modify a constant value with a function.
Example :
a=4
f1-function()
{a=3}
Simply use - in the function. But I am not sure if this is
recommendable way of items manipulating in R.
Oops, you wanted to count number of pairs, this modification
should work
int-interaction(tab[,1],tab[,2])
counts-table(int)
count.no-names(counts)
selection-match(int,count.no)
cbind(tab,no=as.numeric(counts[selection]))
Cheers
Petr
On 7 Jun 2004 at 13:05, Petr Pikal wrote:
Hallo
On 7
I am trying to create a topographic map of an island - the filled.contour
function works fine except i am experiencing difficulty trying to
represent the sea properly. Basically I want the default colour blue for
any instance where z=0, if I simply use the default topo.color I get
shades of blue
Cristina Silva wrote:
Dear all
I have tried to estimate the confidence intervals for predicted values of a
nonlinear model fitted with nls. The function predict gives the predicted
values and the lower and upper limits of the prediction, when the class of
the object is lm or glm. When the object
I have a set of data like the following:
[,1] [,2]
[1,] 102 ...
[10,] 195
I'd like to aggregate it in order to obtain the frequency (the number
of occurences) for each couple of values (e.g.: (10,2) appears twice,
(7,0) appears once). Something cool would be to have this value
Laura Quinn [EMAIL PROTECTED] writes:
I am trying to create a topographic map of an island - the filled.contour
function works fine except i am experiencing difficulty trying to
represent the sea properly. Basically I want the default colour blue for
any instance where z=0, if I simply use
Hello,
I'd like to know if I can modify a constant value with a function.
Example :
a=4
f1-function()
{a=3}
Of course, after the function f1() is executed , the value of
a is always 4. I'd like the value returned is 3, like it is
possible in C by doing *a=3
Use return:
f1 -
The Y1, Y2, etc. that Kan mentioned are predicted values of a test set data
from models that supposedly were fitted to the same (or similar) data. It's
hard for me to imagine the outcome would be as `severe' as Y1 = -Y2.
That said, I do not think that the R-squared (or q-squared as some call it)
Hello,
I've stumbled upon following problem, when trying to overload the methods
for group Math for an S4-class which contains functions as slots.
setClass(NumFunction, representation = list(fun = function))
NumFunction - function(f) new(NumFunction, fun = f)
square - function(x) x^2
Petr Pikal wrote:
Oops, you wanted to count number of pairs, this modification
should work
int-interaction(tab[,1],tab[,2])
counts-table(int)
count.no-names(counts)
selection-match(int,count.no)
cbind(tab,no=as.numeric(counts[selection]))
Yes, thank's for all your answers. This is a way to do
I'm using the current version of xtable for 1.9.0 and I have an
interesting error:
Error in match.names(clabs, names(xi)) : names don't match previous
names:
F value, Pr(F)
In addition: Warning message:
longer object length
is not a multiple of shorter object length in: clabs ==
Did you try dump.frames/debugger? Or even traceback()?
debugger()
Message: Error in match.names(clabs, names(xi)) : names don't match
previous names:
F value, Pr(F)
Available environments had calls:
1: xtable(fit.trans.aov)
2: xtable.aovlist(fit.trans.aov)
3:
Petr == Petr Pikal [EMAIL PROTECTED]
on Mon, 07 Jun 2004 13:12:07 +0200 writes:
Petr Hi On 7 Jun 2004 at 12:57, zze-PELAY Nicolas
Petr FTRD/DMR/BE wrote:
Hello,
I'd like to know if I can modify a constant value with a
function.
Example :
Hi Christian and thanks for your message.
From reading standard mixture model books, I don't recall any of them talking
directly about shape, orientation, and volume. So, in the finite mixture context I'm
not exactly sure what these terms even mean as they relate to the covariance matrix.
I got many answers to the question I asked below , and I thank you all.
Several of you told me to use - but told also that it is not a
recommendable way of items manipulating in R.
I don't really understand what it exactly means :
1) does it mean it's not a very good way of programming , a
Hi Ken,
it seems that you want equal covariance matrices, which means equal, but
free volume, orientation and shape. That's EEE, and it *is*
implemented.
I still do not really understand your translation problem. All
information is in the formula which appeared in your first posting:
Sigma_k =
Thanks very much. spencer graves
Deepayan Sarkar wrote:
On Sunday 06 June 2004 20:40, Spencer Graves wrote:
With image and contour, one can get both colors and lines
to enhance the image of a contour plot. What's the best way to do
this with Lattice graphics? The following is one ugly
The interface for dates in R is a little confusing to me.
I want to create a vector of Date objects from vectors of years, months, and
days.
One solution I found is:
years - c(1991, 1992)
months - c(1, 10)
days - c(1, 2)
dates - as.Date(ISOdate(years, months, days))
But, in this solution the
Hi,
is there any R software for model building with data of the compositional
data type:
The statistical analysis of compositional data by J. Aitchison.
thanks
***
Matthias Schmidt
Forstliche Versuchs- und Forschungsanstalt
On Mon, 7 Jun 2004, Shin, Daehyok wrote:
The interface for dates in R is a little confusing to me.
I want to create a vector of Date objects from vectors of years, months, and
days.
One solution I found is:
years - c(1991, 1992)
months - c(1, 10)
days - c(1, 2)
dates -
On Mon, 7 Jun 2004, Daehyok Shin wrote:
How can I create POSIXlt directly from the numbers?
I failed to find the solution from help documents.
?POSIXlt
?as.POSIXlt:
res - as.POSIXlt(paste(years, months, days, sep=-))
str(res)
`POSIXlt', format: chr [1:2] 1991-01-01 1992-10-02
res$year
On Mon, 7 Jun 2004 16:08:58 +0200, zze-PELAY Nicolas FTRD/DMR/BEL
[EMAIL PROTECTED] wrote :
I got many answers to the question I asked below , and I thank you all.
Several of you told me to use - but told also that it is not a
recommendable way of items manipulating in R.
I don't really
res - as.POSIXlt(paste(years, months, days, sep=-))
This command still convert numbers to a character vector, right?
Daehyok Shin (Peter)
Terrestrial Hydrological Ecosystem Modellers
Geography Department
University of North Carolina-Chapel Hill
[EMAIL PROTECTED]
We can do no great things,
Thanks, but, what I want is to convert three vectors of years, months, and
days directly into POSIXlt or Date objects
without creating character vectors.
Daehyok Shin (Peter)
Terrestrial Hydrological Ecosystem Modellers
Geography Department
University of North Carolina-Chapel Hill
[EMAIL
Prof Brian Ripley [EMAIL PROTECTED] writes:
On Mon, 7 Jun 2004, Shin, Daehyok wrote:
The interface for dates in R is a little confusing to me.
I want to create a vector of Date objects from vectors of years, months, and
days.
One solution I found is:
years - c(1991, 1992)
months
I received the below error using UNIX R. Could someone instruct me on
helpful batch options to avoid this please?
ERROR: cannot allocate vector of size 32kb
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
On Mon, 7 Jun 2004, Shin, Daehyok wrote:
res - as.POSIXlt(paste(years, months, days, sep=-))
This command still convert numbers to a character vector, right?
Yes, as Prof. Ripley said, the overhead of conversion to character and
using carefully crafted R functions is much less, for
Shin, Daehyok [EMAIL PROTECTED] writes:
Thanks, but, what I want is to convert three vectors of years, months, and
days directly into POSIXlt or Date objects
without creating character vectors.
Well, if you insist:
x - as.POSIXlt(structure(rep(0,2),class=POSIXct))
x$year - years-1900
Shin, Daehyok sdhyok at email.unc.edu writes:
Thanks, but, what I want is to convert three vectors of years, months, and
days directly into POSIXlt or Date objects
without creating character vectors.
I would probably just convert it to character using paste and from
that to Date as others
The message says at some point in the calculation, R tries to get about
312MB of memory and was not able to. Maybe try increasing the amount of
virtual (or physical) memory in your system?
Andy
From: Tim York
I received the below error using UNIX R. Could someone
instruct me on
helpful
Dear R-help,
Can some one tell me how to profile compiled code dynamically loaded into R?
Here's what I tried on our dual Opteron running SUSE Linux Enterprise Server
8 (GCC 3.3):
Start with R-patched dated 2004-06-07:
(I also had MAIN_CFLAGS=-pg in config.site.)
R is now configured for
You normally need to switch R profiling off, as that uses the same
interrupts as low-level profiling.
I would expect you to get gmon.out output from the the main R executable
on any run, so the first question must be `does your OS support -pg?'
I don't think dynamically loaded code is relevant
Hi Don!
Welcome new R user.
Just use one of the mailing list search interfaces which you can find browsing the
www.r-project.org page.
After you find the search interface just paste you error message in the search form.
I ensure you you will find the a lot of e-mails wich will help you to solve
The problem is probably a bug in your OS. You haven't even told us what
that is, but I bet you have Windows XP with critical update KB835732
installed. If so, see
http://www.murdoch-sutherland.com/HOMEPATH.html
and the archives of this list.
On Mon, 7 Jun 2004, don wrote:
I am a beginner of
Don Li wrote:
I am a beginner of using R. I am involved in some microarray data
analyses and found that R is the most common software in this area. I
tried to install the free software today. It seemed to be successful in
installing, but when I trigger the short-cut, I got a error massage
Is what I asked such an exceptional case?
A lot of data I am dealing with (usually hydrologic data) are recorded with
three columns of years, months, and days.
In my opinion, the direct conversion from numeric vectors of years, months
and days into some internal representation of date
is widely
Daehyok Shin (Peter) wrote:
Is what I asked such an exceptional case?
Apparently.
A lot of data I am dealing with (usually hydrologic data) are
recorded with three columns of years, months, and days. In my
opinion, the direct conversion from numeric vectors of years, months
and
Thanks, Andy, Doug, Deepayan. I now have lme4 0.6-1 2004/05/31
installed for R 1.9.1 alpha under Windows 2000. When I tried the
example below, GLMM ran, but the print method reported an error:
Generalized Linear Mixed Model
Fixed: immun ~ 1
Data: guImmun
log-likelihood: -1440.052
On Mon, 7 Jun 2004, Shin, Daehyok wrote:
Is what I asked such an exceptional case?
A lot of data I am dealing with (usually hydrologic data) are recorded with
three columns of years, months, and days.
In my opinion, the direct conversion from numeric vectors of years, months
and days into
Spencer Graves [EMAIL PROTECTED] writes:
Thanks, Andy, Doug, Deepayan. I now have lme4 0.6-1 2004/05/31
installed for R 1.9.1 alpha under Windows 2000. When I tried the
example below, GLMM ran, but the print method reported an error:
Generalized Linear Mixed Model
As I write this I
Hi, Doug:
Thanks. I ran 'tst - getMethod(show, summary.ssclme)', then
edited tst as you indicated and ran 'setMethod(show, summary.ssclme,
tst)', and it fixed the problem.
Best Wishes,
spencer graves
Douglas Bates wrote:
Spencer Graves [EMAIL PROTECTED] writes:
Dear list,
I've just upgraded to Fedora Core 2 and seeing as there wasn't an rpm
for this OS on CRAN yet I thought it was about time I had a go at
compiling R myself. Having run into the X11 problem I switched to trying
to install R-patched. I followed the instructions in the R Installation
This feels like:
After downloading the R sources you should also download the recommended
packages by entering the R source tree and running
tools/rsync-recommended
from a shell command line.
from the R Sources page on CRAN - could you try that (I guess rsync is
installed on most Linux
Is there a way to prevent latex.default() from starting LaTeX and JUST
create the file requested?
I generate a number of LaTeX tables for inclusion in a document running
R in batch, and I don't want a lot of calls to LaTeX.
I cannot find any arguments for that task in the documentation.
It seems
On Mon, 2004-06-07 at 15:08, Gavin Simpson wrote:
Dear list,
I've just upgraded to Fedora Core 2 and seeing as there wasn't an rpm
for this OS on CRAN yet I thought it was about time I had a go at
compiling R myself. Having run into the X11 problem I switched to trying
to install
Roger Bivand wrote:
This feels like:
After downloading the R sources you should also download the recommended
packages by entering the R source tree and running
tools/rsync-recommended
from a shell command line.
from the R Sources page on CRAN - could you try that (I guess rsync is
Gavin Simpson [EMAIL PROTECTED] writes:
Dear list,
I've just upgraded to Fedora Core 2 and seeing as there wasn't an rpm
for this OS on CRAN yet I thought it was about time I had a go at
compiling R myself. Having run into the X11 problem I switched to
trying to install R-patched. I
Hi folks,
I have a question about how to load a dll.
First, I use the command
dyn.load(lassofu.dll);
then, I got the message below
NULL
Warning message:
DLL attempted to change FPU control word from 9001f to 90003;
After I tried to use this dll in one of s functions, I got the message
On Mon, 2004-06-07 at 15:51, Gavin Simpson wrote:
snip
Thanks Roger and Marc, for suggesting I use ./tools/rsync-recommended
from within the R-patched directory.
This seems to have done the trick as make completed without errors this
time round. The Recommended directory also contained
Hello,
I'm wondering if anyone has used the msm package to compute the steady
state probabilities for a Markov model?
thanks,
Russell
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
Hi,
I try beta regression model using betareg. I have two questions:
(i) The example data pratergrouped is not exist.
pratergrouped
[1] V11 V1 V2 V3 V4 V5 V6 V7 V8 V9 V10
0 rows (or 0-length row.names)
(ii) In the description of betareg, it said variable, say y, is
restricted in
Another GLMM/glmm problem: I simulate rbinom(N, 100, pz), where
logit(pz) = rnorm(N). I'd like to estimate the mean and standard
deviation of logit(pz). I've tried GLMM{lme4}, glmmPQL{MASS}, and
glmm{Jim Lindsey's repeated}. In several replicates of this for N = 10,
100, 500, etc., my
Someone get out the whip...
Apologies for wasting everyone's time. I missed setting MAIN_LDFLAGS=-pg
in consig.site.
Best,
Andy
From: Prof Brian Ripley
You normally need to switch R profiling off, as that uses the same
interrupts as low-level profiling.
I would expect you to get
Dear R People:
Is it possible to fit an AR model such as:
y_t = fee_1 y_t-1 + fee_2 y_t-9 + a_t,
please?
I know that we can fit an AR(9) model, but I was wondering if we could do a
partial as described.
Thank you for your help.
Sincerely,
Laura Holt
mailto: [EMAIL PROTECTED]
Tamas Papp [EMAIL PROTECTED] wrote:
I would emphasize the following:
...
2. The programming language is really friendly and convenient to work
with. In finance, you often need to hack together special solutions
for problems that are not conventional
Hi.
Is it possible to make gpr from raw?
library(aroma)
#read gpr file
gpr - GenePixData$read(gpr123.gpr, path=aroma$dataPath)
# gpr - raw
raw - as.RawData(gpr)
# raw - ma
ma - getSignal(raw, bgSubtract=FALSE)
ma.norm - clone(ma)
#normalization
normalizeWithinSlide(ma.norm, s)
#ma - raw
raw2 -
Hello R folks.
1) The question that generated the data, which I call Qx:
Which of the following 5 items have you performed in the past month? (multipe
response)
2) How the data is coded in my current dataframe:
The first item that a person selected is coded under a field called Qxfirst; the
On 06/07/04 21:28, Greg Blevins wrote:
Hello R folks.
1) The question that generated the data, which I call Qx:
Which of the following 5 items have you performed in the past month? (multipe
response)
2) How the data is coded in my current dataframe:
The first item that a person selected is
On 06/07/04 22:45, Jonathan Baron should have written:
for (i in [whatever]) Y[i,][X[i,]] - 1
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
Rolf Turner [EMAIL PROTECTED] attacked:
Have you ***any*** evidence that R's procedure degrades
performance, under any circumstances? (Apparently not.) In
that case why are you going on and on about it?
I did the following:
Hi
Matthew Walker wrote:
Hi!
I would like to know, how do you plot more than one data series when
using coplot?
I think I know the answer if plot is being used:
x - 1:10
y - 1:10
y2 - 1:10* 1.1
plot ( y ~ x, type=n )
points( y ~ x, type = b, col = red ) # plot the points and lines
for the
Hello!
I would like to know if R can solve Differential Equations...
I don't think so because, in my point, I see R like a Statistical System, not a
Math System. Am I wrong?
Thank you very much.
Márcio de Medeiros Ribeiro
Graduando em Ciência da Computação
Departamento de Tecnologia da
Thanks, Richard.
This is what I was looking for.
As you said, the chron package seems so useful that I will use it a lot.
I don't think the performance gain (53:31) is not what we can neglect.
Still, I am wondering why this kind of intuitive interface is not supported
through the base package.
On Tue, 08-Jun-2004 at 02:57PM +1200, Richard A. O'Keefe wrote:
| Rolf Turner [EMAIL PROTECTED] attacked:
| Have you ***any*** evidence that R's procedure degrades
| performance, under any circumstances? (Apparently not.) In
| that case why are you going on
74 matches
Mail list logo