Matrix Of Ones In R. If the user only provides an input for nx, the produced matrices ar