Rademacher: Random generation from Rademacher distribution

RademacherR Documentation

Random generation from Rademacher distribution

Description

Random generation for the Rademacher distribution (values -1 and +1 with equal probability).

Usage

rsign(n)

Arguments

n

number of observations. If length(n) > 1, the length is taken to be the number required.


twolodzko/extraDistr documentation built on Dec. 4, 2023, 8:56 p.m.