darwin-eu-dev/TreatmentPatterns

AgeWindow question

PRijnbeek opened this issue · 2 comments

export <- function(andromeda, outputPath, ageWindow = 10, minCellCount = 5, censorType = "minCellCount", archiveName = NULL) {

Can ageWindow only be an integer or also a list as ageWindow = c(12, 18, 45, 66, 150)? If so this is not reflected in the documentation above.

Furthermore it is not clear in the code why the variable is named Andromeda can you explain?

The ageWindow can be a vector of numbers like c(12, 18, 45, 66, 150). This is indeed not reflected in the documentation of the function, but is discussed in the vignette here.

The parameter andromeda for export() takes an Andromeda object created by computePathways(), described under Value here.

Resolved in latest CRAN release.