[R] A Request

Avi Gross @v|gro@@ @end|ng |rom ver|zon@net
Tue Jun 21 18:36:08 CEST 2022


The code used is not shown but the error message seems fairly obvious.
Something is trying to change the attribute containing names for the object and is not changing the same number of items as the object contains.
What that is might be clear if you showed some code and perhaps printed out info about your variable before calling what caused the error and showing what you wanted to change it to.
And if you did that in advance, you might see what the error is and fix it without asking here.

-----Original Message-----
From: Muhammad Zubair Chishti <mzchishti using eco.qau.edu.pk>
To: r-help using r-project.org
Sent: Tue, Jun 21, 2022 9:09 am
Subject: [R] A Request

Hi, Dear Professor,
When I run a code in R, I face the following error:
Error in dimnames(x) <- dn :
  length of 'dimnames' [2] not equal to array extent

Kindly help how to handle this.

Regards
Chishti

    [[alternative HTML version deleted]]

______________________________________________
R-help using 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.

	[[alternative HTML version deleted]]



More information about the R-help mailing list