DemoBS: Demonstrate the construction of ordinary B-splines

DemoBSR Documentation

Demonstrate the construction of ordinary B-splines

Description

Demonstrate the construction of 4 ordinary cubic B-splines on 8 knots.

Usage

DemoBS(uniform = TRUE, clamped = FALSE)

Arguments

uniform

if TRUE, place uniform knots; if FALSE, place non-uniform knots.

clamped

if TRUE, place clamped boundary knots when uniform = FALSE. For aesthetic reason, only boundary knots on the left end are clamped. This parameter is ignored when uniform = TRUE.

Value

This function has no returned values.

Author(s)

Zheyuan Li zheyuan.li@bath.edu

Examples

require(gps)

## uniform B-splines
DemoBS(uniform = TRUE)

## non-uniform B-splines
DemoBS(uniform = FALSE, clamped = FALSE)

## non-uniform & clamped B-splines
DemoBS(uniform = FALSE, clamped = TRUE)

gps documentation built on Nov. 2, 2023, 6:08 p.m.

Related to DemoBS in gps...