Returns doubly truncated vector of 2m-RGHD function values where input is 1-J
RGHD(J, m, r, q, P0_iter = 100L, P0_included = FALSE)
Length of vector to be generated
Parameter of the 2m-RGHD function, this defines number of r and q parameters of the function
R vector containing r parameters from 1:m
R vector containing q parameters from 1:m
Integer indicating number of iterations to use for calculation of P0, increasing this parameter will increase accuracy of P0
Boolean used to include P0 in vector or not