Displaying 2 results from an estimated 2 matches for "marginalcat".
Did you mean:
marginalcats
2025 Jan 24
2
Interpreting the output of str on a data frame created using aggregate function
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:
> 'data.frame': 844 obs. of 2 variables:
> $ Group.1: num 6e+09 6e+09 6e+09...
2025 Jan 24
3
Interpreting the output of str on a data frame created using aggregate function
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+09 ...
$ x : int [1:84...