[R] intersection in data frame

Gábor Malomsoki gm@|om@ok|1980 @end|ng |rom gm@||@com
Thu Oct 13 20:08:35 CEST 2022


i need to create from a column of observations variables in a datafram like
this way:
ID    station  value
12      xy        15
12      xz        20
13       xy       16
13       xz       19

new df:

 ID      xy     xz
12      15     20
13      16     19

i have been looking around for examples, but i could not find any how to
change my df.
I would like to make regression analysis on the values from different
production stations, so my df is very huge.

Please help on finding the package, description or anything else could help.

Thank you in advance!

Best regards

	[[alternative HTML version deleted]]

More information about the R-help mailing list