On Tue, 2 Nov 2021, Ivan Krylov wrote:
That's because mutate() doesn't, well, mutate its argument. It _returns_ its changes, but it doesn't save them in the original variable. It's your responsibility to assign the result somewhere:
Ivan, I realized this after thinking more about the issue. By putting all tibble columns in the select stanza the sampdate column was added to the tibble. Thanks very much, Rich ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.