actor <- c("kim", "lee", "hyun")gender <- c("M", "F", "M")boxoffice2012 <- c(100, 110, 120)boxoffice2014 <- c(100, 80, 160)actordf <- data.frame(actor, gender,boxoffice2012, boxoffice2014) actordft <- t(actordf)actordft str(actordft ) require(reshape) # gender 가없었을때 돌아가던 것actordf_m1 <- melt(actordf, id=c("actor"))actordf_m1 # gender 가..