Skip to content

Commit

Permalink
Fixed unnecessary linebreak for ML method
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanTsegelskyi committed Jun 1, 2014
1 parent a5045bc commit 784ca3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/S3.R
Expand Up @@ -434,7 +434,7 @@ pander.lme <- function(x, caption = attr(x, 'caption'), summary = FALSE, ...) {
if (is.null(caption)) {
if (is.null(storage$caption))
caption <- sprintf('Linear mixed-effects model fit by %s : %s',
paste(sub('^[ ]*', '', ifelse(x$method == "REML", "REML", "maximum likelihood\n"))),
paste(sub('^[ ]*', '', ifelse(x$method == "REML", "REML", "maximum likelihood"))),
paste(sub('^[ ]*', '', deparse(x$call$fixed)), collapse = ''))
else
caption <- get.caption()
Expand Down

0 comments on commit 784ca3c

Please sign in to comment.