fix a small bug around dailyTable
This commit is contained in:
parent
1704cf524c
commit
65c3a60b4b
@ -10,7 +10,7 @@ getDailyOutputList <- function(settings=NULL){
|
|||||||
settings <- setupMuso()
|
settings <- setupMuso()
|
||||||
}
|
}
|
||||||
varTable <- getOption("RMuso_varTable")$'6'
|
varTable <- getOption("RMuso_varTable")$'6'
|
||||||
toPrint <- varTable[which(varTable$codes %in% as.numeric(settings$dailyVarCodes)),]
|
toPrint <- varTable[match(as.numeric(settings$dailyVarCodes),varTable[,1]),]
|
||||||
toPrint <- cbind.data.frame(index=1:nrow(toPrint),toPrint)
|
toPrint <- cbind.data.frame(index=1:nrow(toPrint),toPrint)
|
||||||
print(toPrint, row.names=FALSE)
|
print(toPrint, row.names=FALSE)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user