I think a simple reproducible example ("reprex") may be necessary for you to get a useful reply. Questions with vague specifications such as yours often result in going round and round with attempts to clarify what you mean without a satisfactory answer. Clarification at the outset with a reprex may save you and others a lot of frustration.
Cheers, Bert On Sat, Nov 4, 2023 at 1:41 AM Alessandro Puglisi < alessandro.pugl...@gmail.com> wrote: > Hi everyone, > > I have a tibble with various ids and associated information. > > I need to add a new column to this tibble that retrieves a specific 'y' > value from a different tibble that has some of the mentioned ids in the > first column and a 'y' value in the second one. If the id, and so the 'y' > value is found, it will be included; otherwise, 'NA' will be used. > > Could you please help me? > > Thanks, > Alessandro > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. > [[alternative HTML version deleted]] ______________________________________________ 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.