Displaying 1 result from an estimated 1 matches for "coststuff".
2010 Feb 19
1
Confused about appending to list behavior...
...00 1800 2000 2400
>
> cost_limits<-c(200000.25, 350010.15)
>
> example_list[[4]]<-cost_limits
>
> example_list
[[1]]
[1] "house"
[[2]]
[1] "brick" "wood"
[[3]]
[1] 1600 1800 2000 2400
[[4]]
[1] 200000.2 350010.2
> c(example_list,list(CostStuff=cost_limits))
[[1]]
[1] "house"
[[2]]
[1] "brick" "wood"
[[3]]
[1] 1600 1800 2000 2400
[[4]]
[1] 200000.2 350010.2
$CostStuff
[1] 200000.2 350010.2
> example_list$CostStuff
NULL
> example_list[[5]]
Error in example_list[[5]] : subscript out of bounds
> e...