powered by
Function to reduce points
f_factor(x, y, k)
Returns a dataframe with the original points plus the respective changed points.
is a vector length n with coordinate x of point
is a vector length n with coordinate y of point
is a vector with factor of decrease or increase points
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