Michael,
Do you have quantitative data, or just images. If the former, seeing an
example of what you have and what you'd like the output to be would
be very helpful. If the latter, a program like ImageJ (free and Open
Source; google for it) might be more what you need.
Sarah
On Sat, Feb 12, 2011
I have a large number of points which I would like to associate with
either the polygon (in my case, lake) they are in or nearest to. I have
succeeded in classifying the points which are actually in a polygon
using overlay(). I have scoured around looking for a solution to
identifying the nea
I am using *R* and I am a senior at Western Carolina University and working
on my senior thesis and the data set in which I have are images of mineral
thin sections all separated into different groups of grains, magnetite,
quartz, etc.. either being a vector layer or a raster layer or any other
ima
On Sat, 12 Feb 2011, Sean O'Riordain wrote:
Hi Rahul,
First look at
str(polygon, max.level=2)
to understand how a shapefile is represented in R, then have a look at
str(polygon@data)
One of the major strengths of the raster package is that it encapsulates
much of the lower-level detail tha
On 02/12/2011 02:05 PM, Sean O'Riordain wrote:
> Hi Rahul,
>
> First look at
> str(polygon, max.level=2)
> to understand how a shapefile is represented in R, then have a look at
> str(polygon@data)
> which is a dataframe - you can add a new column to this dataframe like...
> polygon@data$n
Hi Rahul,
First look at
str(polygon, max.level=2)
to understand how a shapefile is represented in R, then have a look at
str(polygon@data)
which is a dataframe - you can add a new column to this dataframe like...
polygon@data$newcolumn <- 1:nrow(polygon@data)
i.e you can treat this dataframe