Displaying 6 results from an estimated 6 matches for "city_i".
Did you mean:
city_id
2018 May 08
2
Bilateral matrix
...bilateral movement between 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"...
2018 May 08
3
Bilateral matrix
...e
> > 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,...
2018 May 08
0
Bilateral matrix
...en 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,...
2018 May 16
0
Bilateral matrix
...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_locatio...
2018 May 16
2
Bilateral matrix
...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(li...
2018 May 17
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!
>>>> >
>>>> > #...