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

Function createTwo

inst/tinytest/cpp/DataFrame.cpp:55–62  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

53
54// [[Rcpp::export]]
55DataFrame createTwo(){
56 IntegerVector v = IntegerVector::create(1,2,3);
57 std::vector<std::string> s(3);
58 s[0] = "a";
59 s[1] = "b";
60 s[2] = "c";
61 return DataFrame::create(Named("a")=v, Named("b")=s);
62}
63
64// [[Rcpp::export]]
65DataFrame SlotProxy( S4 o, std::string yy ){

Callers

nothing calls this directly

Calls 1

NamedFunction · 0.85

Tested by

no test coverage detected