coatless-api-docs / rcpp-api Goto Github PK
View Code? Open in Web Editor NEWSource for the Unofficial Rcpp API Documentation
Home Page: http://thecoatlessprofessor.com/programming/rcpp/unofficial-rcpp-api-docs/
Source for the Unofficial Rcpp API Documentation
Home Page: http://thecoatlessprofessor.com/programming/rcpp/unofficial-rcpp-api-docs/
R::
and Rcpp::
return either a scalar or vector.Rcpp::
default parameters are set.R::
change parameters of sample on each loop.match( x, unique( x ) )
)pmax( b, pmin(x, a) )
)paste0()
)+
, -
, ...)>
, !=
, ...).nrow()
, .rows()
), (.ncol()
, .cols()
).size()
, .length()
) [note: .length()
is mentioned in STL container]DataFrame
shenanigans... e.g. only .nrows()
and .length()
/.size()
give col info_
e.g. A(0, _ )
.begin()
and .end()
::iterator
::const_iterator
::create(X, Y, ...)
::get_na()
::is_na
::import(InputIterator first, InputIterator last)
::import_transform(InputIterator first, InputIterator last, F f)
::diag(int size, const U &diag_value)
::eye(int n)
::ones(int n)
::zeros(int n)
*Matrix::Row
*Matrix::Column
*Matrix::Sub
*Vector
*Vector
or *Matrix
uses a direct copy of row, col, or submat view via a clone()
.clone
)clone
)Vector
in disguise)
typedef
of vector0
, defaults to NULL
)_["a"]
typedef
of DataFrame_Impl
extends Vector
_["a"]
DataFrame
s throw an error.DateVector
DatetimeVector
not_a_matrix
parse_error
not_s4
not_reference
not_initialized
no_such_field
not_a_closure
no_such_function
unevaluated_promise
S4_creation_error
reference_creation_error
no_such_binding
binding_not_found
binding_is_locked
no_such_namespace
function_not_exported
eval_error
no_such_slot
not_compatible
index_out_of_bounds
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.