Learn R Programming

schoolmath (version 0.4.2)

primes: generate prime-numbers in a range from START to END

Description

generate prime-numbers in a range from START to END

Usage

primes(start = 12, end = 9999)

Value

a vector of prime numbers

Arguments

start

the number to start from

end

the number to end #'

Examples

Run this code
primes(12,150) # list prime-numbers between 12 and 150

Run the code above in your browser using DataLab