Skip to contents

Prior engine for CAR

Usage

car_engine(proj, type, neib = NULL, tau = 1)

Arguments

proj

fastan::project object.

type

string, type of CAR, can be either 'conditional', 'expl', or 'simple'.

neib

function that calculates the neighborhood matrix (default NULL, for when type == "siple").

tau

numeric, to scale CAR matrix, default is 1.

Value

list of covariance matrices.