Run Charts with Automatic Rebasing

base_gaps | Return a list of the indices of blocks of sequential 'NAs' in... |

basic_shift | Iterate through a vector and find the indices of all shifts... |

basic_trend | Iterate through a vector and find the indices of all trends. |

df | Create a 'data.frame' from the vectors 'base' and 'base_ext'. |

elems8 | First n non-NA elements of x where n defaults to 8. |

grapes-notin-grapes | Convenience infix function. |

index1 | Index of the first non-NA element of x. |

index8 | Index of the nth non-NA element of x where n defaults to 8. |

multi_shift | Create shift(s) for 'val' using baselines generated by 'sus'. |

rc_fields | Create run chart fields for vector 'val'. |

rc_plot | Plot a run chart. |

rebase | Rebase 'base' starting from 'start' until 'start' using the... |

runchart | Create a run chart fields for dataframe 'df'. |

split | Rephased baselines are joined up when plotted as a single... |

sus | Create baseline(s) for 'val'. |

sus_first | Indices of the first sustained shift of 'val'. |

ticker | Iterate through a vector and find the first sustained shift. |

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.