I need to assign different values to independent observations based on membership in a group of variables and a time interval of 5 minutes. As example of my data frame: