Decorrelated Composite of Multiple Signals in R
0
0
Entering edit mode
17 months ago
Nandhini • 0

Hello,

I have carried out four methods of Selection signals and want to do Decorrelated composite of multiple signals (DCMS). After running the command

DCMS(dfv, column.nums=1:ncol(dfv), subset=1:nrow(dfv), S=NULL, dfp, column.nums.p=1:ncol(dfp))

I am facing an error that reads,

Error in if (class(try(df.vars[subset, ], silent = TRUE)) == "try-error") stop("subset must contain valid indexes for choosing rows in dfv") : 
  the condition has length > 1

Would like to know how to rectify this error. I have 4 columns and 116451 rows in both dfv and dfp.

DCMS • 1.2k views
ADD COMMENT
0
Entering edit mode

Hi Nandhini, Have you been able to address this errors? It looks like the same error happened to me, and I've already tried everything to get the program to run.

ADD REPLY
0
Entering edit mode

Do not add an answer unless you're actually answering the top level question. Use Add Comment or Add Reply as appropriate instead. I've moved your post to a comment this time but please be more careful in the future.

ADD REPLY
0
Entering edit mode

Hi Azwan, I am still facing the same issue. Yet to find a solution.

ADD REPLY
0
Entering edit mode

For me I managed to work around this issue by using an older version of R, but recently I had to reformat my computer and even after using an old version of R the same error is still persistent. I was just wondering if any of you managed to figure out a solution by now and what did you do?

ADD REPLY

Login before adding your answer.

Traffic: 3007 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6