Learn R Programming

predict3d (version 0.1.5)

seq_range: Create a sequence over the range of a vector

Description

Create a sequence over the range of a vector

Usage

seq_range(x, n = 2)

Arguments

x

A numeric vector

n

An integer specifying the length of sequence (i.e., number of points across the range of x)

Examples

Run this code
seq_range(1:5,n=3)

Run the code above in your browser using DataLab