On 28/03/2024 7:48 a.m., Stefano Sofia wrote:
as.factor(2024, 12, 1, 0, 0)
That doesn't work. You need to put the numbers in a single vector as Fabio did, or you'll see this:
Error in as.factor(2024, 12, 1, 0, 0) : unused arguments (12, 1, 0, 0) Duncan Murdoch ______________________________________________ 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.