recur_plot: recur_plot

Description Usage Arguments Value Examples

View source: R/recur_plot.R

Description

Takes a dataframe of arguments for the recur_seq function, processes each in turn, and plots the results. Generates sequences of varying length using recur_seq and plots them

Usage

1

Arguments

df

A dataframe with four columns, the first three giving the starting values for the sequence, the last the number of values.

Value

A plot of the returned sequence values for different values of n.

Examples

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

21Sp-STAT-413-613/hw04ryanheslin documentation built on Feb. 25, 2021, 2:56 p.m.