I want to create a dataset in R with spatial correlation (i.e. clustering) built in for a linear regression analysis. Any tips on how to do this? Thanks. -- View this message in context: http://www.nabble.com/Need-help-creating-spatial-correlation-for-MC-simulation-tp19542145p19542145.html Sent from the R help mailing list archive at Nabble.com.
(Ted Harding)
2008-Sep-17 23:06 UTC
[R] Need help creating spatial correlation for MC simulatio
On 17-Sep-08 22:36:50, jjh21 wrote:> I want to create a dataset in R with spatial correlation (i.e. > clustering) built in for a linear regression analysis. Any tips > on how to do this? > Thanks.The package 'spatstat' has functions for simulating several different kinds of spatial process. Hoping this helps, Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <Ted.Harding at manchester.ac.uk> Fax-to-email: +44 (0)870 094 0861 Date: 18-Sep-08 Time: 00:06:48 ------------------------------ XFMail ------------------------------
milton ruser
2008-Sep-18 01:47 UTC
[R] Need help creating spatial correlation for MC simulation
Dear J.J.Harden I think that on spatial stat you will find several ways of simulate spatial pattern that (point or line) that may be what you are looking for. Case not, please let me know and may be we can improve some solution. Best wishes, miltinho astronauta brazil On Wed, Sep 17, 2008 at 7:36 PM, jjh21 <jjharden@gmail.com> wrote:> > I want to create a dataset in R with spatial correlation (i.e. clustering) > built in for a linear regression analysis. Any tips on how to do this? > Thanks. > -- > View this message in context: > http://www.nabble.com/Need-help-creating-spatial-correlation-for-MC-simulation-tp19542145p19542145.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
Thank you for the input. Which command in the spatstat package am I looking for? The documentation is unclear to me. milton ruser wrote:> > Dear J.J.Harden > > I think that on spatial stat you will find several ways of simulate > spatial > pattern that (point or line) that may be what you are looking for. Case > not, > please let me know and may be we can improve some solution. > > Best wishes, > > miltinho astronauta > brazil > > > > On Wed, Sep 17, 2008 at 7:36 PM, jjh21 <jjharden at gmail.com> wrote: > >> >> I want to create a dataset in R with spatial correlation (i.e. >> clustering) >> built in for a linear regression analysis. Any tips on how to do this? >> Thanks. >> -- >> View this message in context: >> http://www.nabble.com/Need-help-creating-spatial-correlation-for-MC-simulation-tp19542145p19542145.html >> Sent from the R help mailing list archive at Nabble.com. >> >> ______________________________________________ >> R-help at r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html> >> and provide commented, minimal, self-contained, reproducible code. >> > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > >-- View this message in context: http://www.nabble.com/Need-help-creating-spatial-correlation-for-MC-simulation-tp19542145p19610885.html Sent from the R help mailing list archive at Nabble.com.