This function previously did not accommodate tibbles for thedata argument ofwqs_full_perm, but nowdata can be adata.frame object or atibble.
Added autils.R script with a functionget_legend2() to replace the malfunctioningcowplot::get_legend() call in the functionwqspt_plot. Incowplot v1.1.3,get_legend() returns an error if the legend position isanywhere besides on the right of the plot. Sincewqspt_plotextracts a legend positioned on the bottom of a plot to be included inthe plot output ifInclKey = TRUE, this was previouslythrowing an error.
Added agwqs_hpc function toutils.Ralong with its necessary hidden functions imported from thegWQS package to add an option to specify a number ofworkers for parallel processes forwqs_pt andwqs_full_perm. Thegwqs function in thegWQS package (v3.0.5) uses as many parallel processes asthere are cores detected, which can be problematic with high-performancecomputing (HPC) environments. HPC schedulers allocate a specific numberof cores, and ifgwqs tries to use more than that number,it will terminate the HPC job. Therefore,gwqs_hpc wascreated to allow for the number of parallel processes to be specified,thereby avoiding this problem.
Added... arguments towqs_pt andwqs_full_perm that ensure that the additional argumentspassed togwqs_hpc are passed to every iteration of thatfunction, whereas previously those additional arguments only passed tothe main WQS regression inwqs_full_perm.
Added the argumentsLegendWidthIn andLegendHeightIn towqspt_plot to control thebottom legend width and height, respectively.
Added some examples to the documentation forwqspt_plot to better illustrate its use.
Replaced allb1_constr arguments withb_constr to match the change in the name of this argumentin the latest version of thegWQS package(v3.0.5).
Replaced URL links to referenced papers with doi.orglinks.
Added additional examples of papers using the WQSPTmethod.