genInits_f: Function for generating initial starts for estimated f

View source: R/genInits_f.R

genInits_fR Documentation

Function for generating initial starts for estimated f

Description

Function for generating initial starts for estimated f

Usage

genInits_f(nn, nstarts = 1, seed, outcome)

Arguments

nn

length of outcome nn

nstarts

number of starts

seed

numeric seed for random initializations

outcome

vector of outcome, binary 0 & 1

Value

matrix of initializations

Examples

outcome <- rbinom(10, 1,.5)
genInits_f(nn = 10, nstarts = 1, seed = 88, outcome = outcome)

statdivlab/happi documentation built on April 19, 2024, 2:04 a.m.