wnoise(len, perr, plot=TRUE)
wnoise
gives white noises.# Example 1
wnoise(len=100, perr=1)
# Example 2
v <- matrix(c(1, 0, 0,
0, 2, 0,
0, 0, 3),3,3,byrow=TRUE)
wnoise(len=20, perr=v )
Run the code above in your browser using DataLab