Home > front end >  R Create print table with different types of data in it
R Create print table with different types of data in it

Time:01-27

Here is my problem

I have this sample data.frame :

Name=c("a","b","c","d")
Value=c(12.3,10.5,2.6,1.2)
Label=c("label1","label2","label3","label4")
df=data.frame(Name,Value,Label)

I want to create a table only for displaying (in a Rnotebook) with the data in df but flipping rows and columns.

enter image description here

  •  Tags:  
  • Related