Skip to content

Unable to implement geom in plotly #2449

@MPDeLeon87

Description

@MPDeLeon87

Hello,

I am recently learning R from an online course. While working on the code script for the lesson on categorical overview analysis using ggplotly, I encountered 11 warnings related to the implementation of the geom. I may have missed the loading process of the needed packages. Can I ask your assistance in checking this out with me?

Attached is the doc with the warnings received:
Warnings.txt

Here's the sample code script I am working on until the problem:

Load Packages ----

if(!require(pacman)) install.packages("pacman")
pacman::p_load(
tidyverse, # meta-package
inspectdf,
plotly,
janitor,
visdat,
esquisse
)

Load Data ----

ebola_sierra_leone <- read_csv("C:/Users/micha/OneDrive/Desktop/Trainings&Schools/Graph_FoSSA&R/R/Week 2/ebola_sierra_leone.csv")

Explore data ----

head(ebola_sierra_leone)
tail(ebola_sierra_leone)

ncol(ebola_sierra_leone)
nrow(ebola_sierra_leone)
dim(ebola_sierra_leone)

summary(ebola_sierra_leone)
#general data overview
vis_dat(ebola_sierra_leone)

categorical overview

cat_summary_plot <- show_plot(inspect_cat(ebola_sierra_leone)) # nested function
ggplotly(cat_summary_plot)

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions