define_lin_pred_struct_cov_main.m

来自「The BNL toolbox is a set of Matlab funct」· M 代码 · 共 13 行

M
13
字号
function lin_pred_struct_cov=define_lin_pred_struct_cov_main(cov_nodes)

%defines default structure of the linear predictor for the CPTs 
%for the case covariates but idea is same as in
%define_lin_pred_struct_cov_default

%0=main effects of covariates
%1 interaction with response categories
%2 interaction with parents 
%default = 2

lin_pred_struct_cov=zeros(1,size(cov_nodes,1));

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?