Learn R Programming

SciencesPo (version 1.3.5)

nPermutate: Calculate number of permutations taking repeated elements into consideration

Description

Calculate number of permutations taking repeated elements into consideration

Usage

nPermutate(vec)

Arguments

vec
The vector which number of permutations will be calculated

encoding

UTF-8

Examples

Run this code
myvar <- 1:10
nPermutate(myvar)

Run the code above in your browser using DataLab