File: rbox.Rd

package info (click to toggle)
r-cran-geometry 0.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,964 kB
  • sloc: ansic: 20,610; cpp: 328; xml: 203; sh: 13; makefile: 5
file content (26 lines) | stat: -rw-r--r-- 597 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rbox.R
\name{rbox}
\alias{rbox}
\title{Generate various point distributions}
\usage{
rbox(n = 3000, D = 3, B = 0.5, C = NA)
}
\arguments{
\item{n}{number of random points in hypercube}

\item{D}{number of dimensions of hypercube}

\item{B}{bounding box coordinate - faces will be \code{-B} and \code{B} from origin}

\item{C}{add a unit hypercube to the output - faces will be \code{-C} and \code{C} from origin}
}
\value{
Matrix of points
}
\description{
Default is corners of a hypercube.
}
\author{
David Sterratt
}