MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / DataFrame_PushFrontDataFrame

Function DataFrame_PushFrontDataFrame

inst/tinytest/cpp/DataFrame.cpp:135–145  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

133
134// [[Rcpp::export]]
135DataFrame DataFrame_PushFrontDataFrame(){
136 NumericVector u(2);
137 NumericVector v(2);
138 NumericVector w(2);
139 NumericVector x(2);
140
141 DataFrame df1 = DataFrame::create(_["u"] = u, _["v"] = v);
142 DataFrame df2 = DataFrame::create(_["w"] = w, _["x"] = x);
143 df1.push_front(df2);
144 return df1;
145}
146
147// [[Rcpp::export]]
148DataFrame DataFrame_PushBackDataFrame(){

Callers

nothing calls this directly

Calls 1

push_frontMethod · 0.45

Tested by

no test coverage detected