predict_normal: Simulate Normal Values

View source: R/simulate.R

predict_normalR Documentation

Simulate Normal Values

Description

This internal function simulates covariate values from a normal distribution.

Usage

predict_normal(x, mean, est_sd = NA)

Arguments

x

Integer specifying the number of observations to be simulated.

mean

Numeric scalar specifying the mean of the distribution.

est_sd

Numeric scalar specifying the standard deviation of the distribution.

Value

Numeric vector of simulated covariate values under the normal distribution.


CausalInference/gfoRmula documentation built on Oct. 1, 2024, 8:36 p.m.