I know how to specify keeping observations based on their ordered row position in a dataset, e.g.,
But can one do the same for columns, i.e., keep columns based on their position in the dataset? So something like keep if column==1.
I don't know how STATA refers to columns in this context and haven't been able to find a post or documentation on this.
Code:
keep if _n==1
I don't know how STATA refers to columns in this context and haven't been able to find a post or documentation on this.
Comment