makeprobsvec {cummeRbund} | R Documentation

## makeprobsvec

### Description

Sums a vector of numerics and divides by the sum

### Usage

    makeprobsvec(p)

### Arguments

`p` | A vector of numerics

### Details

None

### Value

A vector of probabilities

### Note

Should not be called directly by user.

### Author(s)

Loyal A. Goff

### References

None

### Examples

    	p<-sample(1:5000,20)
    	makeprobsvec(p)

[Package cummeRbund version 2.29.0 Index]