My apologies for the late reply but I was out of town for a while. The
solution I wound up using is below. Sorry about the text if it didn't
wrap well. You should be able to pick out the code from the comments
though.
Thanks for all the help!
Cheers,
t.
## > Start hack
##
##
Hi Everyone:
I'm going a little nuts here and am hoping someone might have some
ideas to help out. Here is my problem:
I am using the calendarHeatMap function
(http://blog.revolutionanalytics.com/2009/11/charting-time-series-as-calendar-heat-maps-in-r.html)
to plot some values of percentages abov
> > file.exists("C:\\Users\\me\\Documents\\My
PhD\\Modelling\\R\\Scripts\\Functions\\functions 20jan10.r")
[1] TRUE
I suspect it something with windows user rights or file properties but
am not sure what to do.
Any help is appreciated.
Thanks in advance,
Daniel Hayes
_
anks you in advance for you help,
Daniel Hayes
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
Hi All,
I have a factor variable with 52 levels -with long, annoying names. I want to
keep only rows with some variables. I can do this using this code:
test1 <- subset(nih2009,ic_name %in% c('NATIONAL EYE INSTITUTE','Veterans
Affairs'))
dim(test1)
[1] 2396 38
But this doesn't work:
t1 <
Hi All,
I want to take a simple random sample from a large dataset, gly, but I'm
getting an error message. Any help?
dim(gly)
[1] 112371 37
> s1 <- sample(gly,100)
Error in `[.data.frame`(x, .Internal(sample(length(x), size, replace, :
cannot take a sample larger than the popul
No luck with:
(col.names = NA and row.names = TRUE
Will check the other responses and else try to install writeXLS
Thanks for the help.
Daniel
-Original Message-
From: Leandro Marino [mailto:lean...@cesgranrio.org.br]
Sent: 05 November 2009 15:52
To: Hayes, Daniel; 'r-h...@li
No luck with 'write.csv' either.
Thanks for helping though.
Cheers,
Daniel
-Original Message-
From: jim holtman [mailto:jholt...@gmail.com]
Sent: 05 November 2009 14:59
To: Hayes, Daniel
Cc: r-h...@lists.r-project.org
Subject: Re: [R] collumn error when exporting to Excel
emails our not recognized. Sorry for
the inconvenience and if there are any suggestions how to fix this that would
be great.
Cheers
-Original Message-
From: Robert Baer [mailto:rb...@atsu.edu]
Sent: 05 November 2009 15:58
To: Hayes, Daniel; 'r-h...@lists.r-project.org'
Subje
-
From: jim holtman [mailto:jholt...@gmail.com]
Sent: 04 November 2009 15:30
To: Hayes, Daniel
Cc: r-h...@lists.r-project.org
Subject: Re: [R] creating mulptiple new variables from one data.frame according
to columns and rows in that frame
My guess is that we are being affected by FAQ 7.31
Bolivia 10.48562 0.10653400
109 9. Bolivia 10.43279 0.10180158
133 11. Bolivia 10.33394 0.10160484
169 14. Bolivia 10.24878 0.09946659
193 16. Bolivia 10.20148 0.09694376
205 17. Bolivia 10.16589 0.09573946
$Brazil
age country mu sigma
602 0.
Dear R-helpers,
I have a data.frame (bcpe.lat.m) containing 13 countries, ages 0-50yrs per
month, and the corresponding mu&sigma (see below).
*I would like to limit the age range to include all 12 months for the
1st 5 years and only whole years for all ages thereafter for each of the
c
_prw,3). I'm
kind of new to using splines. Does the fact that observations are
clustered at the ends make the spline fit questionable?
Thanks,
Rachel Hayes
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing li
Hi All,
I'm trying to automate a data summary using summary or describe from the
HMisc package. I want to stratify my data set by patient_type. I was
hoping to do something like:
Describe(myDataFrame ~ patient_type)
I can create data subsets and run the describe function one at a time
or your help
Dr. Daniel Hayes
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commen
I want to give the "rho" value below to another variable.How ?
> Spearman's rank correlation rho
>
>
>
> data: a[, 3] and a[, 2]
>
> S = 22, p-value = 0.001174
>
> alternative hypothesis: true rho is not equal to 0
>
> sample estimates:
>
> rho
>
> 0.867
--
View this message in contex
16 matches
Mail list logo