Skip to content

Commit

Permalink
further spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
philchalmers committed Oct 23, 2024
1 parent 67c513d commit 762fe18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/SimSolve.R
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ SimSolve <- function(design, interval, b, generate, analyse, summarise,
}
for(i in start:nrow(design)){
if(verbose && nrow(design) > 1L){
if(i > 1L) cat("\n")
cat(sprintf('\n#############\nDesign row %s:\n\n', i))
print(cbind(as.data.frame(design[i,]), b = b))
}
Expand Down Expand Up @@ -695,6 +696,7 @@ SimSolve <- function(design, interval, b, generate, analyse, summarise,
tmp <- as.data.frame(design[i,])
cat(sprintf(paste0("\nSolution for %s: %", if(integer) ".1f" else ".3f"),
colnames(design)[which(is.na(tmp))], roots[[i]]$root))
if(verbose && i == nrow(design)) cat("\n\n")
}
if(save && i < nrow(design)) saveRDS(roots, tmpfilename)
}
Expand Down

0 comments on commit 762fe18

Please sign in to comment.