Actuarial Outpost
 
Go Back   Actuarial Outpost > Actuarial Discussion Forum > Property - Casualty / General Insurance
FlashChat Actuarial Discussion Preliminary Exams CAS/SOA Exams Cyberchat Around the World Suggestions

Actuarial Jobs by State

New York  New Jersey  Connecticut  Massachusetts 
California  Florida  Texas  Illinois  Colorado


Reply
 
Thread Tools Search this Thread Display Modes
  #41  
Old 05-01-2019, 09:23 AM
Vorian Atreides's Avatar
Vorian Atreides Vorian Atreides is offline
Wiki/Note Contributor
CAS
 
Join Date: Apr 2005
Location: As far as 3 cups of sugar will take you
Studying for ACAS
College: Hard Knocks
Favorite beer: Most German dark lagers
Posts: 63,870
Default

I think the more important question regarding which package to use is "how long will you need to keep the code around?".

If for quite some time (> 1 year w/o additional follow up/work), then I would opt for the one that is far more likely to be "clean" in understanding its syntax wrt other languages that (future) users are going to be most likely familiar with (e.g., dplyr has a rather unique syntax with the %>% conjunction).
__________________
I find your lack of faith disturbing

Why should I worry about dying? Itís not going to happen in my lifetime!


Freedom of speech is not a license to discourtesy

#BLACKMATTERLIVES
Reply With Quote
  #42  
Old 05-01-2019, 10:21 AM
Tacoactuary's Avatar
Tacoactuary Tacoactuary is offline
Member
CAS Non-Actuary
 
Join Date: Nov 2014
Location: Des Moines, IA
College: Vanderbilt, UIUC
Favorite beer: Yazoo Sue
Posts: 1,582
Default

Quote:
Originally Posted by Vorian Atreides View Post
I think the more important question regarding which package to use is "how long will you need to keep the code around?".

If for quite some time (> 1 year w/o additional follow up/work), then I would opt for the one that is far more likely to be "clean" in understanding its syntax wrt other languages that (future) users are going to be most likely familiar with (e.g., dplyr has a rather unique syntax with the %>% conjunction).
Are you suggesting that the pipe should be avoided? I hope not.
__________________
ACAS 7 8 9
Reply With Quote
  #43  
Old 05-01-2019, 11:54 AM
examsarehard examsarehard is offline
Member
CAS
 
Join Date: May 2011
Posts: 597
Default

The pipe isn't actually unique to dplyr, it's from the magrittr package. You can use the pipe with functions outside the tidyverse, but most of its readability benefits are realized when the functions order their inputs in a specific way, as the tidyverse does.

Fun fact: Hadley didn't even realize the pipe operator even existed when he wrote ggplot2. The "ggplot1" package is actually more compatible with the pipe operator than ggplot2 is, but it's too late to change everything now.
Reply With Quote
  #44  
Old 05-01-2019, 01:33 PM
Vorian Atreides's Avatar
Vorian Atreides Vorian Atreides is offline
Wiki/Note Contributor
CAS
 
Join Date: Apr 2005
Location: As far as 3 cups of sugar will take you
Studying for ACAS
College: Hard Knocks
Favorite beer: Most German dark lagers
Posts: 63,870
Default

Quote:
Originally Posted by Tacoactuary View Post
Are you suggesting that the pipe should be avoided? I hope not.
Absolutely not. My comment relates to how easy would it be for someone to pick up the code when it is uncertain what their knowledge set might be.
__________________
I find your lack of faith disturbing

Why should I worry about dying? Itís not going to happen in my lifetime!


Freedom of speech is not a license to discourtesy

#BLACKMATTERLIVES
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 05:16 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
*PLEASE NOTE: Posts are not checked for accuracy, and do not
represent the views of the Actuarial Outpost or its sponsors.
Page generated in 0.13747 seconds with 11 queries