Displaying 1 result from an estimated 1 matches for "vesselspeed".
2017 Dec 14
0
multiple instances of predictor variable per model
...ere are 2
ships (or more), the number of animals (and all other survey-related info)
is just copied over on another line
df <- data.frame(Survey = c(1, 1, 2, 3), NAnimals = c(10, 10, 1, 0),
Vessel = c("A", "B", "C", "D"), VesselLength = c(20, 50, 40, 70),
VesselSpeed = c(10, 5, 4, 5), Direction = c("West", "East", "West", "West"))
Disclaimer: this is a crosspost from here (
https://stats.stackexchange.com/questions/318667/multiple-instances-of-predictor-variables
).
Many thanks.
[[alternative HTML version deleted]]