dimensions

  1. A

    Does dummy coding produce a "high dimensional" dataset?

    Say you have a dataset with only a few categorical variables but each categorical variable has a lot of levels. You dummy encode each categorical variable and give every level a binary variable which increases the number of columns/variables in your dataset. Would this dataset be considered a...
  2. B

    Problem with [,,,1]

    Hi everybody, I have some problems with this operator [] I have this code: for (file in files) { + img <- f.read.analyze.volume(file)[,,,1] + mask3D <- mask3D*(!is.na(img)) + } Error in mask3D * (!is.na(img)) : non-conformable arrays > dim(!is.na(img)) [1] 64 64 18 > for (file...