Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.1 - Português

Change language to:
English - Français - 日本語 - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Ajuda do Scilab >> Estatística > Summaries > nfreq

nfreq

frequency of the values in a vector or matrix. This function is obsolete.

Calling Sequence

m=nfreq(x)

Arguments

x

real or complex vector or matrix

Description

Frequency of the values in a real or complex vector or a real or complex matrix x.

For a real or complex vector or a real or complex matrix x, m=freq(x) returns in the first column of the size(x,'*')x2 matrix m the values of x and in the second column of this matrix the frequencies of the corresponding values.

Note that the tabul function is more efficient, applies also to vector of strings and returns a sorted m.

This function is obsolete.
It is better to use tabul instead of nfreq.

Examples

x=[2 8 0 3 7 6 8 7 9 1]
m=nfreq(x)

See Also

  • tabul — frequency of values of a matrix or vector
  • dsearch — Busca binária (também conhecida como busca dicótoma em francês)
  • histplot — esboça um histograma

History

VersãoDescrição
5.5.0 Function tagged as obsolete. Will be removed in 5.5.1. Please use tabul instead.
Report an issue
<< Summaries Summaries tabul >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 02 13:57:41 CEST 2014