df.create.single: Creates an empty data frame.

View source: R/df.create.single.R

df.create.singleR Documentation

Creates an empty data frame.

Description

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

Usage

df.create.single(M, names = T)

Arguments

M

a matrix.

names

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

Value

A data frame of N rows based on the number of rows in argument M.

Author(s)

Sebastian Sosa, Ivan Puga-Gonzalez.


SebastianSosa/ANTs documentation built on Sept. 25, 2023, 11:06 p.m.