vplot: A Plotting Function

Description Usage Arguments Examples

Description

Produces a similar plot as lplot(), only a transposition of ages is made

Usage

1
vplot(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

1
2
3
4
5
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)])
vplot(1:length(male.2),male.2)

RkMetrics documentation built on May 2, 2019, 12:38 p.m.

Related to vplot in RkMetrics...