A variable with a range

I was just wondering if anyone could help me I have a variable that is in a range like this;
0<c<0.1
How do I put this into R?

c <- 0.05 is a variable in that range, but I suspect that's not what you want. Perhaps you could explain a little more.

Perhaps variables for min_c and max_c, and then you can generate values from a uniform distribution?

If this is in a range, it really depends on how small you want the variable (c) to be.

n <- 3
c <- c(1:(10 ^ n - 1)) * 10 ^ -(n + 1)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.