mask

  1. 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...