Skip to content

Commit

Permalink
print.lm cannot be called directly anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
christophsax committed Jan 11, 2014
1 parent 2c1e7a3 commit 6531a40
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/td.output.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ print.td <- function(x, ...){
#
# Returns:
# prints the object with print.lm as a side effect
print.lm(x, ...)

class(x) <- "lm"
print(x, ...)

cat("\nUse summary() for details. \nUse predict() to extract the final series.
cat("Use summary() for details. \nUse predict() to extract the final series.
\nUse ?td to see the help file.\n")
}

Expand Down

0 comments on commit 6531a40

Please sign in to comment.