search for: tp4647884p4647896

Displaying 1 result from an estimated 1 matches for "tp4647884p4647896".

2012 Oct 30
3
newbie: embeding seq in a list
Suppose I want to create a structure containing the following values: 0.8,0.9,1.0,1.1,1.2 If I use env <- list(0.8,0.9,1.0,1.1,1.2) then R returns > env [[1]] [1] 0.8 [[2]] [1] 0.9 [[3]] [1] 1 [[4]] [1] 1.1 [[5]] [1] 1.2 But, if I try to 'save some key-strokes', and use env <- list(seq(0.8,1.2,by=0.1)) then R returns > env [[1]] [1] 0.8 0.9 1.0 1.1 1.2 I'd