Articles by Trinostics LLC

How to start a new package with testing in R

May 30, 2019 | 0 Comments

# Navigate where you want your folder to be located setwd("C:/Users/chief/Documents/Github") # Assumes usethis is installed usethis::create_package("foo") # Say yes or no to next (annoying) popup window, it doesn't matter. # Add a test environment setw... [Read more...]

How to start a new package with testing in R

May 30, 2019 | 0 Comments

# Navigate where you want your folder to be locatedsetwd("C:/Users/chief/Documents/Github")# Assumes usethis is installedusethis::create_package("foo")# Say yes or no to next (annoying) popup window, it doesn't matter.# Add a test environmentsetwd("foo")usethis::use_testthat()# Add first test function to at least get something ... [Read more...]

CAS RPM: Installing & running Rattle in RStudio

April 12, 2017 | 0 Comments

At the Ratemaking and Product Management (RPM) seminar of the Casualty Actuarial Society (CAS) in San Diego last month, Linda Brobeck, Peggy Brinkmann, and yours truly gave a concurrent session on a machine learning technique called decision tree analysis. See the DSPA-2 session -- and other sessions -- at this ... [Read more...]

ChainLadder version 0.2.3 available on CRAN

October 27, 2016 | 0 Comments

ChainLadder is an R package for actuarial analysis of General / Property & Casualty insurance reserves. Version 0.2.3 on CRAN is is the first update in about a year. For the most part, the new version expands upon existing capabilities, as illustrated in the News vignette. Two of the most important arethe rownames (... [Read more...]

October 2016 BARUG Meeting

October 16, 2016 | 0 Comments

The October meeting of the San Francisco Bay Area R User Group held at Santa Clara University consisted of socializing, an intro, and three speakers. In the intro, host representative Sanjiv Das highlighted the curriculum and advisory board of the school's new MS in Business Analytics program. The first speaker, ... [Read more...]

Benford’s Law in R (cont.): Actual Data

September 8, 2016 | 0 Comments

This is the second post based on Sara Silverstein's blog on Benford’s Law. Previously we duplicated the comparison of the proportion of first digits from a series of randomly generated numbers, and successive arithmetic operations on those numbers, and saw that the the more complicated the operation, the closer ...
[Read more...]

Benford’s Law Graphed in R

August 30, 2016 | 0 Comments

Using R to replicate Sara Silverstein's post at BusinessInsider.comA first-year student near and dear to my heart at the Kellogg School of Management thought I would be interested in this Business Insider story by Sara Silverstein on Benford’s Law....
[Read more...]

A Diversified R in Insurance Conference

July 31, 2016 | 0 Comments

I visited London this month for the first time in many years, having been honored to participate in the fourth annual R in Insurance conference held at the Cass Business School. Mired in the deep rooted polarity of the current American presidential election, this traveler was refreshed and uplifted by ...
[Read more...]

Control totals of a data.frame

March 24, 2016 | 0 Comments

When you are conducting a business analysis project with a data extract from the company's internal system, professional risk management suggests you make sure you are not missing any records or double counting any records. But you certainly don't want to look at every record. Yikes!Auditors solve this predicament ... [Read more...]

Google’s New Search Algorithm Introduces Bias

March 17, 2016 | 0 Comments

Larry Magid has a technology "article" on the local radio station. I always turn up the volume when Magid comes on. Today's spot tells how Google Search going forward may be biased for you personally based on your Google-stored relationships. This might be handy sometimes. For example, when looking for ... [Read more...]

A horizontal scrolling code box in blogger

March 3, 2016 | 0 Comments

To display code in a blog I like to use a "code box" because I think it presents a more "professional" look. But it's not that easy with blogger.By "code box" I mean a "window" with a monospaced font and vertical and horizontal scrolling bars as necess... [Read more...]

The making of a shiny mauc: chapter 2

February 26, 2016 | 0 Comments

This continues last week's post The making of a shiny mauc, based on Greg McNulty's mauc blog. It utilizes the RStudio interface to R, Desktop version.Recall, the goal is to make an online shiny app that will run Greg's code using his data, all supplied in his post. Today ...
[Read more...]

The making of a shiny mauc

February 17, 2016 | 0 Comments

When an excess of loss (XOL) reinsurance pricing actuary has only indemnity to work with, how can s/he reflect allocated loss adjustment expense (ALAE) in final cost projections? Such is the situation addressed by Greg McNulty in his blog Modeling ALAE Using Copulas (MAUC). According to McNulty, the classical ... [Read more...]

Water Damage at Cal!

October 21, 2015 | 0 Comments

Dag Lohmann gave an exhaustive (not "-ing"!) presentation on Katrisk modeling of water damage at  The Berkeley R Language Beginner Study Group last night in The Ark. A bit beyond "beginner", Dag! :-) Thanks for the snips of your shiny. Nice graphs. [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)