Skip to content

object 'pbp_data_win' not found in wp model #2

@903124

Description

@903124

In init_wp_model.R

wp_model <- mgcv::bam(Win_Indicator ~ s(ExpScoreDiff) + 
                        s(TimeSecs_Remaining, by = Half_Ind) + 
                        s(ExpScoreDiff_Time_Ratio) + 
                        Under_TwoMinute_Warning*posteam_timeouts_pre*Half_Ind + 
                        Under_TwoMinute_Warning*oppteam_timeouts_pre*Half_Ind,
                      data = pbp_data_win, family = "binomial")

Error in is.data.frame(data) : object 'pbp_data_win' not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions