Click on a Markdown file link (*.md) to navigate to a tip/trick.
- Read CSV file, calculate basic descriptive statistics, fit OLS model (this would be a good place to start for a beginning R user)
challenge001OLS.md - Optimization using numeric vector indexing for creating a variable from a lookup table
optimizationVectorIndexing.md - Mapping Oregon Coordinated Care Organizations [
Mapping Oregon CCOs.md](https://github.com/benjamin-chan/RTipsAndTricks/blob/master/Mapping Oregon CCOs.md) - Fit a random intercept model and then a random slope model
CHIPRASurvey.md - Tests different methods for merging two datasets in R. The winner: "Merge" with datatables.
Fast merges.md - Fast aggregation.
FastAggregation.md - Call SAS program
CallSASProgram.md - Call Stata program TO DO
- Round up a date object to the latest quarter
RoundUpToQuarter.md - Dropping columns from a data table
DroppingVariables.md - Bundling claims into episodes
bundleClaims.md - Read Stata 13 data file
ReadStata13.md
For contributors
make.ris the R script to run individual R Markdown files and create the output Markdown.- Since this is a public repository, the example should not contain any protected health information (PHI).
- Add a bullet-point to this README.md file for each tip/trick you add.