update task list

This commit is contained in:
aaron
2024-03-11 20:46:55 +01:00
parent 576255116c
commit df83af6336

View File

@@ -6,13 +6,16 @@ library(readODS)
library(tidyverse)
library(dplyr)
##
# parse the input data
##
# read a data frame from the ods document
df <- read_ods("ironwood_data_cleaned.ods", sheet = 1)
##
# asses the tree health
# 1. asses the tree health
# - create an overview of the populations health
##
# First, let's create a vector of condition names corresponding to the health index numbers
@@ -40,7 +43,8 @@ box()
text(x = barplot(percentage, plot = FALSE), y = percentage, labels = paste0(round(percentage, 1), "%"), pos = 3)
##
# Perform a shapiro-wilk normality test
# 2. perform a shapiro-wilk normality test
# - the goal is to see if the health is normally distributed
##
# Perform Shapiro-Wilk test
@@ -57,8 +61,9 @@ if (p_value < 0.05) {
}
##
# Tasks:
# ToDo Tasks:
##
# 1. find average dbh
# 2. find
# 3. calculate the average DBH and try to correlate it with the health index
# 4. plot health indices of each site on a map and try to find patterns
# 5. try to fit health and location data in one plot