Description Usage Arguments Value

Function that adds new cols into a matrix/vector (depending the case). It works simulating the behavior of a matrix in Matlab. Everytime you want to add a col or a full matrix in an out of bounds index, automatically is created with the col given.

1 | ```
add_col(original, row_index, new_object)
``` |

`original` |
Initial variable where the final matrix will be stored, it can be already matrix. |

`row_index` |
Numeric index representing the col where the new line should be inserted. |

`new_object` |
col or matrix to be inserted in the original one. |

The matrix with the changes done after the function was run.

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.