Methods to convert pixsets to various objects
Methods to convert pixsets to various objects
## S3 method for class 'pixset' as.data.frame(x, ..., drop = FALSE)
x |
pixset to convert |
... |
ignored |
drop |
drop flat dimensions |
where
px <- boats > 250 #Convert to array of logicals as.logical(px) %>% dim #Convert to data.frame: gives all pixel locations in the set as.data.frame(px) %>% head #Drop flat dimensions as.data.frame(px,drop=TRUE) %>% head
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.