Displaying 2 results from an estimated 2 matches for "tussock".
2012 May 17
1
oldlogspline probabilities
I using oldlogspline (from logspline package) to model data distributions, and having a problem.
My data are search area sizes. They are based on circular search radii from random points to the nearest edge of the nearest grass tussock. Search area sizes are distributed from 0 (the random point intercepts a tussock) and upwards (as points are further from any tussocks). The density of all my distributions (using doldlogspline) are highest at size=0, and decline as search area increases.
I am most interested in the probability of...
2011 May 19
2
Converting the graphics window to a data matrix
I'm wondering if anyone is aware of a way to take what is visible in the
R graphics window, pixelate it, and express that pixellation in a
numeric matrix. For example, I am using the following command to create
a black (present) and white (absent) spatial simulation of grass
tussock distribution.
>
symbols(x=runif(100,-.5,1.5),y=runif(100,-.5,1.5),circles=runif(100)/30,
inches=F,bg=1,xlim=c(0,1),ylim=c(0,1))
What I would like to end up with is a 2 dimensional matrix that
indicates presence/absence of grass in any given pixel as per the image
generated from the above graph...