Short examples for moving average and cumulative average usig R. Moving average Some alternatives to do moving average, sometimes called running mean or rolling mean. You can use base R, data.table or zoo package. Use function frollmean from data.table package or rollmean from zoo package.
Read MoreChange default HOME
Git Bash is used in the example. Sometime you need to change the location of your default Git directory to locate your .ssh keys for easy access. This can be done as follows: Via Git Bash Use git bash to change HOME to C:\Users\ybk.
Read MoreNote taking with org-roam
Updated: 2023-11-13 Add nodes connected to references via citar When citar-org-roam is installed then you can use citar-open-note with SPC n b to add notes to the selected reference. This will open a list of your references in Zetoro database.
Read MoreError handling
Handling error in R can easily be done with debugger or by activating error options with recover. options(error = recover) Or to activate warning as error with: options(warn = 2) Nevertheless this blog post explain nicely other alternative including the code below that you can put in your .
Read More