retrieveLmStats {SherlockHolmes}R Documentation

retrieveLmStats

Description

This function retrieves intercept, slope, r.squared, and adj.r.squared from lm()

Usage

retrieveLmStats(x, y)

Arguments

x

is second argument to lm()

y

is first argument to lm()

Value

returns a list containing the return value of lm, intercept, slope, r.squared, and adj.r.squared

Examples

retr<-retrieveLmStats(1:10,runif(10,0,1))


[Package SherlockHolmes version 1.0.1 Index]