Package: NlsyLinks 2.2.1

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 [ctb], David Bard [ctb], Michael D. Hunter [ctb], Patrick O'Keefe [ctb], Kelly Meredith Williams [ctb], S. Mason Garrison [aut, cre]

NlsyLinks_2.2.1.tar.gz
NlsyLinks_2.2.1.zip(r-4.5)NlsyLinks_2.2.1.zip(r-4.4)NlsyLinks_2.2.1.zip(r-4.3)
NlsyLinks_2.2.1.tgz(r-4.4-any)NlsyLinks_2.2.1.tgz(r-4.3-any)
NlsyLinks_2.2.1.tar.gz(r-4.5-noble)NlsyLinks_2.2.1.tar.gz(r-4.4-noble)
NlsyLinks_2.2.1.tgz(r-4.4-emscripten)NlsyLinks_2.2.1.tgz(r-4.3-emscripten)
NlsyLinks.pdf |NlsyLinks.html
NlsyLinks/json (API)
NEWS

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

Peer review:

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

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:

behavior-geneticskinship-informationnational-longitudinal-surveynlsy

21 exports 7 stars 1.76 score 6 dependencies 165 scripts 238 downloads

Last updated 14 days agofrom:7c1c94b0c9. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 03 2024
R-4.5-winNOTESep 03 2024
R-4.5-linuxNOTESep 03 2024
R-4.4-winNOTESep 03 2024
R-4.4-macNOTESep 03 2024
R-4.3-winNOTESep 03 2024
R-4.3-macNOTESep 03 2024

Exports:AceLavaanGroupAceUnivariateCleanSemAceDatasetCreateAceEstimateCreatePairLinksDoubleEnteredCreatePairLinksDoubleEnteredWithNoOutcomesCreatePairLinksSingleEnteredCreateSpatialNeighboursCreateSubjectTagDeFriesFulkerMethod1DeFriesFulkerMethod3GetDetailsReadCsvNlsy79Gen1ReadCsvNlsy79Gen2RenameColumnRenameNlsyColumnRGroupSummaryValidateOutcomeDatasetValidatePairLinksValidatePairLinksAreSymmetricVerifyColumnExists

Dependencies:lavaanMASSmnormtnumDerivpbivnormquadprog

About this Website

Rendered fromabout.Rmdusingknitr::rmarkdownon Sep 03 2024.

Last update: 2023-09-20
Started: 2019-06-20

ACE Models with the NLSY

Rendered fromnlsy-ace.Rmdusingknitr::rmarkdownon Sep 03 2024.

Last update: 2023-09-20
Started: 2019-03-15

Collaborators

Rendered fromcollaborators.Rmdusingknitr::rmarkdownon Sep 03 2024.

Last update: 2023-09-20
Started: 2019-06-20

FAQ for the NlsyLinks Package

Rendered fromfaq.Rmdusingknitr::rmarkdownon Sep 03 2024.

Last update: 2023-09-20
Started: 2019-03-15

Kinship links facilitating other research

Rendered fromfacilitating.Rmdusingknitr::rmarkdownon Sep 03 2024.

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

Publications involving the kinship links

Rendered frompublications.Rmdusingknitr::rmarkdownon Sep 03 2024.

Last update: 2023-09-20
Started: 2019-06-19

Software and Support

Rendered fromsoftware-and-support.Rmdusingknitr::rmarkdownon Sep 03 2024.

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

The NLS Investigator

Rendered fromnls-investigator.Rmdusingknitr::rmarkdownon Sep 03 2024.

Last update: 2023-09-20
Started: 2019-03-15

Readme and manuals

Help Manual

Help pageTopics
Utilities and kinship information for Behavior Genetics and Developmental research using the NLSY.NlsyLinks-package NlsyLinks
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.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