Jump to content
The mkiv Supra Owners Club

RStudio R Script


Jellybean

Recommended Posts

Is anybody proficient in R script ?

 

I am new to R and having difficulty getting my head around it, I am creating a custom Funnel Plot HTML Visual for PowerBI and the open source R code uses a weighted mean to calculate the baseline

 

I want the baseline Calculated by the mean , the R code I am using is fairly complex for me to decipher but I know it is something simple for an experienced R dev, if anybody can help

 

Line 254 p.fem 0], 1/p.se[p.se>0]^2)

 

File is here

https://github.com/microsoft/powerbi-visuals-funnel/blob/master/script.r

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. You might also be interested in our Guidelines, Privacy Policy and Terms of Use.