- Changes for packages documentation as requirements changed
- Replace
size
withlinetype
in line geoms - Replace
..ndensity..
withafter_stat(ndensity)
in density geoms - Removed length checks from tests as ggplot2 plans a change
- Fixed a change in behavior in testthat
- Moved
gganimate
documentation from\\donttest
to\\dontrun
in alignment withgganimate
documentation. (Else somee OS builds fail, with no mechanism to troubleshoot)
- Clean up messages in
manual_tour
- Add more examples interacting
manual_tour
andproto_density
, and bringing your own basis - Fix a couple of odd cases in
basis_olda
&.lapply_rep_len
- More consistent names and indenting in examples
- Vignettes point to github urls rather than gifs in repository
proto_basis1d()
has an text_offset argument for the horizontal position of text labels- Change roxygen documentation
\\dontrun
's to\\donttest
's - Clarify examples of deprecated functions
- License changed to MIT (from CC BY-NC-SA 4.0, apparently not FOSS)
- Cleaned up both vignettes; include plotly output & removed scroll bars from wide code chunks
- Removed forced garbage collection
gc()
calls, too expensive for the minor issues it tried to mitigate proto_density()
now changes the aspect ratio to 1/2 (y/x), twice as wideanimate_plotly()
will change the x scaleratio to 2 (for nonplotly::subplot
animations)- Changed defaults to
map_relative()
; position = "left" or "right" is fully off outside of the data and slightly smaller - Adjust text-related
proto_*()
default; decreasing the text size (5 -> 4) - Adjust line segment-related
proto_*()
default; decreasing the line size a (1 -> .6) - Adjust
filmstrip & facet_wrap_tour()
: adds theme for borders to help distinguish facets - Adjust
theme_spinifex()
to include shading and strip outline consistent with the above point
- Add do_center_frame = TRUE argument to
ggtour()
, such that tours don't want too far to the sides as they were in cheem radial tours - Adjust
theme_spinifex()
: tightening margins, facet strip outlines, and better separating theme elements from ggtour default settings
- New function:
facet_wrap_tour()
, for faceting tours - New function:
proto_frame_cor2()
, adds text for the within-frame correlation squared - New function:
append_fixed_y()
, add/overwrite data y column to fixed values, such as for the height of predicted values or residuals of a model - New function:
draw_basis()
static ggplot2 variant ofproto_basis
, that accepts a basis directly without requiring ggtour initialization - Most data-oriented
proto_*
functions haverow_index
argument; allowing for subsetting that is compatible with faceting and appending a fixed y! By default,proto_point()
will plot non-selected points in faint grey, behind selected points theme_spinifex()
changed removing the duplicate legend display, fewer warnings, and less frame oddities (geom existence issues) withanimate_plotly
- Better examples for setting dimensions, resolution, and renders in
animate_*
functions - Refreshed readme
- Fixed 'phi issue' where manual tours were not consistent in their initial direction, now always move toward full contribution before 0 contribution.
- Interpolation of manual tours now handled in
ggtour()
synchronizesangle
usage with{tourr}
tours manual_tour()
and related functions now handle 1D projections- New functions:
proto_highlight/1d()
for highlighting specific points in ggtours - New function:
filmstrip()
, creates a ggplot faceting the frames of a ggtour for a static output - New dataset:
penguins_na.rm
, frompalmerpenguins::penguins
, removed NA rows & reordered columns - Added argument
rownum_index
toproto_text
, for labeling subsets - Experimental wrapper function
spinifex::save_history
, muting the noisy execution oftourr::save_history
- New ggproto api for visuals, see
?ggplot_tour()
to get started!! -- 10x newproto_*
functions, essentiallygeoms_*
for animated tours: basis/1d, point, origin/1d, density, text, hex, default/1d. -- 2x animation funcs;animate_plotly()
andaniamte_gganimate()
-- 2x internal utility functions - New vignette demonstrating this api
vignette("ggproto_api", "spinifex")
- Shiny app now imports .csv & .rds, code improved, uses new ggproto api -- `run
- Fixed a format issue with the
BeastCancer_na.rm
dataset
- Vectorized all
for
loops manip_var_of(basis)
suggests a variable to used based on the rank of the contributions of the basis.
Basis_* functions to find features of interest, powered by {Rdimtools}
.
basis_olda()
basis_odp()
basis_onpp()
basis_olpp()
New util functions:
scale_sd()
center and scale each variable by it's standard deviationscale_01()
center and scale each variable to be between [0, 1]basis_half_circle()
, variable agnostic basis with minimal variable dependenceas_history_array()
, coerces an array of bases into the same attributes and class as returns oftourr::save_history()
- Gives deprecated warning when using
view_basis()
andoblique_basis()
, no longer listed inview_frame()
documentation - Fixed "radial_tour" shiny app to reflect argument changes
- Fixed example run time for
render_plotly()
going longer than 10 seconds
- New argument,
ggproto
, accepts a list of{ggplot2}
objects for more control over visual output - New argument,
aes_args
, accepts a list of arguments to pass into theaes()
call withingeom_point()
. This is used for variable mappings, such as color, but needs to be qualified as this is standard evaluation - New argument,
identity_args
, accepts a list of arguments to pass call withingeom_point()
, but outside ofaes()
. This is used for scalar options or manually mapped vector such as point size or alpha - New datasets,
PimaIndiansDiabetes_long
&PimaIndiansDiabetes_wide
- Fixed the centering of axes across frames
- Fixed
scale_axes()
to automatically scale to data rather than assume the data is scaled to [0, 1] - Changed notation from "slide(s)" to "frame(s)" through-out
- Deprecated
view_basis()
andoblique_basis()
in favor ofview_frame()
- Fixed theta labeling on
view_manip_space()
- Examples improved (simple case, adding more and more complexity) through-out
- Minor code, code comments, spelling, and grammar clean up through-out
- theme_spinifex(), a ggplot theme, slightly lighter than theme_minimal().
- Aesthetic arguments, which are now passed directly into
geom_point(aes(...))
instead of hard-coded arguments - Removed 'col' (color), 'pch' (point character), 'cex' (point size) and 'alpha' (transparency) from rendering functions. These options are now passed directly into the elipsis,
ggplot2::geom_point(...)
- Added wrapper for
gganimate::anim_save()
inrender_gganimate()
- Added wrapper for
htmlwidgets::saveWidget()
inrender_plotly()
- Clarified and more consistent documentation
run_app("radial_tour")
To accommodate interactive use, rather than predefined paths:
oblique_basis()
oblique_frame()
run_app()
New shiny app!
map_absolute()
is_orthonormal()
slightly more general thantourr::is_orthonormal()
- Added 'cex' (point size) and 'alpha' transparency arguments to rendering functions
- Argument naming and order consistency
- Clarified and more consistent documentation
- More defensive coding
Initial submission to CRAN. Vignette: "spinifex"
- play_tour_path()
play_manual_tour()
view_basis()
view_manip_space()