README.md

hw04paevans872

Author: Anna Evans, GitHub ID: aevans872

The goal of hw04paevans872 is to create a function which return output of a recursive sequence and another function which plots the output of the recursive sequence to a line plot.

Installation

You can install the released version of hw04paevans872 by permission of the author at install.packages(“hw04paevans872”)

install.packages("hw04paevans872")

Example

This is a basic example which shows you how to solve a common problem:

library(hw04paevans872)
## basic example code
recurseq1(x = c(2,4,3), n = 3)
#> [1] 3

my_data <- tibble::tribble(
~x, ~y, ~z, ~n,
2,4,3,3,
2,4,3,4,
2,4,3,5,
2,4,3,6,
2,4,3,7,
2,4,3,8,
2,4,3,9,
2,4,3,10,
2,4,3,12)
recurseq2(my_data)



STAT-413-613-21S/hw04paevans872 documentation built on Feb. 28, 2021, 12:12 a.m.