Learn R Programming

cardinalR (version 1.0.6)

gen_curvycylinder: Generate Curvy Cylinder

Description

This function generates a dataset representing a structure with a curvy cylinder.

Usage

gen_curvycylinder(n = 500, h = 10)

Value

A data containing a curvy cylinder.

Arguments

n

An integer value (default: 500) representing the sample size.

h

A numeric value (default: 10) representing the height of the cylinder.

Examples

Run this code
set.seed(20240412)
curvycylinder <- gen_curvycylinder(n = 500, h = 10)

Run the code above in your browser using DataLab