5.An instructor has 12 students is his class: Amy, Brad, Chad, Daisy, Ed, Fey, George, Hillary, Ike, Jane, Kim, Luke.

For a class assignment, he needs to permute these names at random. Help him accomplish it with R.

x<-c("Amy", "Brad","Chad", "Daisy", "Ed", "Fey", "George", "Hillary", "Ike", "Jane", "Kim", "Luke")
sample(x)
 [1] "Ike"     "Daisy"   "Hillary" "Fey"     "Jane"    "Luke"    "Brad"   
 [8] "Ed"      "Kim"     "George"  "Chad"    "Amy"