Giter Club home page Giter Club logo

Build Status

carlpch

This is an R package I built to write some useful functions with the goal of improving readability and saving myself some time while doing data manipulation.

Installation:

Install devtools (install.packages('devtools')) before running the commands below to install this package: devtools::install_github("carlpch/carlpch")

In order to run the package, dplyr is required.

Package contents:

Currently, there are only two functions, as shown below:

replace_all(): this takes a dataframe/tibble and replace all value x with value y.

rownonmiss() this is motivated by the same function in STATA.

You can refer to the documentation using ?replace_all and ?rownonmiss once the package is installed on your computer.

Carl Huang's Projects

carlpch icon carlpch

I wrote a simple R package that currently ports two useful functions from STATA to R: "replace_all" and "rownonmiss".

estimating-soft-power-bookdown icon estimating-soft-power-bookdown

I implemented an Item Response Theory (IRT) model on global embassy data to build a "soft power" index that measures countries' diplomatic appeal with R.

nuthatch-your-digital-bookshelf icon nuthatch-your-digital-bookshelf

This is a prototype app that helps Zotero (bibliography management software) users visualize their book collections. and trained a Collaborative Filtering Model to provide book recommendation.

sanction-threat-manuscript icon sanction-threat-manuscript

I used STATA and R to preprocess data on sanction outcomes and run a multinomial logistic regression to analyze why some countries are more resistant to sanction threats than others.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.