0

Just wondering what it means the "dot" in the code below

data %>% .[. %in% rownames(data2)]
user438383
  • 5,716
  • 8
  • 28
  • 43
adR
  • 305
  • 4
  • 14
  • It is a placeholder for the data that has been passed from the left hand side of the pipe. – user438383 Dec 21 '21 at 14:42
  • basically data is a character vector and data2 is a matrix(data frame), so I want to match what is in data to the rownames of data2. – adR Dec 21 '21 at 14:45

0 Answers0