Skip to contents

Uses internal and external weights (for negative and positive effects) as well as internal and external exponents/factors for these weights to construct penalty factors.

Usage

construct_pf(w_int, w_ext, v_int, v_ext, type)

Arguments

w_int

internal weights: numeric vector of length p with non-negative entries

w_ext

external weights: numeric vector of length p with non-negative entries

v_int

exponent or factor for internal weights: non-negative scalar

v_ext

exponent or factor for external weights: non-negative scalar

type

character "geo", "exp", "rem" or "ari" (with or without addition of ".con")