Check if valid input length
check_length_ls(x_ls, length, name)
x_ls
length
name
x
x_ls.
Check if elements in x_ls have approprate length. If length of any elements in x_ls is 1 then they are replicated to match length. If length of any elements is neither 1 or length then an error is signaled.
Useful links