fun_plot: Plot Recursive Sequence Function

Description Usage Arguments Value Examples

View source: R/fun_plot.R

Description

Function that allows a user to input a data frame with four columns, and runs fun_rec_seq to generate a line plot.

Usage

1

Arguments

df

Data frame where the first 3 columns are numeric to be input to function fun_rec_seq and fourth column is positive integer n for sequence to be generated.

Value

Returns line plot of the output values for different values of n.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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)

fun_plot(my_data)

21Sp-STAT-413-613/hw04p.marc.estevadeordal documentation built on March 1, 2021, midnight