Learn R Programming

FinCal (version 0.6.3)

was: calculate weighted average shares -- weighted average number of common shares

Description

calculate weighted average shares -- weighted average number of common shares

Usage

was(ns, nm)

Arguments

ns
n x 1 vector vector of number of shares
nm
n x 1 vector vector of number of months relate to ns

See Also

EPS

diluted.EPS

Examples

Run this code
s=c(10000,2000);m=c(12,6);was(ns=s,nm=m)

s=c(11000,4400,-3000);m=c(12,9,4);was(ns=s,nm=m)

Run the code above in your browser using DataLab