Re: [R] ggmap warning

2015-06-30 Thread Thierry Onkelinx
Your data contains 4945 rows with missing or infinite values. These cannot be handled by stat_density2d and are dropped for that reason. Best regards, Thierry Op 1 jul. 2015 08:43 schreef "Chichi Shu" : > Dear Listers > > > > I’ve been using ggmap package to produce crime Heat map. But I’ve not

[R] Towards understanding communication channels within a community

2015-06-30 Thread Carlos Gomez
Dear r-help mailing list, I would like to invite you to participate in an academic survey namely "Towards understanding communication channels within a community". We are Carlos Gomez and Margaret-Anne Storey, researchers from the Computer Human Interaction and Software Engineering Lab (CHISEL) i

[R] ggmap warning

2015-06-30 Thread Chichi Shu
Dear Listers I��ve been using ggmap package to produce crime Heat map. But I��ve noticed the following warning message when executing my code: In loop_apply(n, do.ply) : Removed 4945 rows containing non-finite values (stat_density2d). I��ve googled this message but I couldn��t find an

[R] How to run a glm using one factor in a dichotomous categorical variable

2015-06-30 Thread Charles Thuo
am running a glm to model the number of accidents that result from diesel or petrol cars. How can i run a glm that on only one factor i.e. diesel only. require(CASdatasets) data(freMTPL2freq) CONTRACTS<- data.frame(freMTPL2freq$IDpol,freMTPL2freq$ClaimNb,freMTPL2freq$Exposure,freMTPL2freq$V

Re: [R] Is there a package for Granger causality in panel models?

2015-06-30 Thread Jeff Newmiller
I don't know, but I highly recommend the "sos" package so you can answer this for yourself. --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Live Go...

[R] Is there a package for Granger causality in panel models?

2015-06-30 Thread Richard Asturia
Dear list, I have been searching without success for a package or function to test for Granger causality-like in panel models. Has something like that been already implemented? Thanks, Richard Asturia [[alternative HTML version deleted]] __ R-

[R] mixtools? Fitting two-normal distributions to data where one of the two normal distributions (the one corresponding to lower values of x) is a left-truncated normal distribution.

2015-06-30 Thread John Sorkin
I am trying to model the mixture of two normal distributions, where x values are in the range of zero to some positive value. I know about mixtools and would use it save for the fact that the the y values from the normal distribution corresponding to the lower values of x (i.e. from zero to x/n)

Re: [R] Double Roop

2015-06-30 Thread David Winsemius
On Jun 30, 2015, at 6:04 AM, Peter Maclean via R-help wrote: > Hi EverybodyI am trying to make an object with length(a) * length(b) > element using a double loop. But I am getting the last part only. A simple > script is > a <- c("A-AA", "B-BB", "C-CC") > b<- seq(1, 5) > pre <- NULL > po

Re: [R] Problems in installing Ameliaview

2015-06-30 Thread Sarah Goslee
It sounds like you should install Rcpp, just as the error message tells you. You can do this via install.packages() from within R. Sarah On Tue, Jun 30, 2015 at 3:01 AM, Nisha Simon wrote: > Sir, > I have tried installing R 3.2.1 and then amelia viw setup file. Both are > getting installed but

Re: [R] erro during make

2015-06-30 Thread Jeff Newmiller
My advice to you is to read the Posting Guide, which tells you that this type of question belongs on a different mailing list (which is identified there as well), where discussions and expertise more suited to help you are likely to be found. -

[R] erro during make

2015-06-30 Thread Schermerhorn, Phillip
We are trying to make R on AIX and hit the error below. We have searched for a fix but have not come up with anything yet on where these functions or macos should be define and how. Can you help? gcc -std=gnu99 -I../../src/extra/bzip2 -I../../src/extra/pcre -I../../src/extra -I../

[R] Problems in installing Ameliaview

2015-06-30 Thread Nisha Simon
Sir, I have tried installing R 3.2.1 and then amelia viw setup file. Both are getting installed but when I open Amelia, I get command prompt screen for 1 sec before it vcloses automatically. typing library(Amelia) has returned error package ‘Rcpp’ required by ‘Amelia’ could not be found. Please hel

Re: [R] Double Roop

2015-06-30 Thread Sarah Goslee
Hi Peter, page is indexed by [i], so for each iteration of j you're rewriting previous results. You can fix that very simply, with: a <- c("A-AA", "B-BB", "C-CC") b<- seq(1, 5) pre <- NULL post <- NULL page <- NULL pageno <- 1 for(j in 1:length(a)) { for(i in 1:length(b)){ pre[j]

Re: [R] Fishers test.

2015-06-30 Thread Michael Dewey
Dear Harmeet Well 1 - why not try it? 2 - what does the help say? Or do you have some deeper question? On 30/06/2015 13:20, My List wrote: All: I wanted to know if the fishers test can be applied to RxC where and R and C are greater than 2, by using the fisher.test() or fisher.test() with hy

Re: [R] Double Roop

2015-06-30 Thread Peter Maclean via R-help
 Hi EverybodyI am trying to make an object with  length(a) * length(b) element  using a double loop. But I am getting the last part only.  A simple script is a <- c("A-AA", "B-BB", "C-CC") b    <- seq(1, 5) pre <- NULL post <- NULL page <- NULLfor(j in 1:length(a)) {    for(i in 1:length(b)){  

[R] Fishers test.

2015-06-30 Thread My List
All: I wanted to know if the fishers test can be applied to RxC where and R and C are greater than 2, by using the fisher.test() or fisher.test() with hybrid please advice. Thanks in advance -Harmeet [[alternative HTML version deleted]] __ R

Re: [R] Web crawling amazon website using R

2015-06-30 Thread boB Rudis
You might want to read Amazon's terms of service before crawling their site: http://www.amazon.in/gp/help/customer/display.html/ref=footer_cou/276-8549425-3823542?ie=UTF8&nodeId=200545940 On Tue, Jun 30, 2015 at 3:33 AM, Abhinaba Roy wrote: > Hi R helpers, > > I want to crawl the amazon.in websi

[R] Web crawling amazon website using R

2015-06-30 Thread Abhinaba Roy
Hi R helpers, I want to crawl the amazon.in website to extract the customer feedbacks for a particular product, and then use the texts for word cloud and sentiment analysis. For example, if I want to extract the feedback texts from http://www.amazon.in/Mi-4-White-16GB/product-reviews/B00VEB0F22/