Description Usage Arguments Details Value Author(s) Examples
View source: R/as.data.frame.Aspaces.R
Coerces the Input Object of Class ASpaces to a Data Frame Object
1 | as.data.frame.ASpaces(ASpaces, remove.notrip = TRUE)
|
ASpaces |
an object of class |
remove.notrip |
logical. See details. |
This conversion function converts the ASpaces class composed of a relatively complex structure into a simple data.frame. The existing ASpaces class is divided into info and trips inside the data and is stored in a list form for each individual, so it is easy to distinguish between data but has a limitation that it is difficult to see at a glance.
This function converts to data.frame to make it easier to check. In this process, the conversion is performed in a way that the information of the corresponding info for each trip is connected equally.
Among the arguments, remove.notrip determines whether to keep the trip as it is or to delete it for an individual that does not exist. If set to TRUE, which is the default value, the relevant individuals are deleted, and if set to FALSE, the trip data of NA is attached to the information of personal info.
An object of class data.frame
Changlock Choi (hihi7100@khu.ac.kr), Seong-Yun Hong (syhong@khu.ac.kr)
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.