slm_s: Fit a Simple Linear Regression Model

Description Usage Arguments Value Author(s) See Also Examples

Description

This is a function to conduct simple linear regression model on two continues variable

Usage

1
slm_s(data, x, y)

Arguments

data

a dataframe

x

the independent variable on x axis

y

the dependent variable on y axis

Value

summary of the model

Author(s)

Yunrou Gong

See Also

slm_log

Examples

1
slm_s(sleepdata, "Tempreture", "SleepDuration")

poorbaby/r_package_sha documentation built on May 29, 2019, 7:38 a.m.