I’m running an exercise in R, going through the steps and everything is working so far except for this code produces an error:
Before of that, I define P matrix.
P6 <- P %^% 6
Error in P %^% 6 : could not find function “%^%”
i’ve looked for solution in Google and here and i dont found that. In the websites i find that this is how i have to do P^6.
Thank you very much.
Best Regards
New contributor
Christian Cid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.