BREAKING
pair_plots
argumentgrid
now specifies dimensions to overlay a grid on to existing plots. For example,grid = c(3,2)
will create a 3 by 2 grid on all pairs plot
NEW FEATURES
design_to_tibble()
has new argumentfactors_to_numeric
. If factors are changed to numeric the order of the levels in the design are preserved
DEPENDENCIES
- Switched
patchwork
to Imports instead of Suggests under Description file
BREAKING
-
gg_rsm()
argumentsfilled, size, stroke
have been removed. They were used formetR::geom_text_contour
which is no longer being used. -
pair_plots
no longer checksdesign
is a proper Latin hypercube design
NEW FEATURES
gg_rsm()
has new argumentbins
to specify the number of contour bins. Default is 6gg_rsm()
has new argumenttext_size
to specify size of text for labelled contour lines. Default is 3- Added new function
design_to_tibble()
to convert an object of classdesign
totibble
. Designs generated from packages such asDoE.base, FrF2
BUG FIXES
main_effects
now has independent x-axis limits for each factor. Inputdesign
properly accepts class "design" generated from packages such asDoE.base, FrF2
, same goes forinteraction_effects
n_columns
arguments is automatically adjusted ton_columns=1
inmain_effects
,interaction_effects
,pair_plots
whenever there is only one factor or pair of factors
DEPENDENCIES
- switched
metR
togeomtextpath
.geomtextpath
is a lighter package in terms of dependencies compared tometR
. This only affectsgg_rsm
and is used to add text labels on contour lines
BREAKING
- The minimum needed R version has been bumped to 3.6
- renamed
diagnostic_plots()
togg_lm()
- renamed
gg_boxplots()
argumentsfactor
,response
tox
,y
, respectively. - renamed
twoD_projections()
topair_plots()
- renamed
form
argument toformula
ingg_rsm()
NEW FEATURES
- Added
pulp_experiment
data from "Experiments: Planning, Analysis, and Optimization, CFJ Wu, MS Hamada - Second edition" - Added
girder_experimet
data from "Experiments: Planning, Analysis, and Optimization, CFJ Wu, MS Hamada - Second edition" - Added new argument
effect_colors
topareto_plot()
. Default arec('#d9a698','#9ecede')
for positive and negative effects, respectively.
DEPENDENCIES
- removed
data.table
as a dependency. Now there are only two importsggplot2
andinsight
- switched
gridExtra
topatchwork
. No functionality change.
BUG FIXES
- fixed labels in
gg_rsm
where numbers were not rounded and displayed over 10 digits. This resulted in labels in figures being cut off or stacked on top of each other
BREAKING
gg_boxplots()
argumentsresponse
,factor
,group_var
are now string characters
NEW FUNCTIONS
- added
theme_bw_nogrid()
, simple theme settings which were used throughoutggDoE
plots
CHANGES
-
removed
dplyr
dependency in favor ofdata.table
.data.table
has significantly less dependencies compared todplyr
. -
added
insight
to Imports for checking if required packages are installed for each respective function.insight
will later be used for cleaning up source code for extracting information from model objects such as variables, responses, etc... -
switched
gridExtra
andunrepx
from Imports to Suggests
MINOR CHANGES
- updated pkgdown website with new theme and reference structure
BREAKING
- renamed argument
ncols
ton_columns
in all functions which previously used this argument. These functions are:diagnostic_plots()
,gg_rsm()
,interaction_effects()
,main_effects()
,twoD_projections()
NEW FEATURES
half_normal()
has new argumentpoint_color
to change the color of the pointsdiagnostic_plots()
has a new argumentcooksD_type
to change the threshold computed for Cook's distance plot (plot #6)
CHANGES
half_normal()
now usesggrepel::geom_text_repel
instead of hard-codedgeom_text
to try and avoid label overlap
- minor fixes to documentation/vignettes
- moved
unrepex
from Suggests to Imports - added cran-comments.md
NEW FEATURES
-
changed appearance of
gg_boxplots()
from using fill to color. Added new argumentjitter_points
togg_boxplots()
to overlay points to boxplots. -
Added initial vignette for a quick overview of
ggDoE
. Still needs further details for certain plots
BUX FIXES
- Fixed bug in
twoD_projections()
that would output the same plot for every plot in the grid
NEW FUNCTIONS
- Added new function
twoD_projections()
. This function will output all two dimensional projections from a Latin hypercube design. Will add further details to documentation in future updates.
CHANGES
- Switched
gridExtra
to Imports instead of Suggests under Description file
CHANGES
- Added new plot to visualize collinearity through variance inflation factor (VIF) in
diagnostic_plots()
function. This is the sixth diagnostic plot.
BREAKING
- in
gg_rsm()
restricted model class to only be anrsm
object. Future updates will add backlm
class object option.
BUG FIXES
- added error message to
diagnostic_plots()
to check if there is insufficient degrees of freedom to obtain standard errors, t.value. It won't plot any of the diagnostic plots for that model.
MINOR CHANGES
- Consistent use of left-arrow operator (<-) for all functions in this package
- Added a
NEWS.md
file to track changes to the package.
CURRENT FUNCTIONS
-
alias_matrix()
Color Map on Correlations -
boxcox_transform()
Box-Cox transformation plot with 95% confidence interval of lambda values to consider -
gg_boxplots()
Boxplots created with ggplot2 -
diagnostic_plots()
Regression Diagnostic Plots with ggplot2 -
gg_rsm()
Contour plot(s) of a fitted linear model in ggplot2 from an RSM object -
half_normal()
A halfnormal plot for factorial effects -
lambda_plot()
Lambda plot for tracing t-statistics across different values of lambda -
main_effects()
Main effects plots for each factor in a design given a specified response -
pareto_plot()
A bar plot with ordered effects, margin of error (ME) and simultaneous margin of error (SME) cutoffs. -
viridisPalette()
A simple wrapper for theviridisLite
package used for changing the color palette in most plots above