diff options
Diffstat (limited to 'R/idframe.R')
-rw-r--r-- | R/idframe.R | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/R/idframe.R b/R/idframe.R index 8be4d67..be25184 100644 --- a/R/idframe.R +++ b/R/idframe.R @@ -18,10 +18,10 @@ idframe <- function(output=data.frame(numeric(0)),input=data.frame(numeric(0)), p <- dim(output)[2];m <- dim(input)[2] if(outputnames==NULL) - outputnames <- sapply(1:p,FUN=function(x){paste("y",as.character(x),sep="")}}) + outputnames <- sapply(1:p,FUN=function(x){paste("y",as.character(x),sep="")}) if(inputnames==NULL) - inputnames <- sapply(1:m,FUN=function(x){paste("u",as.character(x),sep="")}}) + inputnames <- sapply(1:m,FUN=function(x){paste("u",as.character(x),sep="")}) colnames(dat$output) <- outputnames colnames(dat$input) <- inputnames |