Learn R Programming

mimi (version 0.1.0)

covmatR: covmatR

Description

covmatR

Usage

covmatR(R, p)

Arguments

R

nxK1 matrix of row covariates

p

number ofcolumns

Value

repeats every row of R p times

Examples

Run this code
# NOT RUN {
R <- matrix(rnorm(10), 5)
cov <- covmatR(R,3)
# }

Run the code above in your browser using DataLab