Open mariamaseng opened 1 year ago
Additional messages:
Additional messages:
Hi! I am also a first time user and having the same issue (R version 4.3.1).
Additional messages:
Modified
RESUME.BAL <- RESUME.BAL[,c(ncol(RESUME.BAL), ncol(RESUME.BAL)-1,
order(RESUME.BAL[nrow(RESUME.BAL),
-c(ncol(RESUME.BAL),
ncol(RESUME.BAL)-1)],
decreasing = T))]
to
RESUME.BAL <- RESUME.BAL[,c(ncol(RESUME.BAL), ncol(RESUME.BAL)-1,
order(as.numeric(RESUME.BAL[nrow(RESUME.BAL),
-c(ncol(RESUME.BAL),
ncol(RESUME.BAL)-1)],
decreasing = T)))]
Hi @peter0k and @mariamaseng!
Did you solve the issue with Error in xtfrm.data.frame(x) : cannot xtfrm data frames
?
Hi @peter0k and @mariamaseng!
Did you solve the issue with
Error in xtfrm.data.frame(x) : cannot xtfrm data frames
?
Yes I sourced Selbal_Functions.R with the modification I posted above into my script. It didn't produce the error mentioned.
Hi! I am trying this amazing package for the first time, and are encountering a problem. It says it finished, defining the optimal number of variables as 6, but trying to access the object (CV.BAL.dic) it is not found. I am getting an error message I dont understand, see below.
This is the code:
And this is the output: ############################################################### STARTING selbal.cv FUNCTION ###############################################################
-------------------------------------------------------------
ZERO REPLACEMENT . . .
Warning: Column(s) containing more than 80% zeros/unobserved values were found (check it out using zPatterns). (You can use the z.warning argument to modify the warning threshold).Warning: Row(s) containing more than 80% zeros/unobserved values were found (check it out using zPatterns). (You can use the z.warning argument to modify the warning threshold). , . . . FINISHED.
-------------------------------------------------------------
-------------------------------------------------------------
Starting the cross - validation procedure . . .Warning: already exporting variable(s): logit.acc
. . . finished.
-------------------------------------------------------------
###############################################################
The optimal number of variables is: 6
Warning: Column(s) containing more than 80% zeros/unobserved values were found (check it out using zPatterns). (You can use the z.warning argument to modify the warning threshold).Warning: Row(s) containing more than 80% zeros/unobserved values were found (check it out using zPatterns). (You can use the z.warning argument to modify the warning threshold).Warning: Ignoring unknown parameters:
linewidth
Warning: The<scale>
argument ofguides()
cannot beFALSE
. Use "none" instead as of ggplot2 3.3.4.Error in xtfrm.data.frame(x) : cannot xtfrm data frames