B Oracle Machine Learning for RでサポートされるR演算子およびR関数

OML4Rパッケージでは、OML4Rオブジェクトで使用できる多数のR演算子およびR関数がサポートされています。

この付録では、OML4RがサポートするR演算子およびR関数をリストします。

OML4Rのサンプル・プログラムには、OML4Rデータ型でこれらの関数の各カテゴリを使用した例がいくつか含まれています。

このリストの関数のみを使用するように制限されているわけではありません。必要とする特定の関数がOML4Rでサポートされていない場合は、最初にore.pullを使用してデータベースからRエンジン・メモリーにデータをプルして、インメモリーRオブジェクトを作成してから、任意のR関数を使用できます。

次の演算子および関数がサポートされています。これらの演算子および関数の構文およびセマンティクスは、Rのドキュメントを参照してください。これらのアイテムの構文およびセマンティクスは、対応するデータベースのマップされたデータ型(OML4Rデータ型とも呼ぶ)に使用する場合も変わりません。

  • 数学的変換: abs、sign、sqrt、ceiling、floor、trunc、cummax、cummin、cumprod、cumsum、log、loglo、log10、log2、log1p、acos、acosh、asin、asinh、atan、atanh、cos、cosh、sin、sinh、tan、atan2、tanh、gamma、lgamma、digamma、trigamma、factorial、lfactorial、round、signif、pmin、pmax、zapsmall、rank、diff、besselI、besselJ、besselK、besselY

  • 基本統計: mean、summary、min、max、sum、any、all、median、range、IQR、fivenum、mad、quantile、sd、var、table、tabulate、rowSums、colSums、rowMeans、colMeans、cor、cov

  • 算術演算子: +、-、*、/、^、%%、%/%

  • 比較演算子: ==、>、<、!=、<=、>=

  • 論理演算子: &、|、xor

  • 集合演算子: unique、%in%、subset

  • 文字列演算: tolower、toupper、casefold、toString、chartr、sub、gsub、substr、substring、paste、nchar、grepl

  • データ・フレームの結合: cbind、rbind、merge

  • ベクターの結合: append

  • ベクターの作成: ifelse

  • サブセットの選択: [、[[、$、head、tail、window、subset、Filter、na.omit、na.exclude、complete.cases

  • サブセットの置換え: [<-、[[<-、$<-

  • データの再編成: split、unlist

  • データ処理: eval、with、within、transform

  • applyのバリアント: tapply、aggregate、by

  • 特別な値のチェック: is.na、is.finite、is.infinite、is.nan

  • メタデータ関数: nrow、NROW、ncol、NCOL、nlevels、names、names<-、row、col、dimnames、dimnames<-、dim、length、row.names、row.names<-、rownames、rownames<-、colnames、levels、reorder

  • グラフィック: arrows、boxplot、cdplot、co.intervals、coplot、hist、identify、lines、matlines、matplot、matpoints、pairs、plot、points、polygon、polypath、rug、segments、smoothScatter、sunflowerplot、symbols、text、xspline、xy.coords

  • 変換関数: as.logical、as.integer、as.numeric、as.character、as.vector、as.factor、as.data.frame

  • 型チェック関数: is.logical、is.integer、is.numeric、is.character、is.vector、is.factor、is.data.frame

  • 文字の操作: nchar、tolower、toupper、casefold、chartr、sub、gsub、substr

  • その他のore.frame関数: data.frame、max.col、scale

  • 仮説検定: binom.test、chisq.test、ks.test、prop.test、t.test、var.test、wilcox.test

  • 各種分布: 密度、累積分布、および標準分布のクォンタイル関数

  • ore.matrix関数: show、is.matrix、as.matrix、%*% (マトリクスの乗算)、t、crossprod (マトリクスのクロス積)、tcrossprod (BをA回転置したマトリクスのクロス積)、solve (反転)、backsolve、forwardsolve、すべての適切な算術関数(abs、signなど)、summary (max、min、allなど)、mean