R/SimulateData1P.R

Defines functions SimulateData1P

Documented in SimulateData1P

#Data function one papernt (P1)

SimulateData1P <- function(N, P1,b0.1, b1.1, sd.1) {

  t <- rnorm(n = N,
             mean = b0.1 + b1.1*P1,
             sd = sd.1)

  return(t)

}

Try the MRPC package in your browser

Any scripts or data that you put into this service are public.

MRPC documentation built on April 11, 2022, 5:10 p.m.