Hello Everyone,
Below is the table each id column contains 7 visits and their value is in AC107c column. I want to use lowess function in R to get a smooth fitted value (one out of 7) for each ID.
Please help me how I can do it in R.
Thanks!!

VisitID ID AC107c
V5 A 70
V6 A 67
V1 A 75
V8 A 62
V4 A 78
V7 A 74
V3 A 80
V6 B 101
V3 B 109
V4 B 100
V7 B 103
V1 B 94
V8 B 100
V5 B 103
V1 C 81
V8 C 86
V5 C 84
V6 C 83
V4 C 88
V3 C 86
V7 C 85



Source link