cbind_pos | R Documentation |
This function adds an index and a pos column to dataframes
cbind_pos(input_df, position_vec)
input_df |
the dataframe which the user wants to append index and pos columns to |
position_vec |
the vector of positions which will be appended to the dataframe |
output_df the dataframe with two new columns at the beginning, index and pos, as well as the original columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.