View source: R/trendanalyse_ohne_einfl_beob_function_2018.R
trenda_obs | R Documentation |
Function to calculate trend analyses for Bosch & Partner (without influential observations)
trenda_obs( data_dir, plot_dir, result_name, log_trans = FALSE, res_tab_file, calc_einfl_beob = TRUE )
data_dir |
directory where the data is stored |
plot_dir |
directory where the generated plots are saved |
result_name |
directory and name (without ending) where the result table is stored |
log_trans |
logical if log-transformed values are used (TRUE leads to the adjustments for plot function) |
res_tab_file |
result table of the same data of perform_trendanalyse; needed for information about the influential observations which should be left out in the analysis |
calc_einfl_beob |
logical; the influential observations should be calculated again. Can be useful to turn off as this information is not needed and sometimes the calculation of the influential observations for GLS models does not work |
Since this function needs the information which are influential obser- vations, the function perform_trendanalyse has to be run first on the same data. this function needs the information generated by
the function does not return a value but stores the plot and table in the assigned directories
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.