GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Data::Frame::Partial::Eval(3) User Contributed Perl Documentation Data::Frame::Partial::Eval(3)

Data::Frame::Partial::Eval - Partial class for data frame's eval method

version 0.006004

    $df->eval_tidy($x);

Do not use this module in your code. This is only internally used by Data::Frame.

The "eval_tidy" method is similar to R's data frame tidy evaluation.

    eval_tidy($x)

This method is similar to R's data frame tidy evaluation.

Depending on $x,

  • $x is a reference but not an Eval::Quosure object

    Return $x.

  • $x is a column name of the data frame

    Return the column.

  • For other $x,

    Coerce $x to an an Eval::Quosure object, add columns of the data frame into the quosure object's captured variables, and evaluate the quosure object. For example,

        # $df has a column named "foo"
        $df->eval_tidy('$foo + 1');
        # above is equivalent to below
        $df->at('foo') + 1;
        

Data::Frame, Eval::Quosure

  • Zakariyya Mughal <zmughal@cpan.org>
  • Stephan Loyd <sloyd@cpan.org>

This software is copyright (c) 2014, 2019-2022 by Zakariyya Mughal, Stephan Loyd.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2024-12-20 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.