data_random: Generate random data.

View source: R/DPI.R

data_randomR Documentation

Generate random data.

Description

Generate random data.

Usage

data_random(k, n, seed = NULL)

Arguments

k

Number of variables.

n

Number of observations (cases).

seed

Random seed for replicable results. Defaults to NULL.

Value

Return a data.frame of random data.

Examples

d = data_random(k=5, n=100, seed=1)
cor_network(d)


DPI documentation built on June 18, 2025, 9:08 a.m.