Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. # Load the shape files.
  2. # Need to add a new column to the attribute file of the Tuna_blocks grid, which is the 'Type':
  3.  
  4. grid_20@data$Type = 6
  5. head(grid_20)
  6.  
  7. # intersect from raster package
  8. product <- intersect(cell_assgn,grid_20)
  9. summary(product)
  10. head(product)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement