as.data.frame.patch: Convert a patch object to a data frame

Description Usage Arguments Value Author(s)

View source: R/conversion.R

Description

..

Usage

1
2
## S3 method for class 'patch'
as.data.frame(x, row.names = NULL, ..., long = TRUE)

Arguments

x

object of class 'patch'

row.names

name of patch. Note that this will be a column in the returned data.frame. If NULL, name is set to 1. If a vector of length greater than 1 is given, only the first name is used.

...

any other arguments. not used

long

whether the data.frame should be long (1 row for each variable in the object of class 'patch'), or wide (a single row where each variable in the object of class patch 'patch' is a column.)

Value

data.frame

Author(s)

Sangeeta Bhatia


sangeetabhatia03/multipatchr documentation built on Jan. 29, 2020, 5:42 p.m.