knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
This is Tigana Runte's repository for the STAT545B Winter 2021 function assignment.
This repository contains a package called sig
that provides a function sign_vars
that finds and displays the significant variables in a linear model.
You can install sig
using
devtools::install_github("TiganaR/Functions2021TR")
and you can then load the package by running
library("sig")
Below I provide an example of using the function `sign_vars.R
library(sig) sign_vars(iris[,1:3], as.vector(iris[,4]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.