Reads in a .txt data file, formatted for the Java program, and returns as a list

.ReadData(data.file)

Arguments

data.file

data file to be read

Value

dataRead a list containing covariates: matrix of covariate values disease: binary outcome vector n: number of subjects R: number of clusters startRJ: 1st variable included in RJ V: number of variables var.names: names

Author

Paul Newcombe