Dear Esu,
you can probably solve these tasks using sf package, which uses bit
different way of representing spatial objects compared to the sp object.
Below you'll find an example for the North Carolina dataset. Keep in mind
that calculating area and perimeter depends on your coordinate system (i.
Dear Esu,
About your question there is huge literature already written.
I recommend to read the sp package manual.
An example for extract the coordinates you can find it here:
https://gis.stackexchange.com/questions/43543/how-to-calculate-polygon-centroids-in-r-for-non-contiguous-shapes
If yo
Package rgeos is a good starting point.
Esu Esu via R-sig-Geo escreveu no dia quinta,
20/12/2018 à(s) 21:58:
> Dear All,
> I am new to R-programming. I have question if anyone can help me with:Q:
> how can I create functions in R to compute the area (A), centroid (Cx and
> Cy) and perimeter (P)
Dear All,
I am new to R-programming. I have question if anyone can help me with:Q: how
can I create functions in R to compute the area (A), centroid (Cx and Cy) and
perimeter (P) of a polygon list . I want to write R functions to compute these
quantities for individual polygons, as well asan ov
Thank you Jeff.
Cannot seem to get this to work in the fashion I want it to appear no matter
how many websites and packages I investigate.
Letting it go for the moment.
Always appreciate your advice Sir!
WHP
From: Jeff Newmiller
Sent: Thursday, September 13, 2018 10:29 AM
To: r-h...@r-project
Dear all, I have ploted several spatial figures, but every one have legend and
some of them are different. But I want to plot only one legend for these
figures? So could you help me how to make it? I have the following lines for
each figure:
# draw figure
## Open a new default device.
#get(
On Mon, Apr 24, 2017 at 6:00 AM, wrote:
>
> Message: 4
> Date: Sun, 23 Apr 2017 18:19:59 -0400
> From: Joe Larson
>
> Hello,
> I am getting wrapped around the axial on a shiny project, being a new R
> learner I am asking for some help If you want the full code, to let me
> know.
Yes, if yo
Joe,
If you look again at the CDC, USA 500 ,(
https://chronicdata.cdc.gov/500-Cities/500-Cities-Local-Data-for-Better-Health/6vp6-wxuq
),
the top 26 rows are USA crude prevalence then age adjusted prevalence by
disease (for 2014), or the 13 (either crude prevalence, or age adjusted)
that you are
Hello,
I am getting wrapped around the axial on a shiny project, being a new R
learner I am asking for some help. I am trying to combine CDC data, Shiny,
and leaflet together to produce a map that has the top 500 USA cities with
adverse medical outcomes. The goal is to allow the user to select ei
re. Would you
be able to assist me, if i am able to send you the question on a word
document along the data that is used.
Kind Regards
Krishan
________________
From: Sarah Goslee
Sent: 07 January 2016 20:31
To: Mistry, Krishan
Cc: r-sig-geo@r-project.org
Subject: Re: [R
o R and haven't done any programming before. Would you
> be able to assist me, if i am able to send you the question on a word
> document along the data that is used.
> >
> > Kind Regards
> > Krishan
> >
> > ________________
> > Fro
ment
> along the data that is used.
>
> Kind Regards
> Krishan
>
>
> From: Sarah Goslee
> Sent: 07 January 2016 20:31
> To: Mistry, Krishan
> Cc: r-sig-geo@r-project.org
> Subject: Re: [R-sig-Geo] R Help
>
> As you will se
As you will see below, posting in HTML format made your question unreadable.
However, this looks rather like homework, and if so then you should
look for help from the resources associated with your course.
If it isn't homework, you will get much more assistance if you provide
a reproducible exam
Dear Sir/Madame,
I am currently a Masters student at the University of Leicester in the UK
studying MSc Geographical Information Science and am having a bit of difficulty
with the programme R. I am a new user of the programme and don't have any
previous experience in programming. Having looked
Dear R expert,
I fitted my spatial data to a glm.nb model. I decided to detect and correct
for spatial autocorrelation using ME{spdep}. I received this warning after
I add the eigenvectors into the model. Can you help me understand what I
did wrong? Also, should I infer from the example below that
Hi Kevin,
Thank you very much for your email and time.
I appreciate it greatly,
I worked with gDifference from rgeos, also suggested by Alex. It works
fine but it gives you SpatialPolygons instead of
SpatialPolygonsDataFrame.
In addition to that the row.names are lost which add to complexity in
ma
16 matches
Mail list logo