Skip to content

Covariates #3

Description

@RaphaelRaphael

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions