[ top | up ]

Print a regression result as from lsfit(..)

Syntax

ls.print(ls.out, digits=4, print.it=TRUE)

Arguments

ls.out Typically the result of lsfit(..)
digits The number of significant digits used for printing
print.it logical; ~~Describe print.it here~~

Description

Computes basic statistics, including standard errors, t- and P- values for the regression coefficients and prints them if print.it is TRUE.

Values

If print.it is not TRUE, a list with the components
summary The ANOVA table of the regression coef.table matrix with regression coefficients, standard errors, t- and P-values is returned.

Note

Usually, you'd rather use summary(lm(...)) and anova(lm(...)) for obtaining similar output.

See Also

ls.diag, lsfit; lm, lm.influence which usually are preferable.

Examples

## See help for <CODE><A HREF = "lsfit.html">lsfit</A></CODE>