Re: [R] Interpreting the output of str on a data frame created using aggregate function

2025-01-24 Thread avi.e.gross
Of Sorkin, John Sent: Friday, January 24, 2025 2:03 PM To: r-help@r-project.org (r-help@r-project.org) Subject: [R] Interpreting the output of str on a data frame created using aggregate function I ran the following code: marginalcats <- aggregate(meanbyCensusIDAndDay3$cats,

Re: [R] Interpreting the output of str on a data frame created using aggregate function

2025-01-24 Thread Rui Barradas
Às 19:03 de 24/01/2025, Sorkin, John escreveu: I ran the following code: marginalcats <- aggregate(meanbyCensusIDAndDay3$cats, list(meanbyCensusIDAndDay3$CensusID),table) followed by str(marginalcats) I received the following output: 'data.frame': 844 obs. of 2 vari

Re: [R] Interpreting the output of str on a data frame created using aggregate function

2025-01-24 Thread Sorkin, John
443-418-5382 From: Duncan Murdoch Sent: Friday, January 24, 2025 2:13 PM To: Sorkin, John; r-help@r-project.org (r-help@r-project.org) Subject: Re: [R] Interpreting the output of str on a data frame created using aggregate function I'll answer

Re: [R] Interpreting the output of str on a data frame created using aggregate function

2025-01-24 Thread Bert Gunter
I think there may be some confusion here. 4) x which is a 844x7 matrix having value "Good", "Moderate", etc. Correct. ** To be clear: x is a matrix of **integers** (presumably population counts) with 7 columns with names "Good", "Moderate",

Re: [R] Interpreting the output of str on a data frame created using aggregate function

2025-01-24 Thread Duncan Murdoch
I'll answer your question inline. On 2025-01-24 2:03 p.m., Sorkin, John wrote: I ran the following code: marginalcats <- aggregate(meanbyCensusIDAndDay3$cats, list(meanbyCensusIDAndDay3$CensusID),table) followed by str(marginalcats) I received the following output: 'd

[R] Interpreting the output of str on a data frame created using aggregate function

2025-01-24 Thread Sorkin, John
I ran the following code: marginalcats <- aggregate(meanbyCensusIDAndDay3$cats, list(meanbyCensusIDAndDay3$CensusID),table) followed by str(marginalcats) I received the following output: 'data.frame': 844 obs. of 2 variables: $ Group.1: num 6e+09 6e+09 6e+09 6e+09 6e