[R] Fw: subsetting lists....

akshay kulkarni
Mon, 18 Jun 2018 11:15:30 -0000

correction....I want the method without a for loop
________________________________
From: akshay kulkarni <akshay_e4 at hotmail.com>
Sent: Monday, June 18, 2018 4:25 PM
To: R help Mailing list
Subject: subsetting lists....

dear members,
                            I have list YH and index vector iuhV. I want to
select iuhV[1] from YH[[1]], iuhv[2] from YH[[2]], iuhv[3] from
YH[[3]]......iuhv[n] from YH[[n]]...

How to do this?
I searched SO and the internet but was bootless....

Very many thanks for your time and effort.....
Yours sincerely,
AKSHAY M KULKARNI