Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
spatialspecial [2019/04/15 16:57]
qcbs [Exercice 5]
spatialspecial [2019/04/15 16:58] (current)
qcbs [Exercice 7]
Line 314: Line 314:
 #​data2=tapply(Layer$new_area,​Layer$IHO_Sea,​mean) #​data2=tapply(Layer$new_area,​Layer$IHO_Sea,​mean)
 library('​dplyr'​) library('​dplyr'​)
-library('​sf'​) 
 Layer=data.frame(Layer) Layer=data.frame(Layer)
 data2=Layer%>​%group_by(IHO_Sea)%>​%summarize(mean=mean(new_area)) data2=Layer%>​%group_by(IHO_Sea)%>​%summarize(mean=mean(new_area))