search for: nasa_part_r1

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

Did you mean: nasa_part_b1
2009 Apr 21
1
Functions in lists or arrays?
...ch name into a list, sort of like this: # Register ourselves models <- cbind(models, "Nasa_PART_Rules") bounds <- cbind(bounds, "Nasa_PART_Bounds") Nasa_PART_Rules <- NULL Nasa_PART_Bounds <- NULL # Rules section Nasa_PART_Rules <- rbind(Nasa_PART_Rules, c("Nasa_PART_R1", "F")) Nasa_PART_R1 <- function(f) { f[,"CYCLOMATIC_COMPLEXITY"] > 8 & f[,"CYCLOMATIC_COMPLEXITY"] <= 60 & f[,"LOC_TOTAL"] > 73 } Nasa_PART_Bounds <- rbind(Nasa_PART_Bounds, c("Nasa_PART_B1")) Nas...