search for: state_sslt5

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

2012 Nov 03
1
Logical vector-based extraction
...sample(1:10,51,replace=TRUE) ) options (width=120) # The following logical variable does not get created - Don't understand what I am doing wrong state_pflt200 <- df$p_fatal <200 df[state_pflt200, c("state.name","p_fatal")] # The following works state_sslt5 <- df$t_safety_score <5 df[state_sslt5,c("state.name", "t_safety_score")]