Learn R Programming

⚠️There's a newer version (2.2.2) of this package.Take me there.

NlsyLinks

GitHubTravis-CIAppVeyorWerckerCoverallsCodecov
Master
Dev
Ubuntu 12.04 LTSWindows Server 2012DockerTravis TestsWercker Tests

Description

Utilities and kinship information for behavior genetics and developmental research using the National Longitudinal Survey of Youth (NLSY)

Installing

CRANVersionRateZenodo
Latest
Latest CRAN versionCRAN DownloadsIndependently-hosted Archive

The release version of NlsyLinks can be installed from CRAN.

install.packages("NlsyLinks")

The latest development version of NlsyLinks can be installed from GitHub after installing the devtools package.

install.packages("devtools")
devtools::install_github(repo="LiveOak/NlsyLinks")

Locations for Help and Development

This repository contains the code used in the NlsyLinks R package. For additional information about the package and using it in NLSY research, please see http://liveoak.github.io/NlsyLinks/

We now use this GitHub repository as our primary way of managing, tracking, and build-checking versions of the source code. We're no longer using our R-Forge site to check builds. The stable releases (intended for most researchers) is available on the package's CRAN site.

The help forums remain on the package's R-Forge.

Thanks to Funders

The current work on the NLSY Kinship links has been supported by NIH Grant R01-HD065865 (Joe Rodgers, PI).

Copy Link

Version

Install

install.packages('NlsyLinks')

Monthly Downloads

249

Version

2.0.6

License

GPL

Issues

Pull Requests

Stars

Forks

Maintainer

Will Beasley

Last Published

April 19th, 2016

Functions in NlsyLinks (2.0.6)

CreateSpatialNeighbours

Distances between related family members, formated for spatial analysis.
ColumnUtilities

A collection of functions that helps data management data.frames, particularly those derived from NLSY Extracts.
AceEstimate-class

Class "AceEstimate"
GetDetails-methods

A generic function for extracting the Details slot of an object.
SubjectDetails79

Dataset containing further details of the Gen1 and Gen2 subjects.
Links79PairExpanded

ValidateOutcomeDataset

Validates the schema of datasets containing outcome variables.
SurveyDate

Dataset containing survey details for each subject, for each year
ValidatePairLinksAreSymmetric

Verifies that the pair relationships are symmetric.
ExtraOutcomes79

Extra outcome variables in the NLSY79
CreatePairLinks

Creates a pairs linking file.
NlsyLinks-package

Utilities and kinship information for Behavior Genetics and Developmental research using the NLSY.
CreateSubjectTag

Creates a SubjectTag. This value uniquely identifies subjects, when both generations are included in the same dataset.
Links79Pair

Kinship linking file for pairs of relatives in the NLSY79 and NLSY79 Children and Young Adults
ReadCsvNlsy79

Read a CSV file downloaded from the NLS Investigator
Ace

Estimates the heritability of additive traits using a single variable.
RGroupSummary

Calculates summary statistics for each Relatedness Group in the sample.
AceLavaanGroup

A simple multiple-group ACE model with the lavaan package.
CreateAceEstimate

CleanSemAceDataset

Produces a cleaned dataset that works well with when using SEM to estimate a univariate ACE model.
ValidatePairLinks

Validates the schema of a links for pairs of relatives