From: Alberto Vieira Ferreira Monteiro <albmont_at_centroin.com.br>

Date: Sat, 08 Mar 2008 18:38:03 +0000

R-help_at_r-project.org mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat 08 Mar 2008 - 18:54:47 GMT

Date: Sat, 08 Mar 2008 18:38:03 +0000

This is probably very trivial - so I can't find an answer in the help files.

For example, passing from 3 to 4 would be the same as multiplying the series by the matrix:

c(1/3, 2/3, 0), c(0, 2/3, 1/3), c(0, 0, 3/3))

In the same way, passing from 4 to 3 would be the same as multiplying the series by the matrix

rbind(c(3/4, 1/4, 0, 0),

c(0, 2/4, 2/4, 0),

c(0, 0, 1/4, 3/4))

How can I do it in a simple way?

Alberto Monteiro

R-help_at_r-project.org mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat 08 Mar 2008 - 18:54:47 GMT

Archive maintained by Robert King, hosted by
the discipline of
statistics at the
University of Newcastle,
Australia.

Archive generated by hypermail 2.2.0, at Sat 08 Mar 2008 - 20:30:20 GMT.

*
Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help.
Please read the posting
guide before posting to the list.
*