I think the problem is that tempdir() has been set somewhere invalid.
However, does help() work at all, since that uses the same mechanism?
Here are some diagnostic hints:
Start an R session, printout tempdir() and see if it looks right. Search
for the directory on your file system and see if
I have been using random forest on a data set with 226 sites and 36
explanatory variables (continuous and categorical). When I use
tune.randomforest to determine the best value to use in mtry there
is a fairly consistent and steady decrease in MSE, with the optimum of
mtry usually equal to 1.
At 22:48 12/10/07, you wrote:
Hello,
I would like to know if there is a clever way to avoid the problem
illustrated below within the xyplot function.
x - seq(1:10)
y - seq(1:10)
pr1 - xyplot(x ~ y)
u - seq(1:12)
v - seq(1:12)
pr2 - xyplot(u ~ v, col = red, more = FALSE)
prts - list(pr1, pr2)
have you tried the function image.plot in the package fields?
On Fri, 12 Oct 2007, zhijie zhang wrote:
Dear friends,
Anybody has ever met the problem to add a legend to a figure generated by
image()? I have three variables,x,y and z.
x and y are the coordinates, and z is the third values.
Here is one way. Not sure what you wanted done with some of the other
variables, so I just chose the first one; you could do max/min:
z - by(h, h$BROOD, function(x){
+ # take first value of elements you don't want to change
+ data.frame(BROOD=x$BROOD[1], TICKS.mean=mean(x$TICKS),
On 10/12/07, David Afshartous [EMAIL PROTECTED] wrote:
All,
Sorry for overly simplistic question, but I can't seem to remember how to
create the basic plot shown in Figure 1.1 of Pinheiro Bates (2004; p.4).
The y-axis delineates a factor (Rail) while the x-axis displays the
distribution of a
On Fri, 2007-10-12 at 11:16 -0600, D. R. Evans wrote:
The standard chisq.test() and fisher.test() functions, when applied to
two distributions (to determine whether the same underlying
distribution applies to both) requires one to pre-bin the
distributions.
Is there a library function
On 10/12/2007 1:16 PM, D. R. Evans wrote:
The standard chisq.test() and fisher.test() functions, when applied to
two distributions (to determine whether the same underlying
distribution applies to both) requires one to pre-bin the
distributions.
Is there a library function (either built-in
Trying to find a quick/slick/easily interpretable way to
collapse a data set.
Suppose I have a data set that looks like this:
h - structure(list(INDEX = structure(1:6, .Label = c(1, 2, 3,
4, 5, 6), class = factor), TICKS = c(0, 0, 0, 0, 0, 3
), BROOD = structure(c(1L, 1L, 2L, 3L, 3L, 3L),
Hi everyone,
anybodyâs got an idea why the following script doesnât produce
batch-histograms?
Iâm using Windows XP and R 2.5.1.
Hereâs the script:
matrix-read.csv(C:\\Stadtwerke_mit_Umlage.csv, header=TRUE,sep=;,dec=.)
Stadtwerke-colnames(matrix)
Bereich_blau-66.67
Perhaps the VAR and irf functions in the vars library will allow you to do
what you want.
good luck,
spencer
On 10/12/07, Martin Ivanov [EMAIL PROTECTED] wrote:
Dear R users,
I need perform structural analysis on a no intercept VAR model.
Unfortunately the functions irf.VAR and dfev
Hello!
I am trying to embed a plot of a curve(say x^2) on a matrix that
I am viewing using the image(matrix) command.
I was wondering if someone could give me some idea
of how to do this.
Thanks,
J.
[[alternative HTML version deleted]]
__
On Friday 12 October 2007 17:31:22 David Afshartous wrote:
DA All,
DA Sorry for overly simplistic question, but I can't seem to remember how
to
DA create the basic plot shown in Figure 1.1 of Pinheiro Bates (2004;
p.4).
DA The y-axis delineates a factor (Rail) while the x-axis displays
I did ?par and it looks switching to mfrow will fix my problem so
thanks but disregard my previous message and
I apologize for not checking ?par first. I never thought it would be
that simple.
This is not an offer (or solicitation of an
Hello all together,
I (R Beginner) think the answer for my question is easy but anyway I
have not found the solution.
I am using hist for a frequency histogramm. But the divisions of the
xaxis is to large
How can I change the division (I am not sure if this is the right
name for what I
Hi,
I'm running
sessionInfo()
R version 2.6.0 (2007-10-03)
i386-apple-darwin8.10.1
locale:
en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
I have two libraries:
(1)
On Fri, 2007-10-12 at 18:47 +0800, Samuel wrote:
Hi,
I'm quite fresh to R, and a layman of English as well. I hope I can make you
understood.
Now I have two vectors A and B. Is there any quick way to know whether B is
a subset of A? and If B is a subset of A, can I know easily which
Samuel wrote:
Hi,
I'm quite fresh to R, and a layman of English as well. I hope I can make you
understood.
Now I have two vectors A and B. Is there any quick way to know whether B is
a subset of A? and If B is a subset of A, can I know easily which elements
in A (the index of A) equals to
Dear friends,
Anybody has ever met the problem to add a legend to a figure generated by
image()? I have three variables,x,y and z.
x and y are the coordinates, and z is the third values. we can use image(x,
y, z,...) to generate a figure according to the z-values, but the problem is
the figure
Hallo!
Is there a package in R that does Q-type factor analysis?
I know how to do principal component analysis, but haven't found any
application of Q-type factor analysis.
Thx,
Julia
--
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen:
Dear R users,
I need perform structural analysis on a no intercept VAR model. Unfortunately
the functions irf.VAR and dfev that come with the MSBVAR package only work with
objects output by the reduced.form.var function, which seems to only evaluate
VAR models with intercept. Is there a way to
All,
Sorry for overly simplistic question, but I can't seem to remember how to
create the basic plot shown in Figure 1.1 of Pinheiro Bates (2004; p.4).
The y-axis delineates a factor (Rail) while the x-axis displays the
distribution of a continuous variable (time) according to each level of the
Hi,
I'm quite fresh to R, and a layman of English as well. I hope I can make you
understood.
Now I have two vectors A and B. Is there any quick way to know whether B is
a subset of A? and If B is a subset of A, can I know easily which elements
in A (the index of A) equals to B's elements
Dave,
I have been using random forest on a data set with 226 sites and 36
explanatory variables (continuous and categorical). When I use
tune.randomforest to determine the best value to use in mtry there
is a fairly consistent and steady decrease in MSE, with the optimum of
mtry usually
Colleagues,
I am analyzing data collected during oceanographic cruises. We have
conducted many cruises over the last decade. On each cruise we visit ~50
stations. At each station (termed EventNum)we lower an instrument that
measures depth, temperature, salinity and oxygen every few seconds as it
I am constructing plots ( regular not lattice ) and my initial command
is
par(mar=c(3,4,2,2), mfcol=c(5,2))
and then I create 10 plots on the page. It looks great but the plots on
the page go in the order
16
27
38
49
510
Where the numbers denote decile breakdowns.
Is there
Have you looked at layout() ?
Hadley
On 10/12/07, Leeds, Mark (IED) [EMAIL PROTECTED] wrote:
I am constructing plots ( regular not lattice ) and my initial command
is
par(mar=c(3,4,2,2), mfcol=c(5,2))
and then I create 10 plots on the page. It looks great but the plots on
the page go in
Dear Prof. Wood,
Just another quick question. I am doing model selection following Wood
and Augustin (2002). One of the criteria for retaining a term is to see
if removing it causes an increase in the GCV score. When doing this, do
I also need to fix the smooth parameters?
Thanks,
Julian
On 10/11/2007 6:32 PM, Deepayan Sarkar wrote:
On 10/11/07, Karim Rahim [EMAIL PROTECTED] wrote:
Thank you for your reply.
In this graphics context, I'm not sure what the incident or reflected
light rays are.
May I ask for an example of using a colour key with the volcano data
using the
On 10/12/07, Duncan Murdoch [EMAIL PROTECTED] wrote:
On 10/11/2007 6:32 PM, Deepayan Sarkar wrote:
On 10/11/07, Karim Rahim [EMAIL PROTECTED] wrote:
Thank you for your reply.
In this graphics context, I'm not sure what the incident or reflected
light rays are.
May I ask for an
On 10/12/07, Ben Bolker bolker at ufl.edu wrote:
Trying to find a quick/slick/easily interpretable way to
collapse a data set.
Another alternative for SQL fans is the sqldf package. I used the MySQL driver
here since SQLite does not support standard deviation.
sqldf(select BROOD,
On 10/12/07, Julia Kröpfl [EMAIL PROTECTED] wrote:
Is there a package in R that does Q-type factor analysis?
I know how to do principal component analysis, but haven't found any
application of Q-type factor analysis.
Q-mode factor analysis is not a separate type of factor analysis but (in
My guess is that there's an easier way but this gives what you want.
newY.df-aggregate(Y.df$Counts, list(Y.df[,1],Y.df[,2]), FUN=sum)
names(newY.df)-names(X.df)
temp.df-merge(newY.df, X.df,
by=intersect(names(X.df),names(newY.df)),all=TRUE)
almost.df-aggregate(temp.df$Counts,
runner said the following on 10/12/2007 4:46 PM:
There is a dataset 'm', which has 3 columns: 'index', 'old1' and 'old2';
I want to create 2 new columns: 'new1' and 'new2' on this condition:
if 'index'==i, then 'new1'='old1'+add[i].
'add' is a vector of numbers to be added to old columns,
What problem are you actually having with 'diff'? Now if you are using
'diff', you will get a vector that is shorter by one than the
original. Now do you want to do do something like:
Xbar = Sum{c(Depth[1], diff(Depth))*temp}/Sum(c(Depth[1], diff(Depth))
On 10/12/07, Thomas Miller [EMAIL
Due to an intermittent Broadband connection, I cannot check email as
often as I'd like. Please be assured that all your emails are being
received I will respond to those that require attention as my ISP
Connection allows. CIncinnati Bell cannot advise as to when this will
be fixed, so I ask that
On 10/12/07, Ben Bolker [EMAIL PROTECTED] wrote:
Trying to find a quick/slick/easily interpretable way to
collapse a data set.
Suppose I have a data set that looks like this:
h - structure(list(INDEX = structure(1:6, .Label = c(1, 2, 3,
4, 5, 6), class = factor), TICKS = c(0, 0, 0, 0,
Here's a solution that takes the first element of each factor
and the mean of each numeric variable. I can imagine there
are more general/flexible solutions. (One might want to
specify more than one summary function, or specify that
factors that vary within group should be dropped.)
See the EBImage package on Bioconductor.org. It builds on top of
ImageMagick. /Henrik
On 10/12/07, Bio7 [EMAIL PROTECTED] wrote:
Dear R users,
in my application i can transfer images to R with the help of Rserve. The
images come from
a java application. When i plot a greyscale image
39 matches
Mail list logo