Posts R Notes
Post
Cancel

R Notes

  1. Read excel file into R.
    library(gdata)
    data <- read.xls(file, header = TRUE)
    
  2. Merge two data frame.
    merge(data frame 1, data frame 2, by = "ID", all.x = TRUE, all.y = TRUE)
    
Updated Feb 23, 2020 2020-02-23T15:14:05-06:00
This post is licensed under CC BY 4.0