search for: p_fatal

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

Did you mean: i_fatal
2012 Nov 03
1
Logical vector-based extraction
Hello, The most part of the program works except that the following logical variable does not get created although the second logical variable-based extraction works. I don't understand what I am doing wrong here. state_pflt200 <- df$p_fatal <200 df[state_pflt200, c("state.name","p_fatal")] I would appreciate receiving your help. Thanks, Pradip Muhuri ##### Below is the code that includes the reproducible example. df <- data.frame (state.name= c("Alabama","Alaska&quot...