RFanalysis: Function to perform Random Forest analysis

View source: R/RFanalysis.R

RFanalysisR Documentation

Function to perform Random Forest analysis

Description

Note: dataset is expected to be in "wide" format for this function. Note2: This function is a work in progress and still needs some more testing. Use with caution.

Usage

RFanalysis(
  data,
  subset = NULL,
  predictors,
  confounders,
  dependent.var,
  ntree = 10000,
  select.best.mtry = TRUE,
  ...
)

Arguments

data

dataframe to use (original: ISA.cellular)

subset

whether or not to use subset of data

predictors

character value, predictors (original: cell.subsets.to.analyse)

confounders

character value, confounding variables (original: confounding.vars)

dependent.var

character value (original: dependent.variable)

ntree

numerical, number of trees to use in random forest

select.best.mtry

logical

...

other parameters parsed to the randomForest function

Value

a randomForest object


LDSamson/associationstudies documentation built on April 14, 2025, 11:52 a.m.