Package org.renjin.stats.internals.models

Examples of org.renjin.stats.internals.models.Term


 
  private List<Term> terms(Object...terms) {
    List<Term> list = Lists.newArrayList();
    for(Object term : terms) {
      if(term instanceof String) {
        list.add(new Term(parse((String)term)));
      } else if(term instanceof Term) {
        list.add((Term)term);
      } else {
        throw new IllegalArgumentException(term.toString());
      }
View Full Code Here


  private Term interaction(String... variableNames) {
    List<SEXP> variables = Lists.newArrayList();
    for(String name : variableNames) {
      variables.add(parse(name));
    }
    return new Term(variables);
 
View Full Code Here

TOP

Related Classes of org.renjin.stats.internals.models.Term

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.