myseq_n: myseq_n is for calculating the nth number based on the first...

Description Usage Arguments Value Examples

View source: R/myseq_n.R

Description

myseq_n is for calculating the nth number based on the first 3 numbers.

Usage

1
myseq_n(x, n)

Arguments

x

the vector in the input

n

the order of n need to be calculate

Value

my_seq_n

Examples

1
myseq_n(x = c(2, 4, 3), n = 4)

yanzhang7559/hw04pyanzhang7559resub documentation built on Oct. 3, 2020, 12:48 a.m.