proportion: Proportion

Description Usage Arguments Value Author(s) Examples

Description

This is a function that will take the proportions of an element of one vector comparing to the similar element of another vector.

Usage

1
proportion(Vec1, Vec2)

Arguments

Vec1

a numeric vector

Vec2

a numeric vector

Value

The proportion of the values given by the user.

Author(s)

Ashish Jain, Matt Stuart, Haiyang Zhang

Examples

1
2
proportion(c(1:10),c(11:20))
proportion(c(1:100),c(101:200))

mstuart2097/Lab5 documentation built on May 23, 2019, 8:16 a.m.