Displaying 1 result from an estimated 1 matches for "pred_height".
Did you mean:
grid_height
2003 Feb 16
1
__stdcall funcitons called using .C() on win32 chokes
...ons prototypes as:
/* for building on *nix */
#ifndef WIN32
#define __stdcall /*nothing*/
#endif
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...