Error in execution

7 views
Skip to first unread message

Shankar Lanke

unread,
Apr 15, 2021, 10:57:44 AMApr 15
to IQR Tools Users Group
Hi IQ Team,
I  am getting an error in the following script provided by you.
Once I run this script below
#################################################################
covModels <- lapply(covariateCols, function(covk) {
  res <- IQRcoxRegression(
    data = dataER,
    TIMEcol = "PFSMONTH",
    CENScol = "PFSCENS",
    PREDcol = covk,
    IDcol   = "ID",
    pathname = paste0("~/PROJECTS/SHARE/compound_name/50_ERefficacy/Output/05_step4_PFS_COX/01_UnivariateCovariateModels/",sprintf("%.02d",which(covk==covariateCols)),"_",covk),
    FLAGreport = TRUE
  )
})


names(covModels) <- covariateCols
#################################################################

I get this error message. 

Error in grDevices::pdf(file = filename, onefile = TRUE, width = width *  : 
  formal argument "onefile" matched by multiple actual arguments > names(covModels) <- covariateCols
Error in names(covModels) <- covariateCols : object 'covModels' not found

I do have the respective files in the folders but still getting the error. 
OverviewUnivariateCovariateModels.txt
SummaryUnivariateCovariateModels.txt

Thank you so much for your inputs.

Henning Schmidt

unread,
Apr 15, 2021, 11:00:49 AMApr 15
to Shankar Lanke, IQR Tools Users Group
Hi!

The best is to check directly with the person who provided the code.

Email me and we see which project it is.

Cheers,
Henning


________________________________________________________________________________

Henning Schmidt, PhD
Managing Director

IntiQuan GmbH
Elisabethenstrasse 23 [see map]
4051 Basel, Switzerland
Web: www.intiquan.com

Confidentiality Note: This message is intended solely for the designated recipient(s). It may contain confidential or proprietary information and may be subject to attorney-client privilege or other confidentiality protections. If you are not a designated recipient you may not review, copy or distribute this message. If you receive this in error, please notify the sender by reply e-mail and delete this message. Thank you.

Data Protection & Privacy: The IntiQuan Data Protection statement applies for all communication. You can view it here: https://www.intiquan.com/data-protection.

IntiQuan GmbH | Managing Director: Dr. Henning Schmidt | Trade register: Basel Stadt CH-270.4.004.907-8 | UID: CHE-181.306.905



--
You received this message because you are subscribed to the Google Groups "IQR Tools Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iqr-tools-users-...@intiquan.com.
To view this discussion on the web visit https://groups.google.com/a/intiquan.com/d/msgid/iqr-tools-users-group/24cd84f9-3129-4188-8504-8d154090003an%40intiquan.com.
Reply all
Reply to author
Forward
0 new messages