Type: | Package |
Title: | Explore Data with Plots and Tables |
Version: | 0.1.2 |
Description: | Provides modular functions and applications for quickly generating plots and tables. Each modular function opens a graphical user interface providing the user with options to create and customise plots and tables. |
URL: | https://joe-chelladurai.github.io/starry/ |
BugReports: | https://github.com/joe-chelladurai/starry/issues |
License: | MIT + file LICENSE |
Encoding: | UTF-8 |
Imports: | bslib, car, corrr, dplyr, ggplot2, magrittr, stringr, shiny, shinyjs, shinyWidgets |
RoxygenNote: | 7.2.1 |
Suggests: | knitr, rmarkdown |
NeedsCompilation: | no |
Packaged: | 2023-01-16 18:26:03 UTC; Home |
Author: | Joe Chelladurai |
Maintainer: | Joe Chelladurai <joe.chelladurai@outlook.com> |
Repository: | CRAN |
Date/Publication: | 2023-01-16 18:40:03 UTC |
Pipe operator
Description
See magrittr::%>%
for details.
Usage
lhs %>% rhs
Arguments
lhs |
A value or the magrittr placeholder. |
rhs |
A function call using the magrittr semantics. |
Value
The result of calling 'rhs(lhs)'.
Plot - Bar
Description
Plot - Bar
Usage
plot_bar(
data,
y,
bar_width,
fill,
outline,
position,
labels,
row,
prop,
column,
theme,
title,
subtitle,
xlab,
ylab,
caption,
code
)
Arguments
data |
data |
y |
variable on y axis |
bar_width |
width of bar |
fill |
fill |
outline |
outline |
position |
position of bars |
labels |
data labels |
row |
facet row in grid |
prop |
proportion |
column |
facet column in grid |
theme |
theme of plot |
title |
title of plot |
subtitle |
subtitle of plot |
xlab |
x-axis |
ylab |
y-axis label |
caption |
caption |
code |
add custom code |
Value
No return value. This function is called for the side effect of launching a shiny application.
Examples
if (interactive()) {
plot_bar(mtcars)
}
Plot - Box
Description
Plot - Box
Usage
plot_box(
data,
x,
y,
theme,
box_width,
fill,
outline,
row,
column,
width,
height,
title,
subtitle,
xlab,
ylab,
caption,
show_code,
code
)
Arguments
data |
data |
x |
variable on x axis |
y |
variable on y axis |
theme |
theme of plot |
box_width |
width of box |
fill |
fill |
outline |
outline |
row |
facet row in grid |
column |
facet column in grid |
width |
width of plot |
height |
height of plot |
title |
title of plot |
subtitle |
subtitle of plot |
xlab |
x-axis |
ylab |
y-axis label |
caption |
caption |
show_code |
show the generated code TRUE or FALSE, (default TRUE) |
code |
add custom code |
Value
No return value. This function is called for the side effect of launching a shiny application.
Examples
if (interactive()) {
plot_box(mtcars)
}
Plot - Density
Description
Plot - Density
Usage
plot_density(
data,
xvar,
fill,
outline,
row,
column,
height,
width,
theme,
title,
subtitle,
caption,
xlab,
ylab,
code,
show_code
)
Arguments
data |
data |
xvar |
xvar |
fill |
fill |
outline |
outline |
row |
facet row in grid |
column |
facet column in grid |
height |
height of plot |
width |
width of plot |
theme |
theme |
title |
title of plot |
subtitle |
subtitle of plot |
caption |
caption |
xlab |
x-axis |
ylab |
y-axis label |
code |
additional code |
show_code |
show/hide code |
Value
No return value. This function is called for the side effect of launching a shiny application.
Examples
if (interactive()) {
plot_density(mtcars)
}
Plot - Histogram
Description
Plot - Histogram
Usage
plot_histogram(
data,
xvar,
fill,
outline,
row,
column,
width,
height,
title,
subtitle,
xlab,
ylab,
caption,
theme,
code,
show_code
)
Arguments
data |
data |
xvar |
xvar |
fill |
fill |
outline |
outline |
row |
facet row in grid |
column |
facet column in grid |
width |
width of plot |
height |
height of plot |
title |
title of plot |
subtitle |
subtitle of plot |
xlab |
x-axis |
ylab |
y-axis label |
caption |
caption |
theme |
theme |
code |
additional code |
show_code |
show/hide code |
Value
No return value. This function is called for the side effect of launching a shiny application.
Examples
if (interactive()) {
plot_histogram(mtcars)
}
Plot - Line
Description
Plot - Line
Usage
plot_line(
data,
xvar,
yvar,
theme,
group,
attr,
code,
row,
column,
width,
height,
title,
subtitle,
xlab,
ylab,
caption,
show_code
)
Arguments
data |
data |
xvar |
xvar |
yvar |
yvar |
theme |
theme |
group |
group |
attr |
attr |
code |
additional code |
row |
facet row in grid |
column |
facet column in grid |
width |
width of plot |
height |
height of plot |
title |
title of plot |
subtitle |
subtitle of plot |
xlab |
x-axis |
ylab |
y-axis label |
caption |
caption |
show_code |
show/hide code |
Value
No return value. This function is called for the side effect of launching a shiny application.
Examples
if (interactive()) {
plot_line(mtcars)
}
Plot - Scatter
Description
Plot - Scatter
Usage
plot_scatter(
data,
xvar,
yvar,
color,
shape,
size,
row,
column,
title,
subtitle,
caption,
xlab,
ylab,
theme
)
Arguments
data |
data |
xvar |
x |
yvar |
y |
color |
color |
shape |
shape |
size |
size |
row |
row |
column |
column |
title |
title |
subtitle |
subtitle |
caption |
caption |
xlab |
x axis label |
ylab |
y axis label |
theme |
theme |
Value
No return value. This function is called for the side effect of launching a shiny application.
Examples
if (interactive()) {
plot_scatter(mtcars)
}
Stat - Anova
Description
Stat - Anova
Usage
stat_anova(data, xvar, yvar, code, show_code)
Arguments
data |
data |
xvar |
xvar |
yvar |
yvar |
code |
additional code |
show_code |
show/hide code |
Value
No return value. This function is called for the side effect of launching a shiny application.
Examples
if (interactive()) {
stat_regression_linear(mtcars)
}
Stat - Correlation
Description
Stat - Correlation
Usage
stat_correlation(data, xvar, code, show_code)
Arguments
data |
data |
xvar |
list of variables |
code |
additional code |
show_code |
show/hide code |
Value
No return value. This function is called for the side effect of launching a shiny application.
Examples
if (interactive()) {
stat_frequency(mtcars)
}
Stat - Frequency
Description
Stat - Frequency
Usage
stat_frequency(data, xvar, show_code)
Arguments
data |
data |
xvar |
variable |
show_code |
show/hide code |
Value
No return value. This function is called for the side effect of launching a shiny application.
Examples
if (interactive()) {
stat_frequency(mtcars)
}
Stat - Linear Regression
Description
Stat - Linear Regression
Usage
stat_regression_linear(data, xvar, yvar, code, show_code)
Arguments
data |
data |
xvar |
xvar |
yvar |
yvar |
code |
additional code |
show_code |
show/hide code |
Value
No return value. This function is called for the side effect of launching a shiny application.
Examples
if (interactive()) {
stat_regression_linear(mtcars)
}
Stat - T-test
Description
Stat - T-test
Usage
stat_ttest(data, xvar, yvar, group, test, show_code)
Arguments
data |
data |
xvar |
xvar |
yvar |
yvar |
group |
groups |
test |
type of t-test |
show_code |
show/hide code |
Value
No return value. This function is called for the side effect of launching a shiny application.
Examples
if (interactive()) {
stat_ttest(mtcars)
}