Description Usage Arguments Value

View source: R/functions_matrix_helpers.R

efficiently subset data.table as one would a subrange of a matrix

1 |

`dt` |
a data.table containing i, j, and val |

`i_range` |
integer, range of i indexes to retrieve |

`j_range` |
integer, range of j indexes to retrieve |

`fill_square` |
logical, should region spanning below diagonal be filled in? |

subset of dt within ranges

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.