Skip to content

Commit

Permalink
edit code
Browse files Browse the repository at this point in the history
  • Loading branch information
lindseylabrie committed Nov 13, 2023
1 parent 662441a commit de8a323
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Binary file modified plots/AllIndividuals.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/MeanPosteriors.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/MeanPosteriorsDistanceBubbles.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions silver_carp_telemetry.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ library(readxl)
library(ggplot2)
library(ggbreak)
library(brms)
library(tidybayes)

# load data

Expand Down Expand Up @@ -43,9 +44,9 @@ All_Individuals <- rkm_tracker_date %>%
ggplot(aes(color=as.character(color), group=transmitter_id,x=date, y=distance))+
geom_line(alpha=0.8)+
geom_point(shape=20, size=0.5, alpha=0.8) +
labs(y = "Minimum Distance Traveled, rkm",
labs(y = "Distance Traveled, rkm",
x = "") +
theme_classic()+
theme_linedraw()+
theme(legend.position="none")+
ylim(-475,200)+
ggtitle("Telemetered Silver Carp Movement Over Time")
Expand Down Expand Up @@ -516,7 +517,8 @@ mean_posterior_with_distances <- binom5_medians %>%
geom_line() +
geom_ribbon(aes(ymin = .lower, ymax = .upper), alpha = 0.2) +
geom_point(data = max_movement, aes(y = move_no_move, size = total_movement))+
labs(y="Predicted Probability of Movement")+
labs(y="Probability of Movement",
x="Flow in CFS")+
scale_x_log10()


Expand Down

0 comments on commit de8a323

Please sign in to comment.