I tried to creat a loop to calculate some statistics for a ACC df. The loop in general works but the output it creates is not right. It just creats a table where every row hast the same vales for each column and cause I´m new to R I dont know where I made a mistake. I hope someone can help me. Thanks already in advance!!
´´´´
SP <- ACC data