Learn R Programming

xhmmScripts (version 1.1)

listOfNulls: Create an empty list object of given size.

Description

Create an empty list object of given size, with NULL at each position.

Usage

listOfNulls(n)

Arguments

n

Examples

Run this code
lst = listOfNulls(17)
print(length(lst))

Run the code above in your browser using DataLab