Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

mylm

Correlation and Fitting linear model function for function "mycor"


Description

Correlation and Fitting linear model function for function "mycor"

Usage

mylm(y, x, digits = 3)

Arguments

y

numeric vectors of data values

x

numeric vectors of data values

digits

integer indicating the number of decimal places (round) or significant digits (signif) to be used.

Value

mylm returns a list of following components

out

a list of class "htest" from cor.test between the last paired samples in a data.frame.

result

a numeric vector of length 4, consist of r and p values from cor.test,slope and intercept values from lm between numeric vector y and x


processR

Implementation of the 'PROCESS' Macro

v0.2.6
GPL-2
Authors
Keon-Woong Moon [aut, cre], Sokyoung Hong [ctb]
Initial release
2021-1-5

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.