Matrices / Reference
alerta.matrix.remove_row
TradingView-compatible spelling: matrix.remove_row, runs without warnings
Removes the row at index and returns its values as an array.
alerta.matrix.remove_row(id, index) → ArrayParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | Yes | — | Matrix ID. |
index | int | No | — | Row index. Default: the last row. |
Returns
ArrayExample
alerta.matrix.remove_row
m = matrix.new(2, 2, 0)if barstate.isfirst matrix.remove_row(m, 0)plot(matrix.rows(m), { title: "rows-", pane: "oscillator" })Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.