powered by
This function generates a grid dataset with specified uniform points along each axes.
gen_unifcube(n = 500, p = 4)
A data containing the cube with uniform points.
A numeric vector (default: 500) representing the sample size.
A numeric value (default: 4) representing the number of dimensions.
set.seed(20240412) unifcube <- gen_unifcube(n = 500, p = 4)
Run the code above in your browser using DataLab