Although it seems similar question but it isn't
Expected:
Select the data from particular column until end i.e delete everything to the left of the data.
But this particular column appears at different column indices
Therefore, simple approaches as below doesn't work
Select based on numbers
iris [,4:ncol(iris)]
iris[,"Petal.Width"]
Tried
iris[,"Petal.Width":colnames(iris)[ncol(iris)]]
iris[,`Petal.Width`:colnames(iris)ncol(iris)]
Since the Petal.Width can appear at any column position, it is must to use column names.
Is there any efficient way to tell to R,
How to select from Petal.Width until end of the columns irrespective of which column indices it appears ?