calculate_offsets: Calculates the offsets for the current block

View source: R/calculate_offsets.R

calculate_offsetsR Documentation

Calculates the offsets for the current block

Description

Calculates the offsets for the current block

Usage

calculate_offsets(
  current_missings,
  current_observations,
  mcontrol,
  current_block,
  pred,
  liste,
  X,
  blocks,
  current_intercept
)

Arguments

current_missings

index vector (indices) of current missing observations

current_observations

index vector (indices) of current used observations

mcontrol

control for missing data handling

current_block

index of current block

pred

predictions of current block

liste

list with offsets

X

original data

blocks

information which variable belongs to which block

current_intercept

the intercept estimated for the current block

Value

list with offsets, used imputation model and the blocks used for the imputation model (if applicable)


prioritylasso documentation built on April 11, 2023, 6:02 p.m.