Skip to content

Instantly share code, notes, and snippets.

@siero5335
Last active June 22, 2016 05:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save siero5335/86b5d51676814183071f6f08e22afb0f to your computer and use it in GitHub Desktop.
Save siero5335/86b5d51676814183071f6f08e22afb0f to your computer and use it in GitHub Desktop.
library(readxl)
library(tidyr)
library(dplyr)
df_XX <- read_excel(path = "hoge.xlsx",
sheet = 1,
na = "N/A")
Metabo <- df_XX %>% spread("Component Name", Area)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment