slm_log: Fit a Simple Linear Regression Model (Log transformed)

Description Usage Arguments Value Author(s) See Also Examples

Description

This is a function to conduct simple linear regression model on two continues variable, Since the dependent variable may violate the normality assumption, so in this function, the dependent variable is log transformed to let it follwo normal distrbution.

Usage

1
slm_log(data, x, y)

Arguments

data

a dataframe

x

the independent variable

y

the dependent varible

Value

summary of the model

Author(s)

Yunrou Gong

See Also

slm_s

Examples

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

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