Skip to content

Plot_maps function error #367

@Mahdi2022

Description

@Mahdi2022

Hello! I have tried to run the function below:

plot_maps(plot_set=c(3), TmbData = TmbData, MappingDetails=MapDetails_List[["MappingDetails"]], Report=Report, Sdreport=Opt$SD, PlotDF=MapDetails_List[["PlotDF"]], MapSizeRatio=MapDetails_List[["MapSizeRatio"]], Xlim=MapDetails_List[["Xlim"]], Ylim=MapDetails_List[["Ylim"]], FileName=DateFile, Year_Set= Year_Set, Years2Include=Years2Include, Rotate=MapDetails_List[["Rotate"]], Cex=MapDetails_List[["Cex"]], Legend=MapDetails_List[["Legend"]],zone=MapDetails_List[["Zone"]], mar=c(0,0,2,0), oma=c(3.5,3.5,0,0), cex=1.8, category_names=levels(Data_Geostat[,'species']))

but I got this error: Error in Mat[PlotDF[, "x2i"], , drop = FALSE] : subscript out of bounds

Could you please tell me how to solve this issue? I looked at the function PlotMap_Fn, but I don't know what precisely the "Mat" do?

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