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

Function DataFrame_PushBackDataFrame

inst/tinytest/cpp/DataFrame.cpp:148–158  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

146
147// [[Rcpp::export]]
148DataFrame DataFrame_PushBackDataFrame(){
149 NumericVector u(2);
150 NumericVector v(2);
151 NumericVector w(2);
152 NumericVector x(2);
153
154 DataFrame df1 = DataFrame::create(_["u"] = u, _["v"] = v);
155 DataFrame df2 = DataFrame::create(_["w"] = w, _["x"] = x);
156 df1.push_back(df2);
157 return df1;
158}
159
160// [[Rcpp::export]]
161DataFrame DataFrame_PushWrongSize(){

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected