Skip to content
Advertisement

calculate number of non-missing counts in specific columns

I have a data like below:

JavaScript

I want to get count of non-missing based on F and L:

JavaScript

I tried below’s code but got wrong result since it considered F and L separate instead of based on their suffix:

JavaScript

Any idea?

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement