Hi, Dear Community,

My data set logit.pred contains 2 columns and 1400 rows.  When I want to use
the first column, it is very strange. Where the $ come out?  Thanks so much!

> dim(logit.pred)
[1] 1400    2

> head(logit.pred)
     tree.pred valid.out
754  0.6550606         1
1080 0.6353524         1
100  0.6371222         1
192  0.8145823         1
648  0.7155204         1
635  0.2012797         1

> logit.pred[1:10,1]
$`754`
[1] 0.6550606

$`1080`
[1] 0.6353524

$`100`
[1] 0.6371222

$`192`
[1] 0.8145823

$`648`
[1] 0.7155204

$`635`
[1] 0.2012797

$`1810`
[1] 0.1701353

$`1630`
[1] 0.8228904

$`238`
[1] 0.5335658

$`1341`
[1] 0.7337714




-- 
Sincerely,
Changbin
--

	[[alternative HTML version deleted]]

