'I want to assign grades to students I am not sure how to do it?

How may I assign grades to students?

grades<-runif(18,min=80,max=100)
df<-data.frame(student=c("Amanda","Betty","Carol"),grades,semester=1:6)
View(df)
ggplot(df,aes(x=semester,y=grades,color=student))+geom_line()+
  facet_wrap(~student)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source