Package org.renjin.sexp

Examples of org.renjin.sexp.Logical


    }
//    if (s.length() > 1) {
//      Warning.invokeWarning(context, call, "the condition has length > 1 and only the first element will be used");
//    }

    Logical logical = s.asLogical();
    if (logical == Logical.NA) {
      throw new EvalException("missing value where TRUE/FALSE needed");
    }

    return logical == Logical.TRUE;
View Full Code Here

TOP

Related Classes of org.renjin.sexp.Logical

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.