[R] Adding columns to a tibble based on a value in a different tibble

Alessandro Puglisi @|e@@@ndro@pug||@| @end|ng |rom gm@||@com
Fri Nov 3 17:20:43 CET 2023


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]]



More information about the R-help mailing list