Learn R Programming

MandalaR (version 0.1.0)

f_factor: Mandalar: package for building mandalas from parametric equations of classical curves

Description

Function to reduce points

Usage

f_factor(x, y, k)

Value

Returns a dataframe with the original points plus the respective changed points.

Arguments

x

is a vector length n with coordinate x of point

y

is a vector length n with coordinate y of point

k

is a vector with factor of decrease or increase points

Examples

Run this code
x=c(1,1)
y=c(0,1)
k=c(0.5)
f_factor(x,y,k)


Run the code above in your browser using DataLab