Repalce NA mit Mittelwert pro Gruppe

impute_lm(df, rating ~ 1 | id)
Disgusted Dunlin