Re: [R] Cannot create a visible Choropleth Legend - GISTools

2017-03-07 Thread Henry Cann
nd sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > > On Mon, Mar 6, 2017 at 11:54 AM, Henry Cann wrote: > > I have combined two layers to create a shapefile which I am colouring > using > > the Choropleth f

[R] Cannot create a visible Choropleth Legend - GISTools

2017-03-06 Thread Henry Cann
appears. I have checked I am plotting in the right pace using locator(). My code is below. I have also attached my data and link to shapefile and attached my data. Many thanks in advance. Henry https://borders.ukdataservice.ac.uk/ukborders/easy_download/prebuilt/shape/infuse_dist_lyr_2011.zip

Re: [R] Spatial & Temporal Analysis of Daily Rainfall, Temperature Data

2016-11-08 Thread Henry Utila
s problem, please. Looking forward to your support as R experts. Thanks. Henry Utila MALAWI -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Spencer Graves Sent: Tuesday, 8 November, 2016 2:24 PM To: r-help@r-project.org Subject: Re: [R] a book recommendation,

Re: [R] lineplot.CI xaxis scale change in sciplot?

2016-07-04 Thread Clemence Henry
uot;, side = 3, line= -1, adj=0, at=1, cex=0.6) #subtitle axis(1, at=c(0,25,50,100,150,200,300,400,500,600,700,800,900,1000,1100), labels=NULL) #replace xaxes with desired values Thanks everyone, Clem -Original Message- From: Jim Lemon [mailto:drjimle...@gmail.com] Sent: Sunday, 3 July 2016 7:04 PM To: Clemence H

[R] lineplot.CI xaxis scale change in sciplot?

2016-06-30 Thread Clemence Henry
Hi, I am trying to change the values of the tick marks on the xaxis of the following multipanel plot (see relevant bits of script below) to increments of 50 or to a custom scale (ie. 50, 100, 150, 200, 300...). So far I tried using xaxp or xlim both in par() or lineplot.CI(), as well as axTicks

[R] Could you remove me from the mailing list please?

2014-11-15 Thread Henry Chen
I do not have my login information anymore but I do not want to receive any R help emails again. Thank you. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read th

[R] reading time series csv file with read.zoo issues, then align time stamps

2014-06-15 Thread Henry
Goal: get time series data interpolated on to desired time stamps. I have two or more data sets that have time stamps that vary from 5 mins to 3-5 hours. I want to get all the data put on common time stamps e.g. "00:05:00" intervals. I asked Gabor and got some very good code ( zoo aggregate, na.sp

[R] How do I parse text?

2013-09-06 Thread Robertson, Henry T.
I have a data frame with a character field of the form "ACUTE URI NOS", "OPEN WOUND OF FOREHEAD", "CROUP", "STREP SORE THROAT", How can I get counts of all the words and their co-occurences? I've spent a long time searching on google, but it just takes me on a wild goose chase of dozens o

[R] How do I parse text?

2013-09-06 Thread Robertson, Henry T.
I have a data frame with a character field of the form "ACUTE URI NOS", "OPEN WOUND OF FOREHEAD", "CROUP", "STREP SORE THROAT", How can I get counts of all the words and their co-occurences? I've spent a long time searching on google, but it just takes me on a wild goose chase of dozens o

[R] R help

2013-07-24 Thread Amy Henry
Dear R experts, I know this is not the appropriate place to post but I already tried eco (has not used ME) and geo (not available unit Aug 5), so please forgive me. I fitted my spatial data to a glm.nb model. I decided to detect and correct for spatial autocorrelation using ME{spdep}. I received

[R] spatially analyzing multiple data layers

2013-05-25 Thread Amy Henry
Hi, I started using R about 3 months ago so please excuse my ignorance. I have two datasets. The first consists of 247 fixed position mosquito traps that were serviced weekly for 23 weeks. The second is dengue incidence data indexed to home address for the same time period. I would like to see if t

[R] RJSONIO Installation

2013-04-12 Thread John Henry
Trying to install rjsonio and I've run into a couple of issues. 1. When installing from R, it's starts to download, then I get * installing *source* package 'RJSONIO' ... ERROR: configuration failed for package 'RJSONIO' * removing 'C:/Program Files/R/R-3.0.0/library/RJSONIO' 2. I've tried similar

Re: [R] Need to read an Excel File

2013-03-28 Thread Henry Njovu
To be able to import excel-files into R you also need to download Perl from http://www.perl.org/. From this link you will have to downlaod a suitable Strawberry based on the computer you use (Mac/Window). Once installed you should be able to move on. -- View this message in context: http://r.7

Re: [R] Nightingale’s Rose chart-any suggestion?

2012-11-30 Thread Henry Smith
am looking for is how to render a heatmap (not a bar chart) in a polar coordinate system. Thanks again. Best, Henry On Fri, Nov 30, 2012 at 2:37 PM, Dennis Murphy wrote: > A simple version of what can be done in ggplot2 is illustrated in the > following toy example: > > DF <- data.fr

Re: [R] Nightingale’s Rose chart-any suggestion?

2012-11-30 Thread Henry Smith
; > Rui Barradas > Em 30-11-2012 12:24, Henry Smith escreveu: > > Hello, Everyone. > > Does anyone know how to create a Nightingale’s Rose chart by using R? > Hopefully, the graph could be displayed like > this:http://mbostock.github.com/protovis/ex/crimea-rose.

[R] Nightingale’s Rose chart-any suggestion?

2012-11-30 Thread Henry Smith
Hello, Everyone. Does anyone know how to create a Nightingale’s Rose chart by using R? Hopefully, the graph could be displayed like this: http://mbostock.github.com/protovis/ex/crimea-rose.html Thanks a lot. Kind regards, Henry [[alternative HTML version deleted

[R] creat an interactive graph

2012-11-21 Thread Henry Smith
Hello! Does anyone get any idea how to generate a following graph by using R? http://www.fastcodesign.com/multisite_files/codesign/imagecache/inline-large/post-inline/inline-north-carolina-gay-rights.jpg Any information or hint will be highly appreciated. Kind regards, Henry

Re: [R] Simple matrix transformation question

2012-04-24 Thread Henry
Jeff, Thanks we are looking at that (reshape2 and dcast) now. -Henry -- View this message in context: http://r.789695.n4.nabble.com/Simple-matrix-transformation-question-tp4585044p4585247.html Sent from the R help mailing list archive at Nabble.com

Re: [R] Simple matrix transformation question

2012-04-24 Thread Henry
Jeff, Thanks we are looking at that (reshape2 and dcast) now. -Henry -- View this message in context: http://r.789695.n4.nabble.com/Simple-matrix-transformation-question-tp4585044p4585246.html Sent from the R help mailing list archive at Nabble.com

Re: [R] Simple matrix transformation question

2012-04-24 Thread Henry
I didn't say how I would read it in... I assume just read in using read.table but I didn't try that. So I guess that is another part of the question. -- View this message in context: http://r.789695.n4.nabble.com/Simple-matrix-transformation-question-tp4585044p4585112.html Sent from the R help ma

[R] Simple matrix transformation question

2012-04-24 Thread Henry
I know this is likely very simple. I want to change a matrix that was given to me not sorted by timestamp to sorted by timestamp. It was sorted by CRAH_Name. There are 264k records initially. The CRAH names start at 11 and go to 98 but there are a number of missing values (CRAH_Name), total ap

[R] problem saving gplot.hexbin using file save as pdf - "Error: invalid graphics state

2012-03-18 Thread Henry
I can save to png, TIFF and jpg but get an error "Error: invalid graphics state" when trying to save as pdf and I have to restart R. This happens when I add mtext lines. There are a few other questions e.g. I want to move the mtext on side 1 to the left, but that is the main issue for now. I'm no

[R] sunflower plot, making vectors?

2012-03-13 Thread Henry
there are several ways to do this. After this I'll try to fill in the other sunflowerplot function inputs. Thanks, -Henry -- View this message in context: http://r.789695.n4.nabble.com/sunflower-plot-making-vectors-tp4470486p4470486.html Sent from the R help mail

Re: [R] convert zoo object to "standard" R object so I can plot and output to csv file

2012-02-23 Thread Henry
Another simple question - trying to specify xlim in a zoo plot and getting error my plot line is plot(z1, ylim=c(-100,3000),xlim=c(chron("10/30/2011","00:00:00"),chron("10/30/2011","00:20:00")),type="b",xlab="",ylab="1 Minute Fit",cex.lab=1.3) Error in substring(paste("0", v$day, sep = ""), first =

Re: [R] convert zoo object to "standard" R object so I can plot and output to csv file

2012-02-22 Thread Henry
Gabor, Thanks very much. I have all the zoo functions to get 1 minute aggregation and 15 min. means working and now able to write out to a file/etc. One question on the 15 min. mean results. m1 <- times("00:01:00") g <- seq(trunc(start(z),m1),end(z),by = m1) z1<-na.approx(z,xout = g) m15 <- times

[R] still need read.zoo command help

2012-02-17 Thread Henry
The problem now is it looks like my read.zoo isn't working. Sorry for sort of double posting. Someone please assist if you have time with my read.zoo command line. my data is as just below this line, a time stamp and a real number with a comma sep. 10/11/2011 23:00:06,432.12 z=read.zoo("Kevin-0-

[R] error with read.zoo, "Error in xy.coords(x, y) : (list) object cannot be coerced to type 'double'

2012-02-17 Thread Henry
I'm now trying to read.zoo in a rather long txt file with two columns: date/time and value in kW e.g. 432.2189 The read.zoo function finally ran without errors but not sure it is correct. I took the header off, and put in commas and added a " at the beginning and " at the end. z=read.zoo("Kevi

[R] convert zoo object to "standard" R object so I can plot and output to csv file

2012-02-17 Thread Henry
Another newbie question I got the 1 minute spine interpolation and 15 mean aggregation working with many thanks to Gabor Grothendieck using Zoo functions. I got a tip from Hasan Diwan to look at xts but it seemed I would make better progress using code from Gabor. Now I'm having trouble plotting

[R] time series interpolation - zoo? approx? spline? what to use?

2012-02-16 Thread Henry
Please see my question from a few minutes ago - I wanted to improve the title. -- View this message in context: http://r.789695.n4.nabble.com/time-series-interpolation-zoo-approx-spline-what-to-use-tp4395975p4395975.html Sent from the R help mailing list archive at Nabble.com. __

[R] time series manipulation what functions are "best"

2012-02-16 Thread Henry
29 428.75 10/12/2011 0:25:01 428.75 10/12/2011 0:30:01 428.75 10/12/2011 0:31:31 428.75 Thanks much, -Henry -- View this message in context: http://r.789695.n4.nabble.com/time-series-manipulation-what-functions-are-best-tp4395939p4395939.html Sent from the R help mail

Re: [R] new to R - text command - background color

2012-02-06 Thread Henry
update Jim Lemon emailed me suggesting I look at boxed.labels in the plotrix package. I loaded the package, there were a few messages about directories/etc. but somehow I got it working. I got the command to work, just what I wanted. Thanks to Jim -Henry -- View this message in context

[R] text command - how to get a white background to cover grid lines

2012-02-05 Thread Henry
00,"Air Flow",cex=.8,col="blue", background="white") # this doesn't work... I've tried bg="white", background color="white" and a number of other attempts. The text is getting placed on the chart where I want it. Thanks, -Henry --

[R] Can't reliably use RefClass methods in Snowfall

2011-09-24 Thread henry
author, but have not heard back. Any help is greatly appreciated! Henry Bryant Texas A&M University library("snowfall") library("methods") # set up a simple reference class calculator <- setRefClass("calculator") calculator$methods(do_calc = function(x) {print

[R] Reading R code help--Beginner

2010-05-12 Thread Makada Henry
Hi, I am brand new to R and not familiar with the language, though I have been reading the manuals and making some slow going progress. I am working with some source code from a Global Vector Auto -Regressive program written by Ranier Puhr from the R-forge group. I need help interpreting

Re: [R] Scaling variables to positive values using scale() or performing BoxCox on negative data

2009-11-30 Thread Henry Thorogood
Great! Have managed to shift my dataset to positive. Thanks for all your help. Henry. 2009/11/30 David Winsemius > > On Nov 30, 2009, at 11:47 AM, Henry Thorogood wrote: > > The scale function seems to have tackled the skew, just looking at the >> boxplots for the data

Re: [R] Scaling variables to positive values using scale() or performing BoxCox on negative data

2009-11-30 Thread Henry Thorogood
the negative values, unlike say the b.c function (from car, I think), which has a 'start' argument. How would I add, say, a constant c to each piece of data? Whilst I think I understand the stats, I'm pretty terrible at manipulating R, as I've only been using it for a few days!

[R] Scaling variables to positive values using scale() or performing BoxCox on negative data

2009-11-30 Thread Henry Thorogood
values. So my question is: how can I get the scale function to return a positive set of data (so I can use Box-Cox), or how can I get the boxcox function to handle negative values. Many thanks in advance, Henry [[alternative HTML version deleted]] __

[R] SEM with Unbalanced Panel

2009-11-01 Thread Henry Wotton
variable at the family level? Any help would be greatly appreciated. Thanks a lot already Henry -- http://portal.gmx.net/de/go/dsl02 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

[R] Finding the 5th percentile

2009-04-13 Thread Henry Cooper
amp100<-coef(100,39.83,5739,2869.1,49.44) but how do I go about doing this? I know there is a quantile function in R, do I use this to find a percentile? If so, what value do I have to type into the second argument in the brackets to find the 5th?! Any help would be greatly appr

[R] Quantative procedure assessing if data is normal

2009-04-12 Thread Henry Cooper
about this! Henry _ [[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

[R] Quantative procedure assessing if data is normal

2009-04-12 Thread Henry Cooper
about this! Henry _ [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] lmer and scale parameter in glmm model

2008-08-18 Thread Martin Henry H. Stevens
Hi Fränzi, mod.sum <- summary(model) mod.sum @ sigma Hank On Aug 18, 2008, at 9:34 AM, Fränzi Korner wrote: Hi Oliver you once asked this question at the R help list. Hi all, I try to fit a glmm model with binomial distribution and I would to verify that the scale parameter is close to

Re: [R] tilde on a spanish keyboard?

2008-08-12 Thread Martin Henry H. Stevens
Sweet - works like a charm. Thanks! Hank On Aug 12, 2008, at 7:19 AM, Henrique Dallazuanna wrote: The try this: form <- as.formula('x\u007ey') lm(form) On 8/12/08, Martin Henry H. Stevens <[EMAIL PROTECTED]> wrote: Thanks Henrique. We need to use the tilde in formula statem

Re: [R] tilde on a spanish keyboard?

2008-08-12 Thread Martin Henry H. Stevens
t;\u00D1") On 8/12/08, Martin Henry H. Stevens <[EMAIL PROTECTED]> wrote: I was trying to help someone who used a spanish keyboard on a PC running Windows. he discovered that he had no tilde key. Does anyone know of any simple work-arounds? Thanks, Hank Dr. Hank Stevens, Associa

[R] tilde on a spanish keyboard?

2008-08-12 Thread Martin Henry H. Stevens
I was trying to help someone who used a spanish keyboard on a PC running Windows. he discovered that he had no tilde key. Does anyone know of any simple work-arounds? Thanks, Hank Dr. Hank Stevens, Associate Professor 338 Pearson Hall Botany Department Miami University Oxford, OH 45056 Offic

Re: [R] R -Legality Question about R's Open Source GNU GPL License

2008-07-30 Thread Stevens, Martin Henry H. Dr.
The limit of use is that you cannot profit from it. It is Open Source. From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Ajay ohri [EMAIL PROTECTED] Sent: Wednesday, July 30, 2008 9:39 AM To: r-help@r-project.org Subject: [R] R -Legality Question about

[R] unable to load a library

2008-07-24 Thread Gérard Henry
;tclvalue.default', 'tclvalue.tclObj', 'tclvalue.tclVar', 'tclvalue<-.default', 'tclvalue<-.tclVar' were declared in NAMESPACE but not found Error: package 'tcltk' could not be loaded What are the meaning of these errors? Is there a

Re: [R] Repeated measures lme or anova

2008-07-06 Thread Martin Henry H. Stevens
Hi John, 1. I do not know why you remove the intercept in the lme model, but keep it in the aov model. 2. The distributional assumptions are shot --- you can't run any sort of normal model with these data. You might consider some sort of binomial (metabolite detected vs. not detected). Hank

Re: [R] {spam?} Re: Error: cannot use PQL when using lmer

2008-07-06 Thread Martin Henry H. Stevens
Hi hpdutra, I do not know what section of which Crawley book you are referring to, but I assume that Crawley's point is to use a binomial error distribution (logistic regression) rather than a normal model. It is generally thought that LaPlace methods are more accurate than PQL methods. H

[R] coredump at the end of 'configure' and error for 'make'

2008-03-21 Thread Henry Yu
Hi, I got some errors when I attempted to build R (R-2.6.2) on my Solaris 9 box. Can someone please provide some suggestion on what to do next? The "configure" process was fine expect that I got some warning and a coredump at the end. What does that affect? Can I still build it? ./configure

Re: [R] glmmML vs. lmer - fitting overdispersed Poisson outcome.

2007-10-17 Thread Martin Henry H. Stevens
Hi Sam, I don't understand how you can estimate a separate id variance other than the residual variance, with one observation per subject. I would think the proper model would be glm(y ~ 1, family='poisson) Cheers, Hank On Oct 15, 2007, at 12:05 PM, Sam Field wrote: > Group, > > I have count