tests/make.R

library(rcdd)

x <- seq(10, 90, 10)
x <- x[x != 50]
y <- as.numeric(x > 50)
m <- cbind(1, x)

tanv <- m
tanv[y == 1, ] <- (-tanv[y == 1, ])
tanv

makeV(points = tanv)
makeV(rays = tanv)
makeV(lines = tanv)

Try the rcdd package in your browser

Any scripts or data that you put into this service are public.

rcdd documentation built on April 25, 2023, 1:09 a.m.