Readme for: data from "How grazing management can maximize erosion resistance of salt marshes"

Authors:
Marin-Diaz, B (Beatriz)
Govers, L. L. (Laura)
van der Wal, D. (Daphne)
Olff, H. (Han)
Bouma, T. J. (Tjeerd)

Coresponding author: Marin-Diaz, B (b.marin.diaz@rug.nl)

**General information**

analysis_MarinDiaz_et_al_2021.r includes the scripts in R utilised for the analysis of the manuscript

The inputs for the R script are:

datavolumeloss.csv contains the erosion calculated from the 3D models of the soil cores for each time step of wave exposure. Utilised to calculate the maximum volume loss which is then utilised for the correlations with the soil and vegetation variables

elev_r.csv includes the soil elevation measurements inside and outisde exclousures for each treatment.

datavariablessand.csv contains all the soil and vegetation variables for all the samples. Utilised for relatonships between the fine-grained layer depth and erosion, elevation and marsh age

datavariablesclay38.csv contains all the soil and vegetation variables for each treatment only from the samples that didn't collapse after the wave exposure. Utilised for the regression analysis of the fine-grained layer erosion with the soil and vegetation variables. "clay" referes to fine-grained layer

code		first number indicates the age (1=23yr, 2=38 yr, 3=53yr, 4=63yr, 5=128yr), first letter(L=low marsh, H= high marsh), second letter (I=inside exclosure, O=Outside exclosure), 		last number is the number of the replica
Treatment	same as code but without the replica number
sandlayer	presence of sandy subsoil
elev		marsh elevation (low= low marsh, high=high marsh)
Site		same as code but only the age and high or low marsh
grazing		type of grazing
age		age of the marsh in years
elevation	soil elevation (m)
TotalBiom	total vegetation belowgroun biomass (g)
RootDiam	root diameter (mm)
RD.C		coarse root density (g cm-3)
RD.F		fine root density (g cm-3)
RhizD		Rhizome density (g cm-3)
RDtot		total root density (g cm-3)
Bulk		Bulk density (g cm-3)
OC		Soil organic content (%)
SWC		Soil water content (%)
PenResist	soil resistance to penetration at 5 cm depth (Mpa)
Silt		silt %
orchestia	Orchestia (bioturbator) presence/absence
plant_type	dominant vegetation species
et38onlyclay	total erosion after 38h of wave exposure
d_max_lost	calculated maximum volume loss
e_rate	erosion rate
granulosity	type of soil structure
Location	labels for the plots indicating the marsh location
herb		type of herbivores
Treat2		same as Treatment but without distinguishing high and low marsh in the age 128

