How to subtract a median using complex condition in r?
How to calculate the median for groups separately in r?
How to avoid null values in a for loop to handle list objects in r?
How to naming list elements using only lapply in r?
How to use "names" function in lapply?