starry

CRAN RStudio mirror downloads

The goal of starry is to provide an easy to use interactive interface to plot data and perform statistical tests.

Installation

Starry is available on CRAN and can be installed using:

install.packages("starry")

You can install the development version of starry from GitHub with:

# install.packages("devtools")
devtools::install_github("joe-chelladurai/starry")

Example

This is a basic example which shows you how to solve a common problem:

library(starry)
## basic example code

Available Functions

Plot

plot_bar
plot_box
plot_density
plot_histogram
plot_line
plot_scatter

Stat

stat_anova
stat_correlation
stat_frequency
stat_regression_linear
stat_ttest

Examples

Each function takes a data argument and variables.

plot_scatter(mtcars, disp, hp)

These functions are also pipeable

mtcars |>
  plot_scatter(disp, hp)

You can also pass just a data argument and choose the variables in the interactive app

plot_scatter(mtcars)