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

swh:1:snp:596f415c713fa00ee0a4e85e0356e0508a5b521e
  • Code
  • Branches (0)
  • Releases (5)
    • Branches
    • Releases
      • 5
      • 5
      • 4
      • 3
      • 2
      • 1
    • b5db932
    • /
    • AnniceNajafi-RMCDA-a9d304b
    • /
    • man
    • /
    • find.entropy.Rd
    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
    • directory
    • snapshot
    • release
    content badge
    swh:1:cnt:72d589c236ccf3f53faacf5e705d5b4d9ab91f4a
    directory badge
    swh:1:dir:47ed3a57e41a5b6f44dca61047374ff981d1655e
    snapshot badge
    swh:1:snp:596f415c713fa00ee0a4e85e0356e0508a5b521e
    release badge
    swh:1:rel:e67b0382819676943c56b35804ed5bb9a50c91a3

    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
    • directory
    • snapshot
    • release
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    find.entropy.Rd
    % Generated by roxygen2: do not edit by hand
    % Please edit documentation in R/MCDA_methods.R
    \name{find.entropy}
    \alias{find.entropy}
    \title{Find entropy of each criteria}
    \usage{
    find.entropy(A)
    }
    \arguments{
    \item{A}{the matrix A with row names corresponding to alternatives and column
    names corresponding to criteria}
    }
    \value{
    the entropy value corresponding to each criteria
    }
    \description{
    Find entropy of each criteria
    }
    \examples{
    A <- matrix(c(250, 200, 300, 275, 225, 16, 16, 32, 32, 16, 12, 8, 16, 8, 16, 5, 3, 4, 4, 2), nrow=5, ncol=4)
    colnames(A)<-c("Price", "Storage space", "Camera", "Looks")
    rownames(A)<-paste0("Mobile ", seq(1, 5, 1))
    A[,"Price"] <- -A[,"Price"]
    find.entropy (A)
    }
    

    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