Re: [R] Choropleth map over an outline of Florida's 67 counties

2019-05-30 Thread Jeff Newmiller
Since Googling "chloropleth ggplot" yields many possibilities (e.g.[1]), I can't say I am very motivated to read them and guess what deficiencies you found that made them miss your target. Also note that had you read the Posting Guide you would know that there is a mailing list dedicated to sp

Re: [R] Calling any method within default method!

2019-05-30 Thread Abby Spurdle
> For years I have a problem that I have avoided with the use of the switch > function, but now I want to solve by following the good practices of object > orientation (OOP). > My function was created to generate experiments according to some input > parameters. Therefore, the first argument does n

[R] Choropleth map over an outline of Florida's 67 counties

2019-05-30 Thread Thomas MacFarland
Everyone: I am trying to build a choropleth map that uses colored shading to identify the number of incidents for a specific event during Calendar Year 2018 throughout Florida, ideally on a county-by-county basis. I'd also like to include the county borders in the map, to emphasize urban v rur

Re: [R] Help with staked bar plot values Version 2

2019-05-30 Thread Bill Poling
I have what I need now, thank you. WHP #This one working ggplot(tbl, aes(x = Month_Yr, y = value, fill = variable, label = value)) + geom_bar(stat = "identity") + geom_text(size = 3, position = position_stack(vjust = 0.5)) + theme(axis.text.x = element_text(angle = 45, hjust = 1, vjust = 0

[R] Help with staked bar plot values Version 2

2019-05-30 Thread Bill Poling
Hello #RStudio Version 1.2.1335 sessionInfo() # R version 3.6.0 Patched (2019-05-19 r76539) # Platform: x86_64-w64-mingw32/x64 (64-bit) # Running under: Windows 10 x64 (build 17134) I am still trying to get this stacked bar plot with values incereted in the bars to work. str(df3) 'data.frame'

Re: [R] Mac/PC differences in lmer results

2019-05-30 Thread Bert Gunter
Unless there us good reason not to, always cc the list. I have done so here. The R Installation manual has some info on how to use different BLASes I believe, but someone with expertise (I have none) needs to respond to your queries. On Thu, May 30, 2019 at 7:50 AM Nicolas Schuck wrote: > I kno

Re: [R] Mac/PC differences in lmer results

2019-05-30 Thread Bert Gunter
The BLAS in use on each? Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, May 30, 2019 at 5:27 AM Nicolas Schuck wrote: > Dear fellow R coders, > > I am o

[R] error when installing zoo package on macos: file 'DESCRIPTION' does not exist

2019-05-30 Thread Roger Bos
I was able to upgrade to the latest version of the zoo package on my linux machine, but my mac is given an error message that the DESCRIPTION does not exist. I am sure that is not the real problem, but I don't know how to debug or figure out what the real problem is. The output is below and my se

Re: [R] Error in using tokens script

2019-05-30 Thread PIKAL Petr
Hi. Most probably SMSSpamCollection$Message is not character, corpus or tokens object (which error message politely suggests). You need to change it to be correct mode functions ?str, ?mode, ?typeof to see your objects. And maybe also R intro chapter about objects and its differences. Cheers

[R] Mac/PC differences in lmer results

2019-05-30 Thread Nicolas Schuck
Dear fellow R coders, I am observing differences in results obtained using glmer when using a Mac or Linux computer versus a PC. Specifically, I am talking about a relatively complex glmer model with a nested random effects structure. The model is set up in the following way: gcctrl = glmerCo

Re: [R] Error in using tokens script

2019-05-30 Thread Jianjun Wang
Thank you, Petr. I found your guidance very helpful! JJ From: PIKAL Petr Sent: Wednesday, May 29, 2019 12:31:31 AM To: Jianjun Wang; r-help@R-project.org Subject: RE: Error in using tokens script Hi. Most probably SMSSpamCollection$Message is not character,