Transpose

Description

Flips a data frame so that the rows are columns and the columns are rows

R Code

Transposing data(birthwt) yields the following code:

birthwt<-as.data.frame(t(birthwt))