search for: theta3_set1

Displaying 1 result from an estimated 1 matches for "theta3_set1".

Did you mean: theta1_set1
2012 Sep 13
1
problem creating an array
...=============================================================== ##generate 3 sequences, each of length n=21; sequences named theta"n"_set1 theta1_set1=c(seq(0,1,0.005)) seqa=c(seq(0,0.50,0.005)) seqb=c(seq(0.495,0,-0.005)) theta2_set1=c(seqa,seqb) seqc=c(seq(1,0,-0.01)) seqd=c(rep(0,100)) theta3_set1=c(seqc,seqd) sum=numeric() for (i in 1:201) { sum[i]= theta1_set1[i]+theta2_set1[i]+theta3_set1[i] } sum #"n" designates the number of random #'s to be generated from rnorm #"x"combines all three strings of landscape scenarios into one vector #"sd" tells the std de...