LOCF(Last Observation Carried Forward)

Published by onesixx on

LOCF

zoo :: na.locf(object, na.rm = TRUE, …)

가장 마지막에 나온 값을 이후에도 동일하게 적용한다.
(주의, 맨앞에 NA있는경우 적용할 값이 없어 NA처리가 안됨)

R
R
R
적용할 컬럼이 여러 컬럼일때, 유용하다
R

NOCB

Next Observed Carried Backward

na.locf( …, fromLast=T)

R
R
Categories: Reshaping

onesixx

Blog Owner

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x