powered by
The purpose of this function is to generate data, which contains two input variables and one output variable, automatically for all values on a plane.
data.gen3d(range.input, num.grid = 10)
the range of the input variables, as a matrix (\(2 \times n\)).
a number representing the size of the grid on the plane.
the data
# NOT RUN { range.input <- matrix(c(0, 100, 0, 100), nrow=2) num.grid <- 10 data.test <- data.gen3d(range.input, num.grid) # }
Run the code above in your browser using DataLab