Well since you said that it cannot recognize the value of 'p', this
suggests that you have not defined that object. Here is an example of
what you might be trying to do (you can just copy and paste the code
into R):
## create x matrix of 0s
x <- matrix(0,
Ok, I try to explain better...
I have to create a 21x21 matrix with numbers and a parameter (for example I
have to put "p" and "1-p" somewhere in the matrix).
I know how to write a matrix with all numbers, but if I put the parameter
inside, it says that it can't recognize the value p.
What shou
Hi Andrea,
Help us help you. Please read this: http://www.R-project.org/posting-guide.html
and then reply to the list with more details on what you have, what
you have tried, and what you expect the results to be. Then we can
get you started (and maybe even finished). To borrow from Sherlock
Ho
3 matches
Mail list logo