« first day (1341 days earlier)      last day (2470 days later) » 

1:39 AM
@BhargavRao , Actually I playing with daily precipitation data to check the long term variation (anomalies) from decades, years, seasons e.t.c. For this purpose I have to calculate p-value of all these anomalies at each scale. So, i have sixty years annual anomalies data of 13 stations with average of each, iI have to calculate p-value of these data in loop so how can I deal with it. My data sets are like
We have to calculate both 90 and 95% significance. @BhargavRao
 
 
7 hours later…
8:37 AM
Hi, I am looking for the source code of predict() function for manually calculating the predictions from the summary of the glm model. I have looked into the site and found no relevant questions. Anyone having an idea, please let me know. Thanks.
Do you think, if need to post this as a question?
 
 
3 hours later…
11:08 AM
@Prradep You can get the source code for R functions by typing heir name in the console. In this case, predict calls a function called UseMethod, as there are different predict functions for different types of models (implemented as S3 classes). Typing methods(predict) will tell you which methods are available. You are looking for predict.glm, so entering predict.glm in the console will give you the source.
 
11:29 AM
@Axeman Thank you...I missed it !
 
 
1 hour later…
12:52 PM
Hello, could you please have a look at this question?
http://stackoverflow.com/questions/40357477/subset-a-matrix-using-the-rownames-mapping-and-a-user-defined-function
1
Q: subset a matrix using the rownames mapping and a user-defined function

PrradepI have a matrix and would like to subset it using mapping and function. Example: Randomly populated matrix using runif and set.seed for reproducibility. set.seed(1) exp.mat <- matrix(runif(9*6, 5.0, 10), nrow = 9, ncol = 6) rownames(exp.mat) <- c('a','b1','b2','b3','c','d1','d2','e1','e2') col...

 
2:11 PM
Hi, Could you please have a look at my question. I completely stuck...my main problem is how I can employ something like rollapply (zoo) function with condition if. Maybe I overcomplicated problem trying to do it that way but I am already biased towards that solution and cannot free my mind...stackoverflow.com/questions/40343813/…
 
Hi
@fattel Looks like the question is too broad for SO.
 
@BhargavRao thanks. I will try to be concise, but I did not want to suggest potential direction for solutions as there are maybe easier ways of doing it. Yesterday, actually someone posted proposed solution but unfortunately it was not correct one (was removed by author).
 
 
1 hour later…
3:30 PM
@fattel Your output does not match the given input, but I've provided a solution.
 
Hey all.
I'm really really hoping for a little help with my document term matrix. I've searched around, and am not seeing much, which is leading me to believe the question may be peculiar.
I'm trying to use the e1071 Naive Bayes package with a dtm of values "Yes" and "No", which resulted from a rather typical dtm created from a corpus. The prediction step is empty, and it might be because "Yes" and "No" aren't factors but R characters. Does the Naive Bayes object really need to be trained on factors instead of characters, and if so, how on can I convert my dtm values to levels of a factor (Yes,No)?
By the way, I'm using the "Machine Learning with R" book by Brett Lantz. Thinking perhaps the e1071 package may have changed. Thanks for reading.
 
@AdrianM. Hello
 
Hi Bhargav
 
4:37 PM
Looking forward to getting into RSpark on Hadoop
That's going to be shweet
 
Best of Luck
 
Thanks.
I'm using Spark Scala atm.
Good stuff.
Welp, have a good day y'all.
 
Cya
 
4:57 PM
Anyone want to delete this question: stackoverflow.com/q/36633889/4891738?
Or close it as typo, then delete it?
 
We can't delete it directly. We have to close it first and then delete it. @Zheyuan.
 
5:17 PM
@BhargavRao I have voted to close as typo... it is just a typo, yet it attracted 4 answers...
amazing...
 
Yeah, that's a bit bad.
We can't stop them though.
 
@BhargavRao I am not against this user, but it looks like he is very good at raising low-quality question. stackoverflow.com/q/37636386/4891738
 
@BhargavRao About 1-2 hours ago he asked a regression question; after 3-4 edits he still did not manage to provide a reproducible example. Then he finally deleted his question just now... sigh...
 
Vic
Hi, I need to start by empty matrix and then cbind in a loop so:
M<-NULL solve the problem but on 1 iteration I need to t(M)
I get and error any way around it?
 
5:29 PM
@ZheyuanLi let's vote on posts and leave the users aside :) ...
We gotta moderate the posts. Speaking about users in public chat rooms is risky as there might be other users who perform witch hunts. :/
Bit AFK.
 
@BhargavRao Agree. Just slightly disappointing... that could have been a good question...
I mean the regression one he deleted himself
 
@Zheyuan re synonyms (saw in your profile), you could post to meta, though it might not help much meta.stackoverflow.com/questions/tagged/synonym-request
mine took a little over a year
 
@Frank I think meta won't be that helpful on this point. Because to vote on synonyms we have to reach minimum standard. It can take a long time to get approved, because there are not many people able to vote...
 
yeah, in small tags it's very slow
 
6:17 PM
@Vic In general: don't cbind in loops, it's very inefficient. Create a properly sized matrix beforehand if possible. Specifically, it's hard to tell what error you are getting without a little example.
 
6:36 PM
He did not even check with the dataset
Also, should we quickly close this: stackoverflow.com/q/40366361/4891738
 
6:58 PM
@ZheyuanLi We get a very little traffic of 3k+ users here. So if you feel that you need to close posts, You can ask in SOCVR. Use the following format
[tag:cv-pls] <reason for closure> <link to the question>
 
@BhargavRao Haha, yeah... thanks for the tip... maybe I should consider joining GMT
 
Ah, For that you need to ask David Arenburg. To join the main R Room, you need to either ask joran or Dirk (both don't visit us frequently).
 
@BhargavRao Main R room is not for discussing closing issues... GMT is an ideal place
 
Oh, I did not know that. I've never been to the main R Room.
 
7:44 PM
For those interested - Tumbleweed posts 1 2 3
 
8:08 PM
Wait, there's a main R room? I thought this was it
 
@SerbanTanasa Yes, there's a main R room. It is for the high level discussion of the [r] language and the [r] tag in general.
It's usually for the top guys. If you wanna go there, you need permission.
You can ask either Dirk or joran for permission.
 
@BhargavRao, thanks, I'm good for now. Maybe once I earn my silver [r] badge
 
Sure! I've never entered there too ;)
 
for now, just feeling proud of myself for successfully compiling R on an AWS linux, and having shiny actually work correctly for my apps.
their EPEL is about 2 minor versions out of date
 
> for now, just feeling proud
Does that mean getting access to the R Room is an accomplishment? :D
 
8:19 PM
well, many of the frequent users in Diamond R are the authors of packages I use every day. I'd rather have them coding than reading my posts
 
Haha, Yes. I need to agree to that.
 
9:00 PM
5 messages moved to Cemetery
 
@ZheyuanLi Actually it is. Note the wording in the description: it is used to coordinate responses (edits, closures, etc.
 
@MatthewLundberg Hi Mat, you mean GMT room?
 
No, the "R" room, for R-related posts.
 
@MatthewLundberg OK. But when I glimpse its transcript it looks more about R feature stuff.
 
@ZheyuanLi Yes, most of the time that is true.
 
9:22 PM
...
 

« first day (1341 days earlier)      last day (2470 days later) »