Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
content badge
swh:1:cnt:5b68efd0863e0df8f50cfb95194982962b91a852

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
(requires biblatex-software package)
Generating citation ...
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MCDA_methods.R
\name{apply.SMCDM}
\alias{apply.SMCDM}
\title{Apply stratified multi-criteria decision making method}
\usage{
apply.SMCDM(
  comparison.mat,
  state.criteria.probs,
  likelihood.vector,
  independent.events = TRUE
)
}
\arguments{
\item{comparison.mat}{the matrix containing alternatives as row names and criteria
as column names and corresponding scores as cell values.}

\item{state.criteria.probs}{the matrix containing the states as column names and
criteria as row names and the corresponding scores as matrix values.}

\item{likelihood.vector}{the vector containing the likelihood of being in each state.}

\item{independent.event}{this parameter is set to TRUE by default which indicates only the
probability of the occurence of each event is required (strati I and II). If set to FALSE
then the user should provide the probabilities of occurrence of all states.}
}
\value{
the SMCDM results
}
\description{
Apply stratified multi-criteria decision making method
}
\examples{
data <- read.csv(system.file("extdata", "SMCDM_input.csv", package = "RMCDA"), header=FALSE)
mat.lst <- read.csv.SMCDM.matrices(data)
comparison.mat <- mat.lst[[1]]
state.criteria.probs <- mat.lst[[2]]
likelihood.vector <- mat.lst[[3]]
apply.SMCDM(comparison.mat, state.criteria.probs, likelihood.vector)
}

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API