Correlation and Fitting linear model function for function "mycor"

1 |

`y` |
numeric vectors of data values |

`x` |
numeric vectors of data values |

`...` |
further arguments to be passed to or from methods. |

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

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

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.