[R] Percentage variance

jim holtman jholtman at gmail.com
Sun Mar 22 04:44:00 CET 2009


One that you could write yourself:

percVar <- function(init, final) (final - init) / init * 100

On Sat, Mar 21, 2009 at 9:43 PM, Hadil Eshtayah <heshtaya at yahoo.ca> wrote:
> Dear Members,
>
> Simple questions, I am a beginner with R.  What is the function for percentage variance? A function that replaces: (final value-Initial value/Initial value)*100
>
> Thank You.
>
> H.
>
>
>
>      __________________________________________________________________
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?




More information about the R-help mailing list