search for: averagepm2_5

Displaying 1 result from an estimated 1 matches for "averagepm2_5".

2024 Dec 11
2
aggregate produces results in unexpected format
...unction. xx[,1] <- mean(df) xx[,2] <- min(df) xx[,3] <- max(df) xx[,4] <- length(df) cat("These are the dimensions of the matrix in the function",dim(xx),"\n") print(xx) return(xx) } # Create data frame inJan2Test <- data.frame(MyDay=rep(c(1,2,3),4),AveragePM2_5=c(10,20,30, 11,21,31, 12,22,32, 15,25,35)) str(inJan2Test) cat("This is the data frame","\n")...