On Wed, 3 Nov 2021 20:35:58 +0200 Leonard Mada via R-help <r-help@r-project.org> wrote:
> class(p) = c("pm", class(p)); Does NextMethod() work for you? -- Best regards, Ivan ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.