| corral_preproc | R Documentation | 
This function performs the row and column scaling pre-processing operations, prior to SVD, for the corral methods. See corral for single matrix correspondence analysis and corralm for multi-matrix correspondence analysis.
corral_preproc(
  inp,
  rtype = c("standardized", "indexed", "hellinger", "freemantukey", "pearson"),
  vst_mth = c("none", "sqrt", "freemantukey", "anscombe"),
  powdef_alpha = NULL,
  row.w = NULL,
  col.w = NULL,
  smooth = FALSE,
  ...
)
inp | 
 matrix, numeric, counts or logcounts; can be sparse Matrix or matrix  | 
rtype | 
 character indicating what type of residual should be computed; options are '"indexed"', '"standardized"' (or '"pearson"' is equivalent), '"freemantukey"', and '"hellinger"'; defaults to '"standardized"' for   | 
vst_mth | 
 character indicating whether a variance-stabilizing transform should be applied prior to calculating chi-squared residuals; defaults to '"none"'  | 
powdef_alpha | 
 numeric for the power that should be applied if using power deflation. Must be in (0,1), and if provided a number outside this range, will be ignored. Defaults to 'NULL' which does not perform this step.  | 
row.w | 
 numeric vector; Default is   | 
col.w | 
 numeric vector; Default is   | 
smooth | 
 logical; Whether or not to perform the additional smoothing step with 'trim_matdist'. Default is   | 
... | 
 (additional arguments for methods)  | 
matrix, processed for input to compsvd to finish CA routine
mat <- matrix(sample(0:10, 500, replace=TRUE), ncol=25) mat_corral <- corral_preproc(mat) corral_output <- compsvd(mat_corral, ncomp = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.