List in R

Published on

http://www.r-tutor.com/r-introduction/list
http://dsmoon.tistory.com/entry/R언어4리스트

List 란?

  • 다른 objects를 포함하는 generic vector

remove element of a List

R
Plain Text
R
Plain Text

Remove by name

R

Remove by condition

R

Remove duplicated element

R

Remove NULL element

R

example2

https://statisticsglobe.com/remove-element-from-list-in-r
R
R

List 생성및 Member Reference

Vector

R
Example List – Named
R
Example List – Unnamed

DataFrame

R
Example List – DataFrame

unlist (Flatten Lists)

use.names = TRUE 인 경우, list명 + column명 + row 명 순

R
Example List

recursive=F 인 경우, Flatten가능한 부분까지 …
recursive=F 인 경우, 가장 상위 List만 Flatten 시킨다.

R
Example List

nested list

R

vector vs. unvector(?)

R
R

Convert List to DT

R

Categories: Reshaping

onesixx

Blog Owner