Learn R Programming

InspectChangepoint (version 1.2)

random.UnitVector: Generate a random unit vectors in R^n

Description

Generate a random unit vectors in R^n

Usage

random.UnitVector(n)

Arguments

n

length of random vector