Skip to content
Prev 82382 / 398506 Next

Maintaining factors when copying from one data frame to another

Kurt Wollenberg wrote:

            
The following may be better:

newDF <- subset(oldDF, select = c(A, C, D))

HTH,
Tobias