Skip to content

Snippets of code for solving common Data Science challenges by using R.

Notifications You must be signed in to change notification settings

nilmolne/Data-Science-in-R

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 

Repository files navigation

Data-Science-in-R

In this repository you will find common Data Science challenges I've come across with and solved by using R.

Create a GAM Formula

Generally, when fitting a Generalized Additive Model (GAM) by using mgcv, you need to write a hardcoded formula specifying each chosen predictor parameters' such as the base dimension for penalized regression smoothers (k), and the type of penalized smoothing basis (spline). This function comes handy to create a formula when all your predictors share the same set of parameters (k, spline).

See create_gam_formula.R

About

Snippets of code for solving common Data Science challenges by using R.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages