Yellen was appearing in Congress for the first time since Republicans took control of the White House and both houses of the legislature and she nodded to the uncertainties over the direction of U.S. economic policy.