https://github.com/cran/sjPlot
Raw File
Tip revision: 64f2fd69791cf9358fc87b53eae10096eb87c108 authored by Daniel Luedecke on 03 February 2014, 19:35:50 UTC
version 1.0
Tip revision: 64f2fd6
NEWS
Version 1.0
------------------------------------------------------------------------------
* New function "sjp.lmm" to plot multiple fitted lm's in one plot.
* New function "sjp.glmm" to plot multiple fitted glm's in one plot.
* New function "sjp.lm1" to plot regression lines of fitted linear models with only one predictor (lm(y~x)).
* New function "sjt.frq" to save (multiple) frequency tables as HTML file.
* New function "sju.recodeTo" to recode variable's category values.
* New function "sju.dicho" to dichotomize variables.
* HTML tables generated with function "sjt.lm" can now also be displayed in RStudio Viewer Pane or opened via web browser, if parameter "file=NULL" (default).
* HTML tables generated with function "sjt.glm" can now also be displayed in RStudio Viewer Pane or opened via web browser, if parameter "file=NULL" (default).
* Added VIF check (multicollinearity) for function "sjp.glm.ma".
* Enhanced function "sju.groupVar". It's now possible to use "groupsize=auto" to automatically group variables into a maximum of 30 groups (ggplot-default binwidth-adjustment of histograms). The maximum amount of group can also be specified by the "autoGroupCount" parameter.
* Enhanced function "sju.groupVarLabels". It's now possible to use "groupsize=auto" to automatically create variable labels for grouped variables with a maximum of 30 groups (ggplot-default binwidth-adjustment of histograms). The maximum amount of group can also be specified by the "autoGroupCount" parameter.
* Added parameter "autoGroupAt" to function "sjp.frq" to automatically group variable with larger number of unique values into smaller units to prevent too many bars to be plotted.
* Added parameter "autoGroupAt" to function "sjp.grpfrq" to automatically group variable with larger number of unique values into smaller units to prevent too many bars to be plotted.
* Added parameter "dots" to function "sjp.frq" to plot dot-plots.
* Added parameter "startAxisAt" to function "sjp.frq" for cases where variable values have a range starting with a higher lowest value (e.g. ranging from 5-15).
* Added parameter "flipCoordinates" to function "sjp.lm".
* Added parameter "axisLabelsAngle.x" to function "sjp.lm".
* Added parameter "flipCoordinates" to function "sjp.glm".
* Added parameter "axisLabelsAngle.x" to function "sjp.glm".
* Added several parameters to function "sjt.lm" to show/hide the different model summary elements.
* Added several parameters to function "sjt.glm" to show/hide the different model summary elements.
* Added parameter "labelDigits" to function "sjp.lm" to change digits after decimal points for esitmators (value labels).
* Added parameter "labelDigits" to function "sjp.glm" to change digits after decimal points for esitmators (value labels).
* Added parameter "labelDigits" to function "sjp.aov1" to change digits after decimal points for means (value labels).
* Added new parameters to function "sjp.lm.int" to plot intercept lines of predictors w/o interactions.
* Added parameter "returnPlot" to function "sjp.lm.in". Multiple ggplot object will be returned as list.
* Added parameter "returnPlot" to function "sjp.reglin". Multiple ggplot object will be returned as list.
* Fixed bug that added unnessecary line break in axis-, title- and legend-labels, which let them appear a bit misaligned.
* Fixed bug in VIF calculation (see "sjp.lm.ma").

Version 0.9
------------------------------------------------------------------------------
* Added function "sju.adjustPlotRange.y" to adjust y-range of ggplot-objects, for instance if labels are out of visible range.
* Added parameter "showAxisLabels.y" to function "sjp.frq" and "sjp.grpfrq", so the tick mark values on the y-axis can be hidden.
* Added parameter "showCountValues" to function "sjp.frq" and "sjp.grpfrq". Now either count or percentage values, or both can be printed or hidden. Use "showValueLabels" to generally hide value labels, and then use "showCountValues" and "showPercentageValues" to show/hide each.
* Added parameter "plevel" to function "sjp.lm.int", so also interactions that are above the 0.05 significance level may be plotted.
* With "sjp.aov1", positive and negative means can now be plotted in different colors. Thus, parameters "pointColor" and "barColor" were renamed and do now require a vector with two color values (instead of just one).
* Changed automatic calculation of grid breaks in function "sjp.aov1" to have more pretty grid breaks at x axis.
* Changed automatic calculation of grid breaks in function "sjp.lm" to have more pretty grid breaks at x axis.
* Added parameter "axisLabelAngle.x" to function "sjp.aov1", which is helpful if bars are plotted and category labels that appear on the x-axis need to be rotated.
* Renamed parameter "pointColor" to "pointColors" in function "sjp.aov1".
* Renamed parameter "barColor" to "barColors" in function "sjp.aov1".
* Renamed parameter "reverseItems" to "reverseOrder" in function "sjp.likert".
* Renamed parameter "reverseX" to "reverseOrder" in function "sjp.stackfrq".
* Renamed parameter "reverseX" to "reverseOrder" in function "sjp.xtab".
* Fixed bug in function "sjp.aov1" when using type="bars" and showing error bars.
* Fixed bug in function "sjp.lm.int" that used wrong values for the predictor on the x-axis (value index instead of value itself was used).

Version 0.8
------------------------------------------------------------------------------
* Added parameter "showConfInt" to function "sjt.lm", so CI may be omitted from table output.
* Added parameter "showConfInt" to function "sjt.glm", so CI may be omitted from table output.
* Added parameter "orderBy" to function "sjp.stackfrq" so items can be ordered according their counts of first or last item category.
* Added "utils::globalVariables" to source to avoid notes during R CMD check.
* Updated imports and dependencies, so with selected importing of functions attaching requested libraries is no longer needed.
* Spell correction of function "sju.ao1.levene", which is now named "sju.aov1.levene".

Version 0.7
------------------------------------------------------------------------------
* Added function "sji.convertToValue" to convert factor variables to numeric variables.
* Added parameter "hideGrid.x" to various functions, so the x-axis-gridlines can be hidden.
* Added parameter "hideGrid.y" to various functions, so the y-axis-gridlines can be hidden.
* Added parameter "returnPlot" to most plotting function, so the complete ggplot-object is returned by the function and can be further manipulated.

Version 0.6
------------------------------------------------------------------------------
* Added function "sjt.lm" to print results of linear regressions to HTML-tables.
* Added function "sjp.aov1" to plot results of One-Way-Anovas.
* Added function "sju.aov1.levene" to show results of a Levene-test for One-Way-Anovas.
* Added more variables to sample data set "efc".
* "geomAlpha" now also changes the alpha value of tiled geoms in function "sjp.corr".
* Fixed bug in "sjp.pca" function when calculating Cronbach's alpha from a dataframe with missing values.
* Fixed bug in "sjp.pca" function with "breakLabelsAt" parameter, which did not work when no axis-labels were supplied and the dataframe's column names were used as labels.
* Renamed function "sjp.lmma" to "sjp.lm.ma".
* Renamed function "sjp.glmma" to "sjp.glm.ma".
* Renamed function "sjp.lmint" to "sjp.lm.int".
* Added examples to functions "sjp.stackfrq", "sjp.corr", "sjp.pca".

Version 0.5
------------------------------------------------------------------------------
* Added "sju.betaCoef" function to calculate std. beta coefficients of linear models.
* Added more diagnostic plots to "sjp.glmma" function.
* Added loess-line to "sjp.reglin" function to compare linear with loess regression. See "?sjp.reglin" for more information.
* Added parameters "interactionVar" and "interactionVarLabel" to function "sjp.frq".
* Updated weblog reference URLs.
* Renamed parameters "y" in function "sjp.frq" to "varCount".
* Renamed parameters "y" and "x" in function "sjp.grpfrq" to "varCount" and "varGroup".
* Added examples to function "sjp.grpfrq".
* Added examples to function "sjp.frq".

Version 0.4
------------------------------------------------------------------------------
* Added parameters "titleSize" and "titleColor" to many functions, so the plot's title size and color can be modified.
* Fixed bug in "sjp.likert" function.
* Changed parameter "axisLabels.x" to "axisLabels.y" in "sjp.likert" function.
* Changed parameter "axisLabels.x" to "axisLabels.y" in "sjp.stackfrq" function.
* Default gray from axis labels was changed (darkened) from "darkgray" to "gray30" (which seems more suitable when creating graphics for presentation slides).

Version 0.3
------------------------------------------------------------------------------
* Added new function "sjp.reglin" to plot and analyse single predictors against response for fitted linear models.
* Inlcuded sample dataset "efc".
* Added some examples using the new sample dataset.
* Fixed bug in function sjp.xtab with labelling the total-column.
* Fixed bug with "maxYlim" parameter in "sjp.frq".
* Fixed bug with "maxYlim" parameter in "sjp.grpfrq".
* Minor spelling and formatting corrections of help files.

Version 0.2
------------------------------------------------------------------------------
* Fixed bugs in documentation so package succeeds the check.

Version 0.1
------------------------------------------------------------------------------
* First release of sjPlot package.
back to top