Package: NlsyLinks 2.2.3

S. Mason Garrison

NlsyLinks: Utilities and Kinship Information for Research with the NLSY

Utilities and kinship information for behavior genetics and developmental research using the National Longitudinal Survey of Youth (NLSY; <https://www.nlsinfo.org/>).

Authors:William Howard Beasley [aut], Joseph Lee Rodgers [aut], David Bard [aut], Michael D. Hunter [aut], Patrick O'Keefe [aut], Kelly Meredith Williams [aut], S. Mason Garrison [aut, cre]

NlsyLinks_2.2.3.tar.gz
NlsyLinks_2.2.3.zip(r-4.7)NlsyLinks_2.2.3.zip(r-4.6)NlsyLinks_2.2.3.zip(r-4.5)
NlsyLinks_2.2.3.tgz(r-4.6-any)NlsyLinks_2.2.3.tgz(r-4.5-any)
NlsyLinks_2.2.3.tar.gz(r-4.7-any)NlsyLinks_2.2.3.tar.gz(r-4.6-any)
NlsyLinks_2.2.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
NlsyLinks/json (API)

# Install 'NlsyLinks' in R:
install.packages('NlsyLinks', repos = c('https://nlsy-links.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/nlsy-links/nlsylinks/issues

Pkgdown/docs site:https://nlsy-links.github.io

Datasets:
  • ExtraOutcomes79 - Extra outcome variables in the NLSY79
  • Links79Pair - Kinship linking file for pairs of relatives in the NLSY79 and NLSY79 Children and Young Adults
  • Links79PairExpanded - Kinship linking file for pairs of relatives. It builds upon the Links79Pair dataset.
  • Links97Pair - Kinship linking file for pairs of relatives in the NLSY97
  • Links97PairExpanded - Kinship linking file for pairs of relatives In the NLSY97. It builds upon the Links97Pair dataset.
  • SubjectDetails79 - Dataset containing further details of the Gen1 and Gen2 subjects.
  • Survey79 - Dataset containing survey details for each subject, for each year

On CRAN:

Conda:

behavior-geneticskinship-informationnational-longitudinal-surveynlsy

6.80 score 7 stars 223 scripts 385 downloads 21 exports 6 dependencies

Last updated from:37176584b8. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK166
source / vignettesOK237
linux-release-x86_64OK151
macos-release-arm64OK141
macos-oldrel-arm64OK179
windows-develOK104
windows-releaseOK100
windows-oldrelOK95
wasm-releaseOK154

Exports:AceLavaanGroupAceUnivariateCleanSemAceDatasetCreateAceEstimateCreatePairLinksDoubleEnteredCreatePairLinksDoubleEnteredWithNoOutcomesCreatePairLinksSingleEnteredCreateSpatialNeighboursCreateSubjectTagDeFriesFulkerMethod1DeFriesFulkerMethod3GetDetailsReadCsvNlsy79Gen1ReadCsvNlsy79Gen2RenameColumnRenameNlsyColumnRGroupSummaryValidateOutcomeDatasetValidatePairLinksValidatePairLinksAreSymmetricVerifyColumnExists

Dependencies:lavaanMASSmnormtnumDerivpbivnormquadprog

About this Website
Components | Historical Archives | Support and Code Collaboration

Last update: 2025-08-29
Started: 2019-06-20

ACE Models with the NLSY
Terminology | Example: DF analysis with a Simple Outcome for Gen2 Subjects, Using a Package Variable | Example: DF analysis with a univariate outcome from a Gen2 Extract | Example: Multiple Group SEM of a Simple Outcome for Gen2 Subjects | Example: Multiple Group SEM of a Simple Outcome for Gen1 Subjects | Example: Multiple Group SEM of a Simple Outcome all pairs in Gen1 and Gen2 | Appendix: Receiving Help for the NlsyLinks Package | Appendix: Creating and Saving R Scripts | Appendix: Installing and Loading the NlsyLinks Package | Appendix: References | Funding | Version Information

Last update: 2025-08-29
Started: 2019-03-15

Collaborators
Investigators | Vanderbilt University, Peabody College of Education, Department of Psychology and Human Development | OUHSC Pediatrics | Howard Live Oak | NLSY Administrators | Bureau of Labor Statistics (BLS) | National Institute of Child Health and Human Development (NICHD) | Center for Human Resources Research (CHRR) | National Opinion Research Center (NORC) | Funding

Last update: 2025-08-29
Started: 2019-06-20

FAQ for the NlsyLinks Package
Getting Started | Gen1 and Gen2 | Ambiguous twins | Ambiguous siblings | Retaining vs. dropping the ambiguous twins and siblings | Race and Gender Variables | Funding

Last update: 2025-08-29
Started: 2019-03-15

The NLS Investigator
Terminology | Steps to Select Variables and Download Data | Using Multiple Tagsets | Tagset History | Notes

Last update: 2025-08-29
Started: 2019-03-15

Publications involving the kinship links
Articles and Book Chapters | 2011 - Present | 2001 - 2010 | 1994 - 2000 | Recent Presentations by the Team | General NLSY Articles | Current Documentation, Vignettes, and User Support | Software Packages

Last update: 2025-05-26
Started: 2019-06-19

Software and Support
NlsyLinks and Examples for R | Examples for SAS | NlsyLinksDetermination in C# | Support Forums

Last update: 2021-07-24
Started: 2019-06-19

Kinship links facilitating other research
Previous dissemination mechanisms | Recent dissemination mechanisms | User-Service function | Vignettes and example documentation | Future plans

Last update: 2021-07-24
Started: 2019-06-19

Readme and manuals

Help Manual

Help pageTopics
Estimates the heritability of additive traits using a single variable.Ace AceUnivariate DeFriesFulkerMethod1 DeFriesFulkerMethod3
Class AceEstimateAceEstimate-class GetDetails,AceEstimate-method
A simple multiple-group ACE model with the 'lavaan' package.AceLavaanGroup
Produces a cleaned dataset that works well with when using SEM to estimate a univariate ACE model.CleanSemAceDataset
A collection of functions that helps data management data.frames, particularly those derived from NLSY Extracts.ColumnUtilities RenameColumn RenameNlsyColumn VerifyColumnExists
Instantiate an AceEstimate object.CreateAceEstimate
Creates a pairs linking file without outcomes.CreatePairLinks CreatePairLinksDoubleEntered CreatePairLinksDoubleEnteredWithNoOutcomes CreatePairLinksSingleEntered
Distances between related family members, formatted for spatial analysis.CreateSpatialNeighbours
Creates a SubjectTag. This value uniquely identifies subjects, when both generations are included in the same dataset.CreateSubjectTag
Extra outcome variables in the NLSY79ExtraOutcomes79
GetDetails-methodsAceEstimate-method GetDetails GetDetails-methods
Kinship linking file for pairs of relatives in the NLSY79 and NLSY79 Children and Young AdultsLinks79Pair
Kinship linking file for pairs of relatives. It builds upon the Links79Pair dataset.Links79PairExpanded
Kinship linking file for pairs of relatives in the NLSY97Links97Pair
Kinship linking file for pairs of relatives In the NLSY97. It builds upon the Links97Pair dataset.Links97PairExpanded
Read a CSV file downloaded from the NLS InvestigatorReadCsvNlsy79 ReadCsvNlsy79Gen1 ReadCsvNlsy79Gen2
Calculates summary statistics for each _R_elatedness Group in the sample.RGroupSummary
Dataset containing further details of the Gen1 and Gen2 subjects.SubjectDetails79
Dataset containing survey details for each subject, for each yearSurvey79
Validates the schema of datasets containing outcome variables.ValidateOutcomeDataset
Validates the schema of a links for pairs of relativesValidatePairLinks
Verifies that the pair relationships are symmetric.ValidatePairLinksAreSymmetric