Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Swimmer plot graph through Power BI

Hi, 

 

Need help with the examples on Swimmer plot graph out put. 

 

With regards 

Meghnath Chavva 

5 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi there,

     

    Thank you and still working on it and do you have any more examples to share will be apperciated!!!! With regards Meghnath Chavva

  • dkeerthi's avatar
    dkeerthi
    Frequent Visitor

    I tried to create a Dashbaord using library(swimplot); it works great on the my local machine but when i publish it to premium workspace it says 

    Missing R Package

    Package swimplot is currently unavailable

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi, Can you share the details?

       

      With regards 

      • dkeerthi's avatar
        dkeerthi
        Frequent Visitor

        used the below code for R Visual; i think the package swimplot is not supported. 

         

        # dataset <- data.frame(ID, Events, time, MonthslastContact, Event_Date, CT)
        # dataset <- unique(dataset)

        # Paste or type your script code here:
        library(swimplot)
        library(ggplot2)
        plot <- swimmer_plot(df=dataset,id='ID',end='MonthslastContact',col='black',fill='grey')


        plot+ swimmer_points(df=dataset,id='ID',name_shape = 'Events',size=8)