Re: [R] Generating maps in R (Roger Bivand)

From: Aleksandr Andreev <>
Date: Tue, 01 Apr 2008 21:54:39 -0400

Roger Bivand Roger.Bivand at writes:

>This was exactly why I emphasised care. One way to try to do this is

> to extract the FS data slot:
> FSd <- as(FS, "data.frame")
> and then merge() FSd and agg2, using - untried - something like:
> FS1d <- merge(FSd, agg2, by="row.names", all=TRUE)

It worked after I added one more step:

row.names(FS1d) <- FS1d$SUBJECT


Aleksandr Andreev
Duke University mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed 02 Apr 2008 - 01:57:57 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 02 Apr 2008 - 02:30:25 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive