thank you for your reply,,
i tried your commands but its not working,,i have attached the RData
file,,which i want to convert into txt..
Ilyas
On Mon, Oct 5, 2009 at 9:27 PM, Henrique Dallazuanna www...@gmail.comwrote:
You can try something about like this:
lapply(ls(), function(obj)cat(\n,
On 10/6/09, Robert Wilkins iwriteco...@gmail.com wrote:
Will R have more glitches on one operating system as opposed to
another,
Probably not.
or is it pretty much the same?
Depending on the complexity of the code, it is pretty much the same. I
recently had a (relatively simple) group
David Winsemius wrote:
On Oct 5, 2009, at 5:38 AM, Martin Maechler wrote:
DW == David Winsemius dwinsem...@comcast.net
on Sat, 3 Oct 2009 12:56:51 -0400 writes:
DW On Oct 3, 2009, at 11:54 AM, Chen Gu wrote:
Hello,
I am doing a simple if else statement in R. But it always comes
Try also to look at lattice or ggplot2.
Regards
Petr
r-help-boun...@r-project.org napsal dne 05.10.2009 23:45:48:
See http://addictedtor.free.fr/graphiques/
for many examples with code.
Bert Gunter
Genentech Nonclinical Biostatistics
-Original Message-
From:
Thank you all who replied, I will try out these ideas later today.
David Esp
--
View this message in context:
http://www.nabble.com/Date-Time-Stamp-input-method-for-user-specific-formats-tp25757018p25763935.html
Sent from the R help mailing list archive at Nabble.com.
Hi All
I'm creating some 3-D plots using the function 'persp', and have a query
regarding the ability to make changes to the label of the z-axis.
There are two things I would like to do. First, the default setting places the
label a little close to the axis for my liking. Is there any way of
Dear R users,
I have a question concerning the nltm package. Before posting to the R list I
first contacted the author of the package twice but no succes. May be I've got
the wrong email! My question is about the object surv given in the package
nltm. As explained, the object surv represents
Dear R-community, dear Jari Oksanen!
I use metaMDS (package vegan) to calculate NMDS.
In a lot of papers I read that it is recommended to use previous best solutions
as a new starting configuration to get better results and to avoid local minima.
On the help page I found that a
Hi R community
I need to interpolate precipitation data for a natural park. I have
precipitation data from some climate stationts. (I know the table is not
complete but I only need to show you X,Y, Altitude and PrepJul)
X
Y
Altitude
PrepJan
PrepFeb
PrepMar
PrepAp
PrepMay
Hi all,
this one left me a bit puzzled, as I don't seem to find a function to
perform this easily. I must have overlooked the obvious, so sorry in
advance.
I have a list of dates in numerical format (i.e. 34576), defined as
the number of days that passed since january 1st 1900. So I apply the
r-help-boun...@r-project.org napsal dne 06.10.2009 11:39:51:
Hi all,
this one left me a bit puzzled, as I don't seem to find a function to
perform this easily. I must have overlooked the obvious, so sorry in
advance.
I have a list of dates in numerical format (i.e. 34576), defined as
Hi there,
I'm trying to do a regression experiment on a multidimensional
dataset where both x and y in the model are multidimensional
vectors.
I'm using R version 2.9.2, updated packages, on a Linux box.
I've tried gausspr(), ksvm() and rvm(), and the models are
computed fine, but I'm always
Part of my script reads:
speciesName - names(data)[i]
plot(year,depth, xlab=Year,
ylab=Depth(m),main=expression(italic(paste(speciesName))) )
Unfortunately, this just plots *speciesName *on my graph, not the name of
the species in italics. Any suggestions on how to resolve this?
Thank you
Jacob
Hi all,
I am trying to load the doBy package, and I am getting the following error:
library(doBy)
Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths())) :
there is no package called 'Hmisc'
Error: package/namespace load failed for 'doBy'
I tried updating R to the current version (2.9.2)
I had a large job time ago that ran fine under MacOS X.
I'd expect the same to be true under Linux. It would run
under Windows XP only if XP had been freshly rebooted.
John Maindonald email: john.maindon...@anu.edu.au
phone : +61 2 (6125)3473fax : +61 2(6125)5549
Centre for
Hi,
Try this,
x= my title
plot(1,1, main = bquote(italic(.(x
HTH,
baptiste
2009/10/6 Jacob Kasper jacobkas...@gmail.com:
Part of my script reads:
speciesName - names(data)[i]
plot(year,depth, xlab=Year,
ylab=Depth(m),main=expression(italic(paste(speciesName))) )
Unfortunately,
On 06/10/2009 6:36 AM, John Maindonald wrote:
I had a large job time ago that ran fine under MacOS X.
I'd expect the same to be true under Linux. It would run
under Windows XP only if XP had been freshly rebooted.
That sounds like you were running out of memory, or it was a bug. Did
you
Hello,
I have a matrix with the distances among sites. And I have another matrix
with the presence and absence of each species in each site. I would like to
test the spatial autocorrelation among sites.
I have tried to use the function gearymoran of the ade4 package, but error
messages keep
See ?weekdays, which says
Note:
Other components such as the day of the month or the year are very
easy to compute: just use 'as.POSIXlt' and extract the relevant
component.
so
as.POSIXlt(MyDate)$year+1900
[1] 1994
is how you are expected to do it.
On Tue, 6 Oct 2009, joris
Hi Lauren,
from the error message it looks like you have a problem with the
package Hmisc. doBy is dependent on that one. Can you check whether
Hmisc is installed in your R version? For me, doBy loads without
problems.
On Tue, Oct 6, 2009 at 12:18 PM, Lauren Szathmary lszathm...@gmail.com wrote:
See below.
On Mon, Oct 5, 2009 at 6:50 PM, Gabor Grothendieck
ggrothendi...@gmail.com wrote:
Try this. First we read a line at a time into L except for the
header. Then we use strapply to match on the given pattern. It
passes the backreferences (the portions within parentheses in the
I am looking for some advice on an appropriate statistical analysis in R
*Experimental question* : We are interested in how communities from
different streams may vary in their response to experimental
temperature. Specifically we are interested to test for differences in
the slope and
hello,
i try to use the multcomp letters, but i have problems with my results :
here is my pvalue matrix (from a pairwise.t.test) :
pair=pairwise.t.test(...)
pair$p.value
0 BBxS
B0.01727- -
BxS 0.000130.00226 -
S
Hi all,
I am trying to load the doBy package, and I am getting the following error:
library(doBy)
Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths())) :
there is no package called 'Hmisc'
Error: package/namespace load failed for 'doBy'
I tried updating R to the current version (2.9.2)
Dear R users,
Simple question. Can anyone help with the code that would allow me to view only
the variables who's correlation output is 0.8?
This is the code I'm using to date
cor(data, method=spearman)
Kind regards
Krys
Hi Paulo,
you may want to take a look at
http://cran.r-project.org/web/views/Spatial.html
there, you can find all spatial packages that
can be useful for your question.
There is also a a mailing list R-sig-geo that where
you can ask all those kind of question.
Hope that this helps.
Cheers
The file don't load in my computer, this give me a fatal error message.
On Tue, Oct 6, 2009 at 1:09 AM, Ilyas . mykh...@gmail.com wrote:
thank you for your reply,,
i tried your commands but its not working,,i have attached the RData
file,,which i want to convert into txt..
Ilyas
On Mon, Oct
Geoff,
One way (the only way without modifying source code?) to satisfy
your first wish is to insert a newline before your label as in
zlab = \nMy z-text.
I don't know of an answer for your second wish other than using
the single letter Z as your label :)
-Peter Ehlers
Geoffrey William
Hi,
I'm not sure I understand what you want. This would have been easier if
you had provided a reproducible example. See the following code:
bla = matrix(runif(1), 10, 10)
cor_bla = cor(bla, method = spearman)
Now what do you want to select. All the variables that have a
correlation
Hi R users,
I'm working on a autoreporting with the batch mode of R: I would like to
save the graphs produced in wmf or emf. the problem is, it's working well
with the R gui because we print on the screen the graph devices but not with
the batch. I have used the function dev.print after encounter
On Oct 6, 2009, at 4:46 AM, Geoffrey William Heard wrote:
Hi All
I'm creating some 3-D plots using the function 'persp', and have a
query regarding the ability to make changes to the label of the z-
axis.
There are two things I would like to do. First, the default setting
places the
On 10/6/2009 9:05 AM, guillaume Le Ray wrote:
Hi R users,
I'm working on a autoreporting with the batch mode of R: I would like to
save the graphs produced in wmf or emf. the problem is, it's working well
with the R gui because we print on the screen the graph devices but not with
the batch. I
Hi Krys,
Please also cc all you responses to the list, keeping the conversation
in the archives. The following code might be of help to you:
set.seed(1)
bla = matrix(runif(1), 10, 10)
colnames(bla) = LETTERS[1:ncol(bla)]
cor_bla = cor(bla, method = spearman)
# Assign NA to all values
Dear rh,
You may take a look at package dlm. A vignette is included in the
documentation.
Giovanni
Date: Mon, 05 Oct 2009 22:30:05 -0400
From: R_help Help rhelp...@gmail.com
Sender: r-help-boun...@r-project.org
Precedence: list
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
Hi Paulo,
if your data are distance matrices, you might consider doing a Mantel test,
look at the mantel() function in package vegan. While this is not
technically measuring spatial autocorrelation, it will test for correlation
between the attribute distances and the geographic distances. Also,
On 10/6/2009 9:45 AM, guillaume Le Ray wrote:
I have a window with unable to create metafile I think it is because I'm
using the function layout() in some of my graphs
I doubt if that's the cause. More likely it's a permissions problem, or
some other problem. For example, this works fine:
2009/10/6 Uwe Ligges lig...@statistik.tu-dortmund.de:
The first rule is easy: As long as you are using scalar valued (i.e. length
1 vectors in R) cond, you should prefer
if(cond) cons.expr else alt.expr
rather than
ifelse(cond, yes, no)
because the latter one evaluates both yes and no
On Oct 6, 2009, at 8:41 AM, goz wrote:
hello,
i try to use the multcomp letters, but i have problems with my
results :
here is my pvalue matrix (from a pairwise.t.test) :
pair=pairwise.t.test(...)
pair$p.value
0 BBxS
B0.01727- -
BxS
Hi All,
Days - matrix(c(Monday, Tuesday, Wed, Thu, Fri, Sat,
Sun),7,1)
Hum -matrix(c(56,57,60,75,62,67,70),
Temp-matrix(c(76,77,81,95,82,77,83),
Using the above information I want plot humidity and temperature on Y-axis
and days on X-axis
Any help is appreciated!
[[alternative
OK, so maybe last night was a little too much at one throw, so I have
reduced the data to two stations- one that has precipitation and one
that does not. This is going to be in the context of a larger data
set. I would like to be able to issue a ggplot command and have cum
sum just act on the
-- Forwarded message --
From: Antonio Paredes antonioparede...@gmail.com
Date: Tue, Oct 6, 2009 at 9:41 AM
Subject: Re: [R] Long for Loop- calling C from R - Parallel Computing
To: Karl Ove Hufthammer k...@huftis.org
Hello again,
I'm hoping to get a response from some of the R
Gabor Grothendieck wrote:
2009/10/6 Uwe Ligges lig...@statistik.tu-dortmund.de:
The first rule is easy: As long as you are using scalar valued (i.e. length
1 vectors in R) cond, you should prefer
if(cond) cons.expr else alt.expr
rather than
ifelse(cond, yes, no)
because the latter one
Did you try it? With, perhaps, plot() ? And lines() ?
You might do better with Days as a factor with the day names in order. (And
why are two full and five abbreviated?)
I don't understand why Hum and Temp are matrices rather than vectors,
and why then you didn't specify dimensions, and for that
Dear Stephen,
It is much easier to do you data preparation before plotting.
Cummul - ddply(subset(DF, precipitation!=NA), gauge_name,
function(x){
x$Cummul - cumsum(x$precipitation)
x
})
ggplot(Cummul, aes(x = date_time, y = Cummul)) + geom_line() +
facet_wrap(~gauge_name,
If I understand correctly, you can use which( ,arr.ind=TRUE):
Assuming that you start with a data frame,
dat - as.data.frame(matrix(runif(30), ncol=5))
nm - names(dat)
cormat - cor(dat)
cormat[lower.tri(cormat, diag=TRUE)] - NA
idx - which(cormat 0.4, arr.ind=TRUE)
idx
cbind(nm[idx[,
It is much easier to do you data preparation before plotting.
Cummul - ddply(subset(DF, precipitation!=NA), gauge_name,
function(x){
x$Cummul - cumsum(x$precipitation)
x
})
With a little less typing:
Cummul - ddply(subset(DF, precipitation!=NA), gauge_name, transform,
Robert Wilkins iwritecode2 at gmail.com writes:
Will R have more glitches on one operating system as opposed to
another, or is it pretty much the same?
robert
One important difference is that, if you are unsing large datasets and need
memory, then windows is by far the worst.
CRAN R
Please provide a reproducible example. I've had problems with
multcompLetters in the past, because I was giving it slightly
incorrect input.
Hadley
On Tue, Oct 6, 2009 at 7:41 AM, goz garbage.collec...@hotmail.fr wrote:
hello,
i try to use the multcomp letters, but i have problems with my
Thanks Sara,
Yes I did try. I could not get the Days on the X-axis
blow is theerror message
plot(Temp,Days)
Error in plot.window(...) : need finite 'ylim' values
In addition: Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion
2: In min(x) : no non-missing
Actually, it's a bit more complex than just plot(). First you have to
make Days an ordered factor, otherwise you get indeed that error.
days - c(Mon, Tue, Wed, Thu, Fri, Sat,Sun)
Days - factor(days,levels=days,ordered=T)
Then you want to make a plot with 2 axes, you should check :
Hi,
I want to look for some detailed explanation on the properties of Q-Q
plot and how the properties are derived.
In R, there is the following reference.
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S
Language. Wadsworth Brooks/Cole.
Somebody also mentioned the following
David Winsemius wrote:
On Oct 6, 2009, at 4:46 AM, Geoffrey William Heard wrote:
Hi All
I'm creating some 3-D plots using the function 'persp', and have a
query regarding the ability to make changes to the label of the z-axis.
There are two things I would like to do. First, the default
Hi Peng Yu,
Chapter 13 of the following book provides a good description of the
assumption done when using regression and other techniques. It also
discusses the QQplot.
@BOOK{Christensen1996,
title = {Plane Answers to Complex Questions: The Theory of Linear Models},
publisher = {Springer,
This may work for you.
Then you can custom your graphics with ?par.
Data-as.data.frame(matrix(c(Monday, Tuesday, Wed, Thu, Fri,
Sat,Sun,56,57,60,75,62,67,70,76,77,81,95,82,77,83),ncol=3,nrow=7,list(pa
ste('Row',1:7,sep=''),c('Days','Hum','Temp')),byrow=F))
plot(Data$Days,Data$Temp)
atorso wrote:
Hello,
I'm having an error when trying to fit the next GLM:
model-glm(response ~ CLONE_M + CLONE_F + HATCHING
+(CLONE_M*CLONE_F) + (CLONE_M*HATCHING) + (CLONE_F*HATCHING) +
(CLONE_M*CLONE_F*HATCHING), family=quasipoisson)
anova(model, test=Chi)
I guess that
Hi
beside other options if you do not want to learn how to order factor
levels
Days - c(Monday, Tuesday, Wed, Thu, Fri, Sat,Sun)
Hum -c(56,57,60,75,62,67,70)
Temp-c(76,77,81,95,82,77,83)
limits-range(c(Hum, Temp))
limits
[1] 56 95
plot(1:7, Hum, ylim=limits)
points(1:7, Temp, col=2)
R_help Help wrote:
Hi - I read through dse package manual a bit. I'm not quite certain
how I can use it to estimate a time varying coefficient regression
model? I might pick up an inappropriate package. Any suggestion would
be greatly appreciated. Thank you.
Just rewrite the linear
Ok, thanks for all your responses,
i was thinking, after reading the firsts messages that use only the $p.value
was good. By using a symetric matrix results are ok.
It's also good with a pvalue vector (just like exemples in the help ...).
many thanks for your help
--
View this message in
The date time stamp is not the same?
data.frame(as.chron(Cumul[,date_time]), DF[,date_time])
On Tue, Oct 6, 2009 at 9:31 AM, hadley wickham h.wick...@gmail.com wrote:
It is much easier to do you data preparation before plotting.
Cummul - ddply(subset(DF, precipitation!=NA), gauge_name,
Oh yeah, I forgot that, just correct this by:
Data-as.data.frame(matrix(c(Monday, Tuesday, Wed, Thu,
Fri,Sat,Sun,56,57,60,75,62,67,70,76,77,81,95,82,77,83),ncol=3,nrow=7,l
ist(paste('Row',1:7,sep=''),c('Days','Hum','Temp')),byrow=F))
Data$Hum-as.numeric(Data$Hum)
Data$Temp-as.numeric(Data$Temp)
Rnewb wrote:
I would like to perform a regression like the one below:
lm(x ~ 0 + a1 + a2 + a3 + b1 + b2 + b3 + c1 + c2 + c3, data=data)
However, the data has the property that a1+a2+a3 = A, b1+b2+b3 = B, and
c1+c2+c3 = C, where A, B,
Ravi Varadhan has an example how this could be
On 10/6/2009 10:34 AM, Jose Quesada wrote:
Robert Wilkins iwritecode2 at gmail.com writes:
Will R have more glitches on one operating system as opposed to
another, or is it pretty much the same?
robert
One important difference is that, if you are unsing large datasets and need
memory,
2009/10/6 Uwe Ligges lig...@statistik.tu-dortmund.de:
Gabor Grothendieck wrote:
2009/10/6 Uwe Ligges lig...@statistik.tu-dortmund.de:
The first rule is easy: As long as you are using scalar valued (i.e.
length
1 vectors in R) cond, you should prefer
if(cond) cons.expr else alt.expr
Daniel Perkins wrote:
Ideally we would do an ANCOVA to test for differences in slope or
intercepts for the different streams. However as there were repeated
measures and unequal n and unbalanced design, I have used a linear mixed
effect model (from nlme package in R) in the form:
I have a frame and I want to fix the progress bar onto it.I do not want
progress bar to display as another GUI.how do i embed progress bar onto a
frame ?
--
Dipti
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
Dear list,
is there an iterative re weighted least square based algorithm or any or other
iteratively re weighted optimisation algorithms for non linear (and possibly
non parametric) optimisation problems with constraints available in R?
Regards
--
Corrado
Hello Again... I¹m making a faceted plot of a response on two categorical
variables using ggplot2 and having troubles with the coloring. Here is a
sample that produces the desired plot:
compareCats - function(data, res, fac1, fac2, colors) {
require(ggplot2)
p - ggplot(data, aes(fac1,
On Oct 6, 2009, at 12:14 PM, Corrado wrote:
Dear list,
is there an iterative re weighted least square based algorithm or
any or other
iteratively re weighted optimisation algorithms for non linear (and
possibly
non parametric) optimisation problems with constraints available in R?
Have
esp wrote:
For the function as defined above using 'sapply'
spot[,1]
01/09/2009 01/09/2009 00:00:01 01/09/2009 00:00:02 01/09/2009
00:00:03
1251759600 1251759601 1251759602
1251759603
This was unexpected - it seems to have displayed the
Hi fellow R-users,
Are there any text editors that recognize sweave (.rnw) files? I am running
Windows Vista and in the past I used Tinn-R for R files but it (surprisingly)
doesn't recognize rnw files and does not do any syntax highlighting for them.
Thanks in advance,
Greg
Emacs with ESS would be one way to go. When editing a RNW file in ESS, you can
use a key combination to go from RNW directly to PS or PDF, which is nice.
Erik
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Gregory Gentlemen
vim/gvim does syntax highlighting of R, Sweave and latex.
On Tue, Oct 6, 2009 at 12:30 PM, Gregory Gentlemen
gregory_gentle...@yahoo.ca wrote:
Hi fellow R-users,
Are there any text editors that recognize sweave (.rnw) files? I am running
Windows Vista and in the past I used Tinn-R for R
Hi,
I may be missing an important design decision, but could you not have
only a single data.frame as an argument of your function? From your
example, it seems that the colour can be mapped to the fac1 variable
of data,
compareCats - function(data) {
require(ggplot2)
p - ggplot(data,
I believe I may be overlooking something simple in order address this, but I
have searched RSeek.org and using ?, but cannot seem to find anything
discussing this one.
I am using read.csv to read in a csv file. Evidently in places there is
nothing between the commas, so that when the data is
I am using mle as a wrapper from optim( ). How would I extract the
convergence code, to know that optim( ) converged properly?
Thanks,
Stephen Collins, MPP | Analyst
Global Strategy | Aon Benfield
[[alternative HTML version deleted]]
__
Another solution, as a fix to my original algorithm, was found by a colleague
(Matthew Roberts). While he claims not too much for its elegance, it does
seem to work. This fix is based on the use of the 'pmax' function. This
function is a variant of the 'max' (maximum) function to return a
On 10/6/09, Gregory Gentlemen gregory_gentle...@yahoo.ca wrote:
Are there any text editors that recognize sweave (.rnw) files? I am running
Windows Vista and in the past I used Tinn-R for R files but it (surprisingly)
doesn't recognize rnw files and does not do any syntax highlighting for
I would like to perform a regression like the one below:
lm(x ~ 0 + a1 + a2 + a3 + b1 + b2 + b3 + c1 + c2 + c3, data=data)
However, the data has the property that a1+a2+a3 = A, b1+b2+b3 = B, and
c1+c2+c3 = C, where A, B, and C are positive constants. So there are two
extra degrees of freedom,
Hello:
That's because the required input should be a symmetric matrix with all the
comparisons, e.g., it should have the self-comparisons diagonal. In an
hypotetical case with two treatments, the pairwise-comparison test output is
something like that:
A B
B 0.80-
but
I saved your data as test.csv, and
read.csv(~/test.csv, header = TRUE)
home sqr_footage cost
111500 15
222000 20
33 NA 30
443500 35
554000 45
I am using R 2.8.1, old I know... but maybe something else is going
It would help to understand the problem you are trying to solve and
the constraints that you have to live under. I routinely process
files with millions of rows of data, do a lot of processing and create
graphics/reports from them in what I think is reasonable time (a
couple of minutes at most
Hi,
On Oct 6, 2009, at 12:30 PM, Gregory Gentlemen wrote:
Hi fellow R-users,
Are there any text editors that recognize sweave (.rnw) files? I am
running Windows Vista and in the past I used Tinn-R for R files but
it (surprisingly) doesn't recognize rnw files and does not do any
syntax
Stephen Collins wrote:
I am using mle as a wrapper from optim( ). How would I extract the
convergence code, to know that optim( ) converged properly?
The return value from optim is contained in the details slot, so
f...@details$convergence
[1] 0
--
O__ Peter Dalgaard
Stephen Collins-6 wrote:
I am using mle as a wrapper from optim( ). How would I extract the
convergence code, to know that optim( ) converged properly?
library(stats4)
example(mle)
slotNames(fit1)
f...@details
f...@details$convergence
--
View this message in context:
Further to my previous reply, it occurred to me that ggplot2 would
only ever use data and colors in your calls to compareCats(): res =
res, fac1 = fac1, fac2 = fac2 have no effect whatsoever.
If you want the user to be able to specify the variables used in the
ggplot2 call, you probably want to
In addition to the taskview (below), you might consider using the sos
package, something like the following:
sa - ???'spatial autocorrelation' # 58 matches
sc - ???'spatial correlation' # 181 matches
s. - sa|sc # union of the to 'findFn' objects
summary(s.) # 224 links in 57 packages
Well, I guess I posted a poor example.
This example is a little closer:
home,sqr_footage,cost,color,exterior
1,1500,15,,Siding
2,2000,20,Red,Brick
3,,30,Grey,Brick
4,3500,35,Blue,
5,4000,45,Red,Brick
This one actually shows the presence of the null fields that are loaded.
On Tue, Oct 6, 2009 at 11:23 AM, Duncan Murdoch murd...@stats.uwo.ca wrote:
On 10/6/2009 10:34 AM, Jose Quesada wrote:
Robert Wilkins iwritecode2 at gmail.com writes:
Will R have more glitches on one operating system as opposed to
another, or is it pretty much the same?
robert
One
Hi Baptiste: Thanks for the suggestion. It will work perfectly.
I would have never considered assigning a color to a variable that contained
no colors at all! I guess this is part of the aesthetic concept, which I
haven't had time to reflect on much. Then later, specify a manual color
scale
Does this do what you want:
) x - read.csv(textConnection(home,sqr_footage,cost,color,exterior
+ 1,1500,15,,Siding
+ 2,2000,20,Red,Brick
+ 3,,30,Grey,Brick
+ 4,3500,35,Blue,
+ 5,4000,45,Red,Brick), na.strings='')
closeAllConnections()
x
home sqr_footage cost color
On 10/6/2009 1:17 PM, Kjetil Halvorsen wrote:
On Tue, Oct 6, 2009 at 11:23 AM, Duncan Murdoch murd...@stats.uwo.ca wrote:
On 10/6/2009 10:34 AM, Jose Quesada wrote:
Robert Wilkins iwritecode2 at gmail.com writes:
Will R have more glitches on one operating system as opposed to
another, or
On Tue, Oct 6, 2009 at 10:30 AM, Duncan Murdoch murd...@stats.uwo.ca wrote:
When running a 32 bit program, 64 bit Windows hides most of itself outside
the address space visible to the program, so almost all of the 4 Gb address
space is available to the user. But no more: no matter how much RAM
Hola! see below.
On Sat, Oct 3, 2009 at 2:45 PM, David Winsemius dwinsem...@comcast.net wrote:
Do you have a citation for that statement? I cannot convince myself that it
should be true.
OK. that took some time, since I have no nonparametrics book with me,
but it is a fairly
standard
Dear R users,
I am trying to have an xyplot of a data set which has the following
variables:
case (n=10,20,30)
parameter (parm=a,b)
group (grp=g1,g2)
y (y values)
x (x=2,4,8)
My plot should be parameter by case such that I have 2 rows (each row= each
parameter) and 3 columns (each column=each
Hi All,
I have a character vector of length=700. The vector contains names and I
want to extract the names that contain the number 101. The number 101 could
be anywhere within the name.
what is the best way to do this?
--
View this message in context:
See ?grep
On Tue, Oct 6, 2009 at 2:48 PM, kayj kjaj...@yahoo.com wrote:
Hi All,
I have a character vector of length=700. The vector contains names and I
want to extract the names that contain the number 101. The number 101 could
be anywhere within the name.
what is the best way to do
On Oct 6, 2009, at 1:51 PM, Kjetil Halvorsen wrote:
On Sat, Oct 3, 2009 at 2:45 PM, David Winsemius dwinsem...@comcast.net
wrote:
Do you have a citation for that statement? I cannot convince myself
that it
should be true.
OK. that took some time, since I have no nonparametrics book
On 10/6/2009 1:43 PM, David M Smith wrote:
On Tue, Oct 6, 2009 at 10:30 AM, Duncan Murdoch murd...@stats.uwo.ca wrote:
When running a 32 bit program, 64 bit Windows hides most of itself outside
the address space visible to the program, so almost all of the 4 Gb address
space is available to the
vec - 1:700
names(vec) - 700:1
names(vec)[grep(101, names(vec))]
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of kayj
Sent: Tuesday, October 06, 2009 12:49 PM
To: r-help@r-project.org
Subject: [R] How to extract names from a
I spotted quite nice blog post by learning r blog
http://learnr.wordpress.com/2009/10/06/export-data-frames-to-multi-worksheet-excel-file/
very good summary how to export data from R to multiple Excel sheets.
- Johannes
__
R-help@r-project.org
1 - 100 of 132 matches
Mail list logo