I edited the R file contained in the git repository
and place your solution in that file