Timeline for The Lucky House
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2020 at 9:04 | history | edited | CommunityBot |
Commonmark migration
|
|
Aug 21, 2019 at 20:43 | comment | added | user5957401 |
I like the split out. As I was toying with it, I figured out that sum(s==2) helps a lot. But it required re-writing everything else, and the /10 no longer saved space (I don't think)
|
|
Aug 21, 2019 at 20:40 | history | edited | user5957401 | CC BY-SA 4.0 |
deleted 112 characters in body
|
Aug 20, 2019 at 15:49 | comment | added | Giuseppe |
If you say so. This is 87 bytes, including the f= ; feel free to put a TIO link into you answer :-)
|
|
Aug 20, 2019 at 15:29 | comment | added | user5957401 |
Ah -- good catch, I seem to have done my math wrong. And top tip on table -- i'm not as familiar with it as I ought to be -- I started with summary(as.factor(v)) . I prefer to leave the f= . I don't feel like the code is complete without it, but I realize thats a style choice.
|
|
Aug 20, 2019 at 15:28 | history | edited | user5957401 | CC BY-SA 4.0 |
added 51 characters in body
|
Aug 19, 2019 at 21:26 | comment | added | Giuseppe |
but if you can figure out why that is, you can remove the as.factor() and the f= to get it to 88 bytes.
|
|
Aug 19, 2019 at 21:25 | comment | added | Giuseppe | This doesn't seem to pass the last test case | |
Aug 19, 2019 at 21:08 | history | answered | user5957401 | CC BY-SA 4.0 |