This list strives to be beginner friendly. However, we still ask that you PLEASE do read the posting guide http://www.R-project.org/
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.
posting-guide.htmland provide commented, minimal, self-contained, reproducible code.