Ecosystems Modeller and Weed Ecologist @Rothamsted
Pronouns: she/her
Working on:
- πΎ Agriculture
- πΏ Ecology
- π₯ Modelling
- πΊοΈ Spatial statistics
Find me online:
- π Homepage
- π’ OrcID
- π Google Scholar
Pronouns: she/her
Working on:
Find me online:
An interactive introduction to modelling using the life-cycle of an agricultural weed as an example.
R
Generic R scripts for various plant community analyses
R
# e.g. Find the shannon diversity of the landscape in a radius of 1000m around each point
result <- furrr::future_map(1:nrow(pts), function(i) {
sample_lsm(landscape, y=matrix(pts[i, ],ncol=2),
plot_id = Ptsdf$PtsID[i], size = 1000, what = "lsm_l_shdi", shape = "circle")
})
scaleinfo <- semdata|>
group_by(crop) |>
summarize(meany=mean(yield),
cstdev=sd(yield))
semdata <- left_join(semdata,scaleinfo,by="crop")
## Unzip all files in a directory (recursive) ----------
UnzipAll <- function(FilePath) {
## Unzip any zip files ----------
# WARNING - Also removes the zip file once it has been unzipped