visual structure of a data.frame: locations of NAs and much more

后端 未结 4 1777
北恋
北恋 2021-02-05 22:07

I want to represent the structure of a data frame (or matrix, or data.table whatever) on a single plot with color-coding. I guess that could be very useful for many people handl

4条回答
  •  伪装坚强ぢ
    2021-02-05 23:00

    You can try out visdat package(https://github.com/ropensci/visdat), which shows the NA values and data types in the plot

    install.packages("visdat")
    library(visdat)
    vis_dat(airquality)
    

提交回复
热议问题