Par(mfrow) error

Hello everybody
** I want to evaluate the model of cox ** -

System Information:

  • RStudio Edition: (Desktop )
  • RStudio Version: 2023.9.0463
  • OS Version: mingwx32
  • R Version: 4.3.1
  • sessionInfo(): R version 4.3.1 (2023-06-16 ucrt)
    Platform: x86_64-w64-mingw32/x64 (64-bit)
    Running under: Windows 11 x64 (build 22000)

Matrix products: default

[1] LC_COLLATE=English_United States.utf8
[2] LC_CTYPE=English_United States.utf8
[3] LC_MONETARY=English_United States.utf8
[5] LC_TIME=English_United States.utf8

time zone: Europe/Paris
tzcode source: internal

attached base packages:
[1] stats graphics grDevices utils datasets
[6] methods base

other attached packages:
[1] survival_3.5-5 readxl_1.4.3

loaded via a namespace (and not attached):
[1] compiler_4.3.1 Matrix_1.5-4.1 tools_4.3.1
[4] cellranger_1.1.0 splines_4.3.1 grid_4.3.1
[7] lattice_0.21-8

Referred here from

Hi, welcome to the forum

I think we need to see your code and some sample data. See
FAQ Asking Questions

A handy way to supply some sample data is the dput() function. In the case of a large dataset something like dput(head(mydata, 100)) should supply the data we need. Just do dput(mydata) where mydata is your data. Copy the output and paste it here between