Hi, I would like to change the covariate matrix X in entry so it does not have to contain a covariate column. something like (not tested):
`MURAT <- function (Y, G, X=NULL, rho=seq(0,0.9,by=0.1), weight=FALSE, weight.para1=NA, weight.para2=NA ){
if(is.null(X)){
X=rep(1,dim(G)[1])
}else{
X=cbind(rep(1,dim(G)[1]),X)
}`
I will regenerate the sample.RData file also. It raise a question for me.
m in the paper is the number of covariates but in the code is the number of covariate + 1. Is it ok ?
Hi, I would like to change the covariate matrix X in entry so it does not have to contain a covariate column. something like (not tested):
`MURAT <- function (Y, G, X=NULL, rho=seq(0,0.9,by=0.1), weight=FALSE, weight.para1=NA, weight.para2=NA ){
if(is.null(X)){
X=rep(1,dim(G)[1])
}else{
X=cbind(rep(1,dim(G)[1]),X)
}`
I will regenerate the sample.RData file also. It raise a question for me.
m in the paper is the number of covariates but in the code is the number of covariate + 1. Is it ok ?