initialize_weights: Initialize weights

Description Usage Arguments Details Value See Also

View source: R/initialize_weights.R

Description

Initialize weights

Usage

1
2
initialize_weights(data_table, n_breaks = 11, spline_order = 4,
  plot = FALSE)

Arguments

data_table

Input data table

n_breaks

Number of breaks for the histogram

spline_order

Order of splines

plot

Logical. Produce a histogram plot if true

Details

Initialize the weights using the histogram of p_hat

Value

Histogram values

See Also

npbin, emBspl, ebBeta


anthony-aylward/npbin documentation built on Aug. 22, 2019, 8:08 a.m.