search for: dbh2height

Displaying 1 result from an estimated 1 matches for "dbh2height".

2003 Feb 16
1
__stdcall funcitons called using .C() on win32 chokes
...void __stdcall dbh_2_height( const unsigned long *func_idx, const unsigned long *metric, const unsigned long *species, const double *dbh, double *pred_height ); and have created a R interface function as, ## wrapper function for dbh_2_height / dbh2height <- function( func, metric, sp, dbh ) { d <- double(length(func)) .C("dbh_2_height", as.integer(func), as.integer(metric), as.integer(sp), as.double(dbh), d )[[5]] } I would like to keep the __stdcall in the source code and still use the .C() i...