« first day (944 days earlier)      last day (2337 days later) » 

Can anyone remember where the thread / conversation about tbl_df not inheriting from data.frame correctly is?
 
2:10 AM
@SymbolixAU there was a long one on R-devel. Is that the one you're thinking about?
 
potentially; I remember it was similar to this answer: stackoverflow.com/a/39920059/5977215 - where it centred around the difference between how data.frame and tibble handle selecing a single column
 
Also a whole bunch of back and forth on it in the R chat room around 9/26
in R, Sep 26 at 16:45, by Gavin Simpson
@joran It's all too easy to fall into the trap of always using the same old tired cuss words. Which is a shame because the English language is stuffed so very full of a range of insults suitable for a range of occasions
Sorry, that was a random post on that day, just poke around that day.
 
yeah that's the one, thanks @BrodieG :thumbup:
 
2:44 AM
@BrodieG You can also link to the whole thread at once. Example there was instructive. With data.frame, all is good. With tibble, not so much. Author decided it was his fault. Whatever works in the upside-down world.
But I mostly miss gmane which was a better mail/news gateway and web interface to mailing lists.
(whole thread: meant the mailing list thread from mailman. no idea / don't care as much about so chat history. )
 
 
5 hours later…
7:26 AM
Morning all
 
hello
 
7:40 AM
hello hello :-)
 
Helo
 
9:06 AM
@Queen k
@Queen k
 
There has to be duplicates for this and this .
 
@RonakShah table ok
 
@zx8754 thanks. for the other one the default split by group would not be correct, right?
We need some get subset of list question.
 
Hello here
 
I believe the phrase is "Enough rope to hang yourself with" :-P — Kyle Brandt Feb 8 '12 at 15:11
2
 
10:35 AM
Statement from Cyprus' Archbishop: "God does not forgive anyone for free"
I sh*t you not!!!
 
@Sotos how much?
 
@Sotos The church first convinces you that you are gravely ill, and then sells you the homeopathic cure
 
Uwe
Lots of examples on using .SD in data.table by Michael Chirico here
 
10:54 AM
An increase in 1% in life expectancy results in a 5% increase in GDP per capita in the long run: making people healthier fuels economic growth @EconomistEvents #WaronCancer
 
11:28 AM
I have a little stat question (just to check I'm not totally out of my mind here): I've seen in an article a barplot with a chi-square pvalue. At first "glance" I don't understand how the pvalue can be that non significative when the proportion clearly are different. I've taken roughly the proportions and found almost identical pvalue if there is only like 7 samples for each category.
Am I missing something statistically obvious here (like yes we can do a variant of chi-square with proportions o_O) or does my thinking sound ok ? Putting the plot I'm talking about thereunder. Thanks :-)
 
11:41 AM
@Uwe very nice!
 
@Cath They're not wildly different. Do you know the n in each cluster?
do they report the chi2?
 
@Sotos basically he sais your sins are only forgiven if you pay me
sounds a lot like extortion to me
@Natty tp
 
12:02 PM
I mean It's amazing! The guy is priceless...
@Axeman Freemasons!!!
@mtoto It depends which district you come from
The ones closest to city center are definetely more expensive. Even for God is location, location, location :p
 
12:17 PM
@Axeman no that's the problem :-(
(sorry for the delay I was at lunch)
 
@Cath also no, you can't do chi square with just proportions and no sample size
*np
 
@Axeman you see me relieved !! :-)
the P=0.915 is supposed to be chi2
 
@Queen k
 
@Cath Just email the authors? A lonely p-value all by itself shouldn't be taken all that seriously.
 
@Axeman there is some very confused explanation about what it supposed to refer to be it's like the legend of a supplementary figure so I guess, they didn't bother much...
But it's not very important, you helped me with what I was wondering, thanks++ :-)
 
12:21 PM
You can guess at the sample size in each cluster by simulation/estimation, but the sample sizes for each cluster are not necessarily balanced, so there's several possible answers that can yield that p-value
@Cath cool :)
 
@Axeman indeed. Though none would be with a great sample size ;-)
 
@Cath if they are really unbalanced one could have massive sample size
 
@Axeman you're right, it just needs one or 2 small categories
 
12:36 PM
@Sotos Does they literally mean money or they just mean that you need to confess of your sins first or such?
 
@DavidArenburg maybe you pay then confess your sins then they can blackmail you...
 
@Cath Yeah like scientology
 
 
1 hour later…
1:57 PM
@Cath yes, that's suspiciously high. Chi-squared is usually pretty sensitive to departures from independence, even with small sample sizes.
And the small difference in height between "decreasing" for cluster 2 and 3 suggests that the sample size is reasonably large
 
@hadley Exactly my thought, I really doubt the barplot is that linked to the pvalue, they are illustrating something and putting a pvalue computed based on something else. Thank you very much Hadley for your help :-)
 
2:25 PM
@DavidArenburg I mean actual money. Priests are ...well I m not gonna describe out of respect to religious people, but there are cases where priests stop a funeral and will not bury the dead until more money are given to them!!!
 
@Sotos o_O so priests are not empathetic, this is just the opposite of what religion is supposed to be about...
 
@Cath not at all. It's sad! We make fun them as the biggest mafia ring in the country :)
 
@Sotos strange
 
@DavidArenburg You have no idea. For example...a couple of years ago the priest that did the confessions in the prison for prisoners was arrested for smuggling drugs and mobile phones in
 
Hello guys !
Does this looks like an answer to you ? stackoverflow.com/a/47344420/3415409
My flag was declined :O
 
@eliasah It is an answer. You can argue about it's quality but answers the question
SO mods don't go into technical details of answers
 
it doesn't even answer the question @DavidArenburg :)
it just says "NNs are better than DT "
hehe
 
Well that is pretty broad and off topic question, so the answer seem to fit the expectations.
We could probably delete it as the OP doesn't seem to be planning to improve the question in the future (they accepted the answer), so it makes it pretty useless for future readers
 
4:18 PM
it's gone now
 
4:40 PM
hullo all, surprisingly high activity in the other room
 
4:51 PM
thanks guys !
 
this should get gone. op is mistaken and MIA stackoverflow.com/questions/47406748/…
 
heh, I've just came here for this ^
@eliasah You can delete stuff too now, you know it right?
 
seriously ?
I need to learn the powers of my hammers :D
 
5:16 PM
@eliasah Yes, with 20L rep you very close to a diamond mod with your powers
 
There not much good questions lately and I spend more time on moderating than answering questions :)
 
Basically 3 coordinated guys with >=20K can do pretty much anything on SO
@eliasah yeah, welcome to the club
 
thanks @DavidArenburg ! :)
 
I actually believe there is not much left to do on SO rather hammering dupes and deleting cr*p
(without any formal research as a backup) I would say this is pretty much 90% of the SO traffic these days
 
I feel less alone then*
 
5:26 PM
@eliasah I'm sure you don't feel alone in the SOCVR room. These guys devoted their life to that
 
I mean with
 
yeah, you and mtoto are pretty much alone there
 
yes and he doesn't have super powers yet
 
but you can link stuff both here and in the SOCVR
 
yeah :)
i will thanks
 
5:44 PM
@Frank one more downvote & it can be deleted
 
2 more delete votes
 
and gone
 
Nicely done decision tree tutorial youtube.com/watch?v=LDRbO9a6XPU Short, clear and accommodated with a working code
4
 
 
1 hour later…
@Jaap thanks
@DavidArenburg well, at most 10 meta.stackexchange.com/questions/50523/… ("The maximum number of delete votes needed will not exceed 10.")
 
7:24 PM
@DavidArenburg Wow. Finally a new episode. :)
His series is really cool.
 
 
1 hour later…
8:48 PM
1 message moved to Trash can
1 message moved to Trash can
 
9:21 PM
omg I found the daddy of pie charts github.com/marbl/Krona/wiki
 
10:11 PM
> as.POSIXct("2015 1 7", format = "%Y %W %u")
[1] "2015-01-04 EET"
> as.POSIXct("2015 1 6", format = "%Y %W %u")
[1] "2015-01-10 EET"
Can someone help me understand this?
I don't like working with dates. Especially incorrect dates.
 
Strange
 
10:26 PM
I would guess that is some type of muricas convention, I would suggest working with EU convention, e.g. as.POSIXct(c("2015 1 0", "2015 1 1"), format = "%Y %W %w")
 
@DavidArenburg Weekdays from 1 to 7 and week numbers from 1 to 53.
 
@m0nhawk In your data set?
 
Yes.
 
so just do -1 ?
 
week 1 starts from Monday, so it is 5th January "2015 1 1"
 
10:28 PM
@zx8754 No, I have "2015 1 5" the first data point.
 
hmm then 7 means zero - Sunday
 
aye, but for some reason it goes to the previous Sunday
 
And, I have "2015 53 7".
 
muricans will call it "historical reasons" probably
 
So, it's some strange dates.
@DavidArenburg But it didn't happen with %w.
 
10:30 PM
@m0nhawk Because %w is EU convention
EU guys make sense usually
 
I think historical data after Unix bang should be stored as a Unix timestamp.
At least it's obvious which one are later.
 
@m0nhawk It doesn't make much sense to me, but it is consistent with the ISO8601 standard
The ISO week date system is effectively a leap week calendar system that is part of the ISO 8601 date and time standard issued by the International Organization for Standardization (ISO) since 1988 (last revised in 2004) and, before that, it was defined in ISO (R) 2015 since 1971. It is used (mainly) in government and business for fiscal years, as well as in timekeeping. This was previously known as "Industrial date coding". The system specifies a week year atop the Gregorian calendar by defining a notation for ordinal weeks of the year. The Gregorian leap cycle, which has 97 leap days spread across...
Which is:

week <- function(date) {
  doy <- as.numeric(format(date, format = '%j'))
  dow <- as.numeric(format(date, format = '%u'))
  floor((doy - dow + 10) / 7)
}
week(as.Date("2015-01-04"))
The latter gives 1, which is the Sunday before the Monday of the 1st day of the week.
S M T W T F S
4 5 6 7 8 9 10
Is the only way I can rationalise the result.
 
10:50 PM
I wonder if it will be easier to just add 1 to the week of the year in case the day is 7?
@m0nhawk I think if you'll do just something like df$weekofyear[df$dayofweek == 7] <- df$weekofyear[df$dayofweek == 7] + 1 you format should work
 
11:06 PM
FWIW, lubridate agrees with R
> lubridate::isoweek(as.Date("2015 1 7", format = "%Y %W %u"))
[1] 1
 
11:45 PM
nope, never mind now i'm confused
 
Midnight puzzle? :D
 
guess so
:)
fmt = "%Y %W %u"; s = "2015 01 7"; format(as.POSIXct(s, format=fmt), format=fmt) goes in as week one comes back as week zero
 

« first day (944 days earlier)      last day (2337 days later) »