All functions

Wdata_as_waiting_times()

Transform Wdata (1 line= 1 occurrence of wood) into Wdata_wt (1 line= time between two occurrences of wood)

calc_rf_R2()

calculates R2

calc_rf_perf()

calculates rf performance

complete_Qdata()

Completes qtvar with variables T_Q and S. => Qdata

complete_Wdata_with_Qdata()

Interpolates Qdata to add descriptor variables to Wdata

import_Adata()

Imports data regarding annotation times

import_Qdata()

Imports data regarding occurrence of wood from files under path (path>1 directory=1 event>all logs of the event)

import_Wdata()

Imports data regarding occurrence of wood from files under path (path>1 directory=1 event>all logs of the event)

interp_Qdata()

interpolate Qdata to a period

predict_rf()

Runs model random forest object on new data

read_1_wood_log_file()

Reads one wood log file. To be used from import_Wdata()

run_rf()

runs random forest model

summarise_Qdata()

summarise Qdata to a period

summarise_Wdata()

summarise Wdata to a period