for example consider the following dataframe:
X[[i]] X[[i]] X[[i]]
1 1 1 1
2 1 1 2
3 1 2 2
4 0 3 0
5 3 3 3
6 0 3 0
7 4 3 4
8 4 4 4
the result will be:
X[[i]] X[[i]] X[[i]] output
1 1 1 0 1
2 1 1 2 1
3 1 2 2 2
4 0 3 0 0
5 3 3 3 3
6 0 3 0 0
7 4 3 4 4
8 4 4 4 4
The dataframe vary in their number of rows and columns in each execution. And the output column values are numeric
Thanks in advance.