Filter for PFR and VPIP gap > 10

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Filter for PFR and VPIP gap > 10

Postby Jackntigger » Sat May 12, 2018 7:05 pm

Hi, How would I make and expression filter such that I can run a search of all players who's VPIP and PFR have a gap of > 10?
Thanks
Jackntigger
 
Posts: 84
Joined: Fri May 08, 2015 10:35 pm

Re: Filter for PFR and VPIP gap > 10

Postby Flag_Hippo » Sun May 13, 2018 6:05 am

You can build a custom stat to display the difference between VPIP and PFR using the existing value expressions for those stats:

VPIP - PFR
Code: Select all
((cnt_vpip / (cnt_hands - cnt_walks)) * 100) - ((cnt_pfr / cnt_pfr_opp) * 100)

When the stat has been added to a custom all players report you can use this expression filter:

Code: Select all
#VPIP - PFR# > 10
Flag_Hippo
Moderator
 
Posts: 14497
Joined: Tue Jan 31, 2012 7:50 am

Re: Filter for PFR and VPIP gap > 10

Postby Jackntigger » Sun May 13, 2018 1:47 pm

Oh, cool. Thanks.
Jackntigger
 
Posts: 84
Joined: Fri May 08, 2015 10:35 pm

Re: Filter for PFR and VPIP gap > 10

Postby drfumanchu » Tue Apr 25, 2023 3:56 am

Hello,

I wanted to use this statistic (vpip-pfr) on my hud, but the difference in vpip-pfr is displayed with several zeros after the decimal point.
I have read the documentation on custom stats, but I have trouble understanding it. I tried to use items like "trunc" or "round", but when I do so my statistic is invalid.

Can someone help me to have on my hud, the vpip-pfr stat proposed above, but without numbers after the decimal point, please?
drfumanchu
 
Posts: 4
Joined: Mon Jul 27, 2015 4:32 pm

Re: Filter for PFR and VPIP gap > 10

Postby Flag_Hippo » Tue Apr 25, 2023 5:34 am

If you set the 'Format Type' as 'Number' with the 'Decimal' option disabled it will get set automatically for you like this:

Code: Select all
format_number(((cnt_vpip / (cnt_hands - cnt_walks)) * 100) - ((cnt_pfr / cnt_pfr_opp) * 100), 0, false, false)

For HUD statistics you can also specify the number of decimals displayed in the HUD Profile Editor.
Flag_Hippo
Moderator
 
Posts: 14497
Joined: Tue Jan 31, 2012 7:50 am

Re: Filter for PFR and VPIP gap > 10

Postby drfumanchu » Tue Apr 25, 2023 7:19 am

It works, thank you very much !
drfumanchu
 
Posts: 4
Joined: Mon Jul 27, 2015 4:32 pm


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 19 guests

cron