search for: nasa_part_rules

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

2009 Apr 21
1
Functions in lists or arrays?
...r errors for arrays, and anything else I can think of. I'm an R neophite, which likely shows. The only way I seem to be able to do the above, is to generate unique names for each function, and add each 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&qu...