View source: R/get_equally_spaced_points.R
get_equally_spaced_points | R Documentation |
Generates points approximately equally spaced on a 3D sphere.
get_equally_spaced_points(number_of_points)
number_of_points |
A scalar, positive integer representing the number of points to get. |
A number_of_points
-by-3 matrix whose rows
contain the Cartesian coordinates
of the equally spaced points.
Other Regression functions:
cross_validate_concentration()
,
fit_regression()
,
get_skew_symmetric_matrix()
,
simulate_regression()
,
simulate_rigid_regression()
,
weight_explanatory_points()
library(nprotreg)
# Define the number of points to get.
number_of_points <- 5
# Get the Cartesian coordinates of the equally spaced points.
equally_spaced_points <- get_equally_spaced_points(number_of_points)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.