C# Класс BSky.Statistics.R.UAPackageAPI

Наследование: BSky.Statistics.Common.CommandDispatcher, IAnalyticCommands
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CloseDataset ( ServerDataSource dataSource ) : UAReturn
DataFrameLoad ( ServerDataSource dataSource, string dframename ) : UAReturn
DataSourceLoad ( ServerDataSource dataSource, string sheetname ) : UAReturn
DataSourceReadCell ( ServerDataSource dataSource, int row, int col ) : UAReturn
DataSourceReadRow ( ServerDataSource dataSource, int row ) : UAReturn
DataSourceReadRows ( ServerDataSource dataSource, int start, int end ) : UAReturn
DataSourceRefresh ( ServerDataSource dataSource ) : UAReturn
DataSourceSave ( ServerDataSource dataSource ) : UAReturn
DatasetSaveas ( ServerDataSource dataSource ) : UAReturn
Datasetclose ( ServerDataSource dataSource ) : UAReturn
Dispose ( ) : void
EmptyDataSourceLoad ( ServerDataSource dataSource ) : UAReturn
Execute ( ServerCommand Command ) : UAReturn
Execute ( string commandString ) : UAReturn
ExecuteR ( ServerCommand Command, bool hasReturn, bool hasUAReturn ) : object
GetDF ( System.IO.DataSource ds ) : DataFrame
GetInstalledPackageList ( ) : List
GetODBCTableList ( string filename, bool isxlsx ) : object
GetRodbcTables ( string fname ) : UAReturn
InstallCRANPackage ( string packagename ) : UAReturn
InstallLocalPackage ( string pkgfilenames, bool autoLoad = true, bool overwrite = false ) : UAReturn
InstallReqPackageFromCRAN ( string packagename ) : UAReturn
IsRPacakgeInstalled ( string packagename ) : bool
LoadDataFrame ( ServerDataSource dataSource, string dframename ) : UAReturn
LoadDefPacakges ( ) : void
LoadLocalPackage ( string package ) : UAReturn
LoadPackageFromList ( string packagenames ) : UAReturn
OpenDataset ( ServerDataSource dataSource, string sheetname ) : UAReturn
OpenEmptyDataset ( ServerDataSource dataSource ) : UAReturn
RefreshDataset ( ServerDataSource dataSource ) : UAReturn
RefreshDataset_old ( ServerDataSource dataSource ) : UAReturn
RefreshNewDataset ( ServerDataSource dataSource ) : UAReturn
ShowInstalledPackages ( ) : UAReturn
ShowLoadedPackages ( ) : UAReturn
UABinomial ( ServerDataSource dataSource, List vars, double p, string alternative, double confidenceLevel, bool descriptives, bool quartiles, int missing ) : UAReturn
UAOneSample ( ServerDataSource dataSource, List vars, double mu, double confidenceLevel, int missing ) : UAReturn
UninstallPackages ( string packagenames ) : UAReturn
UnloadPackages ( string packagenames ) : UAReturn
addColLevels ( string colName, List finalLevelList, ServerDataSource dataSource ) : UAReturn
addNewColDatagrid ( string colName, string dgridval, int rowindex, ServerDataSource dataSource ) : UAReturn
addNewDataRow ( string colName, string celdata, string rowdata, int rowindex, ServerDataSource dataSource ) : UAReturn
changeColLevels ( string colName, List finalLevelList, ServerDataSource dataSource ) : UAReturn
changeMissing ( string colName, string colProp, List newMisVal, string mistype, ServerDataSource dataSource ) : UAReturn
editDatagridCell ( string colName, string celdata, int rowindex, ServerDataSource dataSource ) : UAReturn
editDatasetVarGrid ( ServerDataSource dataSource, string colName, string colProp, string newValue, List colLevels ) : UAReturn
getColFactormap ( string colName, ServerDataSource dataSource ) : List
getColNumFactors ( string colName, ServerDataSource dataSource ) : object
makeColumnFactor ( ServerDataSource dataSource, string colName ) : UAReturn
onLoad ( ) : void
removeDatagridRow ( int rowindex, ServerDataSource dataSource ) : UAReturn
removeVarGridCol ( string colName, ServerDataSource dataSource ) : UAReturn
saveDataset ( ServerDataSource dataSource ) : UAReturn
setCRANMirror ( ) : UAReturn
setNominalOrOrdinalToScale ( string colName, List fmap, string changeTo, ServerDataSource dataSource ) : UAReturn
setScaleToNominalOrOrdinal ( string colName, List fmap, string changeTo, ServerDataSource dataSource ) : UAReturn

Приватные методы

Метод Описание
CheckAndInstallBlueSkyRPackage ( ) : UAReturn
Evaluate ( string commandString ) : UAReturn
EvaluateNoReturn ( string commandString ) : void
EvaluateToObject ( string commandString, bool hasReturn ) : object
EvaluateToObjectXml ( string commandString ) : XmlDocument
GetAlign ( ServerDataSource dataSource, string objectName ) : UAReturn
GetColProp ( ServerDataSource dataSource, string objectName ) : UAReturn
GetCovertedDataType ( string objectName ) : DataColumnTypeEnum
GetDataType ( ServerDataSource dataSource, string objectName ) : DataColumnTypeEnum
GetFactorValues ( ServerDataSource dataSource, string objectName ) : UAReturn
GetLabel ( ServerDataSource dataSource, string objectName ) : UAReturn
GetMissingValues ( ServerDataSource dataSource, string objectName ) : UAReturn
GetRole ( ServerDataSource dataSource, string objectName ) : UAReturn
GetRowCount ( ServerDataSource dataSource ) : int
GetVectorLength ( ServerDataSource dataSource, string objectName ) : int
LoadDefaultPackages ( ) : void
LoadDefaultPackagesFromXML ( ) : UAReturn
LoadPackage ( ) : UAReturn
LoadUserSessionPackages ( ) : void
SetColMeasure ( ServerDataSource dataSource, string colName, string colProp, string newValue, List colLevels ) : UAReturn
SetColProperty ( ServerDataSource dataSource, string colName, string colProp, string newValue ) : UAReturn
UnloadPackage ( string packageName ) : void
addColLvl ( string colName, List finalLevelList, ServerDataSource dataSource ) : UAReturn
addDatagridRow ( string colName, string celdata, string rowdata, int rowindex, ServerDataSource dataSource ) : UAReturn
addNewCol ( string colName, string dgridval, int rowindex, ServerDataSource dataSource ) : UAReturn
changeColLvl ( string colName, List finalLevelList, ServerDataSource dataSource ) : UAReturn
changeColMissing ( string colName, string colProp, List newMisVal, string mistype, ServerDataSource dataSource ) : UAReturn
changeDatagridCell ( string colName, string celdata, int rowindex, ServerDataSource dataSource ) : UAReturn
changeNominalOrOrdinalToScale ( string colName, List fmap, string changeTo, ServerDataSource dataSource ) : UAReturn
changeScaleToNominalOrOrdinal ( string colName, List fmap, string changeTo, ServerDataSource dataSource ) : UAReturn
delDatagridRow ( int rowindex, ServerDataSource dataSource ) : UAReturn
getColumnFmap ( string colName, ServerDataSource dataSource ) : List
getColumnNumFactors ( string colName, ServerDataSource dataSource ) : object
getMaxFactors ( ServerDataSource dataSource ) : object
isDuplicateColnames ( object colnames ) : bool
makeColFactor ( ServerDataSource dataSource, string colName ) : UAReturn
removeVarCol ( string colName, ServerDataSource dataSource ) : UAReturn
toRCollection ( List list ) : string

Описание методов

CloseDataset() публичный Метод

public CloseDataset ( ServerDataSource dataSource ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

DataFrameLoad() публичный Метод

public DataFrameLoad ( ServerDataSource dataSource, string dframename ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
dframename string
Результат BSky.Statistics.Common.UAReturn

DataSourceLoad() публичный Метод

public DataSourceLoad ( ServerDataSource dataSource, string sheetname ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
sheetname string
Результат BSky.Statistics.Common.UAReturn

DataSourceReadCell() публичный Метод

public DataSourceReadCell ( ServerDataSource dataSource, int row, int col ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
row int
col int
Результат BSky.Statistics.Common.UAReturn

DataSourceReadRow() публичный Метод

public DataSourceReadRow ( ServerDataSource dataSource, int row ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
row int
Результат BSky.Statistics.Common.UAReturn

DataSourceReadRows() публичный Метод

public DataSourceReadRows ( ServerDataSource dataSource, int start, int end ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
start int
end int
Результат BSky.Statistics.Common.UAReturn

DataSourceRefresh() публичный Метод

public DataSourceRefresh ( ServerDataSource dataSource ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

DataSourceSave() публичный Метод

public DataSourceSave ( ServerDataSource dataSource ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

DatasetSaveas() публичный Метод

public DatasetSaveas ( ServerDataSource dataSource ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

Datasetclose() публичный Метод

public Datasetclose ( ServerDataSource dataSource ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

EmptyDataSourceLoad() публичный Метод

public EmptyDataSourceLoad ( ServerDataSource dataSource ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

Execute() публичный Метод

public Execute ( ServerCommand Command ) : UAReturn
Command BSky.Statistics.Common.ServerCommand
Результат BSky.Statistics.Common.UAReturn

Execute() публичный Метод

public Execute ( string commandString ) : UAReturn
commandString string
Результат BSky.Statistics.Common.UAReturn

ExecuteR() публичный Метод

public ExecuteR ( ServerCommand Command, bool hasReturn, bool hasUAReturn ) : object
Command BSky.Statistics.Common.ServerCommand
hasReturn bool
hasUAReturn bool
Результат object

GetDF() публичный Метод

public GetDF ( System.IO.DataSource ds ) : DataFrame
ds System.IO.DataSource
Результат DataFrame

GetInstalledPackageList() публичный Метод

public GetInstalledPackageList ( ) : List
Результат List

GetODBCTableList() публичный Метод

public GetODBCTableList ( string filename, bool isxlsx ) : object
filename string
isxlsx bool
Результат object

GetRodbcTables() публичный Метод

public GetRodbcTables ( string fname ) : UAReturn
fname string
Результат BSky.Statistics.Common.UAReturn

InstallCRANPackage() публичный Метод

public InstallCRANPackage ( string packagename ) : UAReturn
packagename string
Результат BSky.Statistics.Common.UAReturn

InstallLocalPackage() публичный Метод

public InstallLocalPackage ( string pkgfilenames, bool autoLoad = true, bool overwrite = false ) : UAReturn
pkgfilenames string
autoLoad bool
overwrite bool
Результат BSky.Statistics.Common.UAReturn

InstallReqPackageFromCRAN() публичный Метод

public InstallReqPackageFromCRAN ( string packagename ) : UAReturn
packagename string
Результат BSky.Statistics.Common.UAReturn

IsRPacakgeInstalled() публичный Метод

public IsRPacakgeInstalled ( string packagename ) : bool
packagename string
Результат bool

LoadDataFrame() публичный Метод

public LoadDataFrame ( ServerDataSource dataSource, string dframename ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
dframename string
Результат BSky.Statistics.Common.UAReturn

LoadDefPacakges() публичный Метод

public LoadDefPacakges ( ) : void
Результат void

LoadLocalPackage() публичный Метод

public LoadLocalPackage ( string package ) : UAReturn
package string
Результат BSky.Statistics.Common.UAReturn

LoadPackageFromList() публичный Метод

public LoadPackageFromList ( string packagenames ) : UAReturn
packagenames string
Результат BSky.Statistics.Common.UAReturn

OpenDataset() публичный Метод

public OpenDataset ( ServerDataSource dataSource, string sheetname ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
sheetname string
Результат BSky.Statistics.Common.UAReturn

OpenEmptyDataset() публичный Метод

public OpenEmptyDataset ( ServerDataSource dataSource ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

RefreshDataset() публичный Метод

public RefreshDataset ( ServerDataSource dataSource ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

RefreshDataset_old() публичный Метод

public RefreshDataset_old ( ServerDataSource dataSource ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

RefreshNewDataset() публичный Метод

public RefreshNewDataset ( ServerDataSource dataSource ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

ShowInstalledPackages() публичный Метод

public ShowInstalledPackages ( ) : UAReturn
Результат BSky.Statistics.Common.UAReturn

ShowLoadedPackages() публичный Метод

public ShowLoadedPackages ( ) : UAReturn
Результат BSky.Statistics.Common.UAReturn

UABinomial() публичный Метод

public UABinomial ( ServerDataSource dataSource, List vars, double p, string alternative, double confidenceLevel, bool descriptives, bool quartiles, int missing ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
vars List
p double
alternative string
confidenceLevel double
descriptives bool
quartiles bool
missing int
Результат BSky.Statistics.Common.UAReturn

UAOneSample() публичный Метод

public UAOneSample ( ServerDataSource dataSource, List vars, double mu, double confidenceLevel, int missing ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
vars List
mu double
confidenceLevel double
missing int
Результат BSky.Statistics.Common.UAReturn

UninstallPackages() публичный Метод

public UninstallPackages ( string packagenames ) : UAReturn
packagenames string
Результат BSky.Statistics.Common.UAReturn

UnloadPackages() публичный Метод

public UnloadPackages ( string packagenames ) : UAReturn
packagenames string
Результат BSky.Statistics.Common.UAReturn

addColLevels() публичный Метод

public addColLevels ( string colName, List finalLevelList, ServerDataSource dataSource ) : UAReturn
colName string
finalLevelList List
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

addNewColDatagrid() публичный Метод

public addNewColDatagrid ( string colName, string dgridval, int rowindex, ServerDataSource dataSource ) : UAReturn
colName string
dgridval string
rowindex int
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

addNewDataRow() публичный Метод

public addNewDataRow ( string colName, string celdata, string rowdata, int rowindex, ServerDataSource dataSource ) : UAReturn
colName string
celdata string
rowdata string
rowindex int
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

changeColLevels() публичный Метод

public changeColLevels ( string colName, List finalLevelList, ServerDataSource dataSource ) : UAReturn
colName string
finalLevelList List
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

changeMissing() публичный Метод

public changeMissing ( string colName, string colProp, List newMisVal, string mistype, ServerDataSource dataSource ) : UAReturn
colName string
colProp string
newMisVal List
mistype string
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

editDatagridCell() публичный Метод

public editDatagridCell ( string colName, string celdata, int rowindex, ServerDataSource dataSource ) : UAReturn
colName string
celdata string
rowindex int
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

editDatasetVarGrid() публичный Метод

public editDatasetVarGrid ( ServerDataSource dataSource, string colName, string colProp, string newValue, List colLevels ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
colName string
colProp string
newValue string
colLevels List
Результат BSky.Statistics.Common.UAReturn

getColFactormap() публичный Метод

public getColFactormap ( string colName, ServerDataSource dataSource ) : List
colName string
dataSource BSky.Statistics.Common.ServerDataSource
Результат List

getColNumFactors() публичный Метод

public getColNumFactors ( string colName, ServerDataSource dataSource ) : object
colName string
dataSource BSky.Statistics.Common.ServerDataSource
Результат object

makeColumnFactor() публичный Метод

public makeColumnFactor ( ServerDataSource dataSource, string colName ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
colName string
Результат BSky.Statistics.Common.UAReturn

onLoad() публичный Метод

public onLoad ( ) : void
Результат void

removeDatagridRow() публичный Метод

public removeDatagridRow ( int rowindex, ServerDataSource dataSource ) : UAReturn
rowindex int
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

removeVarGridCol() публичный Метод

public removeVarGridCol ( string colName, ServerDataSource dataSource ) : UAReturn
colName string
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

saveDataset() публичный Метод

public saveDataset ( ServerDataSource dataSource ) : UAReturn
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

setCRANMirror() публичный Метод

public setCRANMirror ( ) : UAReturn
Результат BSky.Statistics.Common.UAReturn

setNominalOrOrdinalToScale() публичный Метод

public setNominalOrOrdinalToScale ( string colName, List fmap, string changeTo, ServerDataSource dataSource ) : UAReturn
colName string
fmap List
changeTo string
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn

setScaleToNominalOrOrdinal() публичный Метод

public setScaleToNominalOrOrdinal ( string colName, List fmap, string changeTo, ServerDataSource dataSource ) : UAReturn
colName string
fmap List
changeTo string
dataSource BSky.Statistics.Common.ServerDataSource
Результат BSky.Statistics.Common.UAReturn