Hello,
I have no idea how to report in a vector the commons variables from a data.frame or matrix.
I have a data many columns. In this example I show four columns with d1-d4 as names.
So, how do I create a vector with the common strings? Something as this:
It looks simple, but unfortunately I can't decipher it.
I can't decipher it.
Thanks for your time and interest.
I have no idea how to report in a vector the commons variables from a data.frame or matrix.
I have a data many columns. In this example I show four columns with d1-d4 as names.

So, how do I create a vector with the common strings? Something as this:

It looks simple, but unfortunately I can't decipher it.
I can't decipher it.
Thanks for your time and interest.