File: expandMat.Rd

package info (click to toggle)
r-cran-blockmodeling 1.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 912 kB
  • sloc: ansic: 2,024; f90: 952; sh: 13; makefile: 5
file content (24 lines) | stat: -rw-r--r-- 690 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/expandMat.R
\encoding{UTF-8}
\name{expandMat}
\alias{expandMat}
\title{Expands a square matrix by repeating each row/column the specified number of times.}
\usage{
expandMat(mat, nn)
}
\arguments{
\item{mat}{A square matrix to be exapanded}

\item{nn}{A vector of number of times each row/column must be repeated. Its length must match the number of rows/columns}
}
\value{
Sum of squared deviations from the mean using only valid (non NA) values.
}
\description{
Expands a square matrix by repeating each row/column the specified number of times.
}
\author{
\enc{Aleš Žiberna}{Ales Ziberna}
}
\keyword{manip}