| iplot {RkMetrics} | R Documentation | 
A Plotting Function
Description
Produces a plot of the area-under-the-curve for the mortality data, but lplot() inverted
Usage
iplot(n, x, add = F)
Arguments
| n | the length of the vector Defaults to TRUE. | 
| x | the vector arguement. | 
| add | whether to add lines. Default is FALSE | 
Examples
m1 <- Mortality$D.Male[which(Mortality$Year == 2008)]
m2 <- Mortality$E.Male[which(Mortality$Year == 2008)]
male.1 <- m1/m2
male.2 <- log(male.1[!is.na(male.1)])
iplot(1:length(male.2),male.2)
iplot(1:length(male.2),male.2,add=TRUE)
[Package RkMetrics version 1.3 Index]