I will add a "[.tile.list" method in the next release of deldir so that
the appropriate attributes are preserved. This won't happen for a month
or so though; I have some other pressures on me at the moment.
cheers,
Rolf Turner
On 15/01/15 04:52, Raphael Päbst wrote:
Thanks Boris!
I know th
Thanks Boris!
I know that I am just leaving out some tiles in the plot, but I
specifically want to drop those tiles for the plot and not calculate a
tesselation without these points. So I'll go with this solution and
hope it makes sense in the end.
Thanks again!
Raphael
On 1/14/15, Boris Steipe
plot.tile.list() expects its argument to be of class tile.list, and to have an
attribute "rw", both of which are not conserved after subsetting. You can do ...
if (!require(deldir)) {
install.packages("deldir")
library(deldir)
}
x <- rnorm(10)
y <- rnorm(10)
del <- deldir(x, y)
tl <- tile.li
1. Please in future specify the package (deldir here) that contains
the functions you refer to.
2. **Always** first try ?str before posting queries like this, as this
will often reveal the problem.
str(tl[1:800])
3. I would **guess** (ergo could well be wrong) that "[" is not
preserving the clas
r-help-boun...@r-project.org] On Behalf Of Raphael
> Päbst
> Sent: Wednesday, January 14, 2015 3:23 PM
> To: r-help
> Subject: [R] Probably dumb question about lists
>
> Hello everybody!
> I feel very stupid right now but suspect it has something to do with
> tiredness. I am tr
Hello everybody!
I feel very stupid right now but suspect it has something to do with
tiredness. I am trying to drop the last couple of Elements from a list
and this doesn't work as expected.
My code looks something like this:
del <- deldir(x, y)
tl <- tile.list(del)
plot(tl)
Now, I only want to
6 matches
Mail list logo