LNCD

Table of Contents

  • LNCD Home
  • Administration
  • Notebooks
  • Journal Club Presentations
  • Publications
  • Current Projects
  • Completed Projects
  • Current Grants
  • Datasets by Project
  • Brain ROIs and Measures
  • ️Tools And Methods
  • Big Data
  • RA Homepage
  • Recent Changes
  • Maintenance
  • Site Map
  • Random Page
LNCD
Admin » GNU R

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tools:r [2024/11/07 11:54] – [na.action] willtools:r [2025/07/22 17:01] (current) – [na.action] vid79
Line 10: Line 10:
 See [[:tools:r:issues]] for log of debugged problems. See [[:tools:r:issues]] for log of debugged problems.
 ===== Notes ===== ===== Notes =====
-==== na.action ====+==== na.action for residual ====
 When adding module residuals back to a dataframe, you need ''residuals()'' to return the same length as the input data.frame. use ''lm(na.action=na.exclude)''. When adding module residuals back to a dataframe, you need ''residuals()'' to return the same length as the input data.frame. use ''lm(na.action=na.exclude)''.