transfer_fun.Rd
transfer_fun
transfer_fun(dat, vars, time = "datetime", method = "spec_pgram", ...)
dat | data that has the independent and dependent variables (data.table) |
---|---|
vars | variables to include for transfer function calculation |
time | the name of the column that contains the POSIXct date and time |
method | either spec_pgram or spec_welch |
... | arguments to pass to method |
transfer function, gain and phase, coherency