도움말 파일의 '참조'섹션에서 함수 이름을 추출하는 방법은 무엇입니까? 예를 들어 : 객체 = 도움말 (LM) 에서 "참조"섹션 :R에서 도움말 파일의 '참조'섹션에서 함수 이름을 추출하는 방법은 무엇입니까?
‘summary.lm’ for summaries and ‘anova.lm’ for the ANOVA table;
‘aov’ for a different interface.
The generic functions ‘coef’, ‘effects’, ‘residuals’, ‘fitted’,
‘vcov’.
‘predict.lm’ (via ‘predict’) for prediction, including confidence
and prediction intervals; ‘confint’ for confidence intervals of
_parameters_.
I 함수 이름의 벡터 싶은 - "summary.lm", "anova.lm"를, "coef"...
관련 질문 : http://stackoverflow.com/questions/7493843/how-to-write-contents-of-help-to-a -file-within-r –
아마도 [이 질문] (http://stackoverflow.com/questions/9192589/how-can-i-extract-text-from-rs-help-command)을 사용할 수 있습니다. 도움말 파일을 문자열로 추출한 다음,'See Also'와 그 다음 섹션 제목 사이의 줄에'grep '을 붙이며, 그 재미있는 진드기에 둘러싸인 이름들과 일치합니다. –