Displaying 2 results from an estimated 2 matches for "844x7".
Did you mean:
844,7
2025 Jan 24
2
Interpreting the output of str on a data frame created using aggregate function
...frame
> (2) the df has two elements (I) Group.1 and (II) x
Correct so far.
> (3) Group.1 is a ?list? of number
No, it's a numeric vector. The length doesn't print because it's in a
dataframe, so the length is 844, the number of dataframe observations.
> (4) x which is a 844x7 matrix having value "Good", "Moderate", etc.
Correct.
>
> A few questions:
> (A) Is the interpretation given above correct?
> (B) Does the .. ..$ : NULL mean that the matrix has no row names?
Yes.
> (C) What does "attr(*, "dimnames")=List of 2&...
2025 Jan 24
3
Interpreting the output of str on a data frame created using aggregate function
...r [1:7] "Good" "Moderate" "Unhealthy For Some" "Unhealthy" ...
I am trying to understand the output. I believe it says that marginalcats
(1) is a data frame
(2) the df has two elements (I) Group.1 and (II) x
(3) Group.1 is a ?list? of number
(4) x which is a 844x7 matrix having value "Good", "Moderate", etc.
A few questions:
(A) Is the interpretation given above correct?
(B) Does the .. ..$ : NULL mean that the matrix has no row names?
(C) What does "attr(*, "dimnames")=List of 2" mean?
(D) Does it mean that the dim...