Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

randconf

Generate a sample indicator vector


Description

Generates a logical vector of length n with p TRUEs.

Usage

randconf(n, p)

Arguments

n

positive integer.

p

positive integer.

Value

A logical vector.

Author(s)

See Also

Examples

randconf(10,3)

fpc

Flexible Procedures for Clustering

v2.2-9
GPL
Authors
Christian Hennig <christian.hennig@unibo.it>
Initial release
2020-12-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.