Displaying 6 results from an estimated 6 matches for "city_j".
Did you mean:
city_b
2018 May 08
2
Bilateral matrix
...locations. I would like
the final output to look like the second table below.
I have tried using crosstab() from the ecodist but I do not have another
variable to measure the flow. Ultimately I would like to compute the
probability of movement between cities (movement to city_i/total movement
from city_j).
Is it possible to aggregate the data in this way? Any guidance would be
highly appreciated. Thank you!
# Original data
structure(list(id = 101:115, current_location = structure(c(2L,
8L, 8L, 3L, 6L, 5L, 1L, 2L, 7L, 4L, 2L, 8L, 8L, 3L, 6L), .Label =
c("Austin",
"Boston", &quo...
2018 May 08
3
Bilateral matrix
...like the second table below.
> >
> > I have tried using crosstab() from the ecodist but I do not have another
> > variable to measure the flow. Ultimately I would like to compute the
> > probability of movement between cities (movement to city_i/total movement
> > from city_j).
> >
> > Is it possible to aggregate the data in this way? Any guidance would be
> > highly appreciated. Thank you!
> >
> > # Original data
> > structure(list(id = 101:115, current_location = structure(c(2L,
> > 8L, 8L, 3L, 6L, 5L, 1L, 2L, 7L, 4L, 2L, 8L,...
2018 May 08
0
Bilateral matrix
...the final output to look like the second table below.
>
> I have tried using crosstab() from the ecodist but I do not have another
> variable to measure the flow. Ultimately I would like to compute the
> probability of movement between cities (movement to city_i/total movement
> from city_j).
>
> Is it possible to aggregate the data in this way? Any guidance would be
> highly appreciated. Thank you!
>
> # Original data
> structure(list(id = 101:115, current_location = structure(c(2L,
> 8L, 8L, 3L, 6L, 5L, 1L, 2L, 7L, 4L, 2L, 8L, 8L, 3L, 6L), .Label =
> c("...
2018 May 16
0
Bilateral matrix
...>> >
>> > I have tried using crosstab() from the ecodist but I do not have another
>> > variable to measure the flow. Ultimately I would like to compute the
>> > probability of movement between cities (movement to city_i/total
>> movement
>> > from city_j).
>> >
>> > Is it possible to aggregate the data in this way? Any guidance would be
>> > highly appreciated. Thank you!
>> >
>> > # Original data
>> > structure(list(id = 101:115, current_location = structure(c(2L,
>> > 8L, 8L, 3L, 6L,...
2018 May 16
2
Bilateral matrix
...have tried using crosstab() from the ecodist but I do not have
>>> another
>>> > variable to measure the flow. Ultimately I would like to compute the
>>> > probability of movement between cities (movement to city_i/total
>>> movement
>>> > from city_j).
>>> >
>>> > Is it possible to aggregate the data in this way? Any guidance would be
>>> > highly appreciated. Thank you!
>>> >
>>> > # Original data
>>> > structure(list(id = 101:115, current_location = structure(c(2L,
>&g...
2018 May 17
0
Bilateral matrix
...osstab() from the ecodist but I do not have
>>>> another
>>>> > variable to measure the flow. Ultimately I would like to compute the
>>>> > probability of movement between cities (movement to city_i/total
>>>> movement
>>>> > from city_j).
>>>> >
>>>> > Is it possible to aggregate the data in this way? Any guidance would
>>>> be
>>>> > highly appreciated. Thank you!
>>>> >
>>>> > # Original data
>>>> > structure(list(id = 101:115,...