Try package data.table and its := operator. It's very fast and very short. DT[col1==something, col2:=col3+1]. The first part col1==something ... ... <看更多>
Search
Search
Try package data.table and its := operator. It's very fast and very short. DT[col1==something, col2:=col3+1]. The first part col1==something ... ... <看更多>