mouseset: Mouse set

Description Usage Arguments Value See Also Examples

Description

Creates a matrix of dim-dimensional points that form a "mouse-like" set with uniform density.

Usage

1
2
mouseset(n = 4000, r.head = 2, r.left.ear = 1.1, r.right.ear = 1.1, left.ear.dist = 2.5,
right.ear.dist = 2.5, dim = 2)

Arguments

n

Number of points to generate.

r.head

Radius of mouse head.

r.left.ear

Radius of mouse left ear.

r.right.ear

Radius of mouse right ear.

left.ear.dist

Distance between the center of the head and the center the left ear.

right.ear.dist

Distance between the center of the head and the center the right ear.

dim

Dimension of points.

Value

Matrix of points with n rows and dim cols.

See Also

ball

Examples

1
2
3
M = mouseset(n=7000, r.head=2, r.left.ear=1.1, r.right.ear=1.1, left.ear.dist=2.5, 
right.ear.dist=2.5, dim=2)
plot(M, cex = 0.5, pch = 19)

CEC documentation built on Sept. 21, 2021, 5:07 p.m.