General Helper

addElement | Add an element to a given list |

buildPeriodVector | Build vector filled with repeating 1, 2, 3... |

calcLogChanges | Calculate vector of log percent changes of input vector |

calcPercentChanges | Calculate vector of simple percent changes of input vector |

calcPercentInsideInclusive | Calculate percentage of vector's elements inside given range... |

chartHist | Chart nice histogram |

getAttribute | Return attribute of object |

getByIndex | Return element "i" of "a" assuming that "a" has infinite tail... |

getIndicesOfMax | Get indices of max element of matrix |

getLast | Get last element of vector |

getLength | Check that all params have length = 1 or same length > 1 |

getLengths | Return vector of lengths of list elements |

getSurfColors | Return set of colors for 3d surface Author: [email protected] |

KKKV | Make a function of four arguments take a vector as a fourth... |

KV | Make a function of two arguments take a vector as a second... |

KVV | Make a function of three arguments take vectors as a second... |

KVVV | Make a function of four arguments take vectors as a second,... |

matrixSwitch | Switch that takes expression and results as vectors... |

sumPeriod | Aggregate data of data frame summing up given periods |

vectorSwitch | Common switch that takes expression as vector (helper.R) |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.