If you are looking for an R solution, here’s one way to do it: The trick is using [
combined with rowSums
FRAMETRUE$Group1 <- rowSums(FRAMETRUE[, 2:8], na.rm = TRUE)
solved Sum rows by interval Dataframe
If you are looking for an R solution, here’s one way to do it: The trick is using [
combined with rowSums
FRAMETRUE$Group1 <- rowSums(FRAMETRUE[, 2:8], na.rm = TRUE)
solved Sum rows by interval Dataframe