3:43 PM (4 minutes ago)
This list strives to be beginner friendly. However, we still ask that you PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Trying to extract dates from a variable in a data frame and then make a new column with these dates. I’m using regular expression along str_extract command from package stringr.
I’m getting the error “Error in geno_time$time : $ operator is invalid for atomic vectors” when I used this command below on my dataframe.
I’m attaching example of my data and what I want to accomplish.
I appreciate your input and have a great weekend.