df.create {ANTs}R Documentation

Creates an empty data frame or a list of empty data frames

Description

Creates an empty data frame with as many columns as in the corresponding matrix.

Usage

df.create(M, names = TRUE)

Arguments

M

a square adjacency matrix or a list of square adjacency matrices.

names

a boolean, if true then a column is added in the data frame with the names of the matrix columns.

Value

Author(s)

Sebastian Sosa, Ivan Puga-Gonzalez.

Examples

sim.m
df.create(sim.m)

[Package ANTs version 0.0.16 Index]