Title: | Datasets and Code Examples from P. J. Aphalo's "Learn R" Book |
---|---|
Description: | Data, scripts and code from chunks used as examples in the book "Learn R: As a Language" 1ed and 2ed by Pedro J. Aphalo. ISBN 9780367182533 (pbk 1ed); ISBN 9780367182557 (hbk 1ed); ISBN 9780429060342 (ebk 1ed). |
Authors: | Pedro J. Aphalo [aut, cre] |
Maintainer: | Pedro J. Aphalo <[email protected]> |
License: | GPL (>= 2) |
Version: | 2.0.1 |
Built: | 2024-10-21 05:48:23 UTC |
Source: | https://github.com/aphalo/learnrbook-pkg |
Data, scripts and code from chunks used as examples in the book "Learn R: As a Language" 1ed and 2ed by Pedro J. Aphalo. ISBN 9780367182533 (pbk 1ed); ISBN 9780367182557 (hbk 1ed); ISBN 9780429060342 (ebk 1ed).
Package 'learnr' is a companion to the books Aphalo, P. (2020). Learn R (1ed). New York: Chapman and Hall/CRC, ISBN 9780367182533" and Aphalo, P. (2023). Learn R (2ed). New York: Chapman and Hall/CRC, ISBN 9781032516998". This package supplies a list of all the packages used in the book. It also contains all the original data sets used in the book as well as code for scripts and code chunks included in the book. Please, consult the "User Guide" under vignettes for instructions.
Maintainer: Pedro J. Aphalo [email protected] (ORCID)
Useful links:
Report bugs at https://github.com/aphalo/learnrbook-pkg/issues
A data set containing the results from the analysis of data from RNAseq. Subset of 1000 genes.
clean1000.df
clean1000.df
A data.frame with 5 columns and 1000 row names.
The variables are as follows:
logFC (numeric)
logCPM (numeric)
LR (numeric)
Pvalue (numeric)
outcome (-1, 0, +1)
A subset of size 1000 selected by random sampling,
Neha Rai et al. (2020) Plant Cell and Environment, https://doi.org/10.1111/pce.13752.
A data set containing the results from the analysis of data from RNAseq. Subset of 5000 genes.
clean5000.df
clean5000.df
A data.frame with 5 columns and 5000 row names.
The variables are as follows:
logFC (numeric)
logCPM (numeric)
LR (numeric)
Pvalue (numeric)
outcome (-1, 0, +1)
A subset of size 5000 selected by random sampling,
Neha Rai et al. (2020) Plant Cell and Environment, https://doi.org/10.1111/pce.13752.
Character vector of package names for the whole book.
pkgs_all_1ed
pkgs_all_1ed
A vector of character strings.
pkgs_all_1ed
pkgs_all_1ed
Character vector of package names for the whole book.
pkgs_all_2ed
pkgs_all_2ed
A vector of character strings.
pkgs_all_2ed
pkgs_all_2ed
Character vector of package names for chapter 10 "Base R and Extensions: Data Sharing ".
pkgs_ch10_2ed
pkgs_ch10_2ed
A vector of character strings.
pkgs_ch10_2ed
pkgs_ch10_2ed
Character vector of package names for chapter 6 "New grammars of data".
pkgs_ch6_1ed
pkgs_ch6_1ed
A vector of character strings.
pkgs_ch6_1ed
pkgs_ch6_1ed
Character vector of package names for chapter 7 "Grammar of graphics".
pkgs_ch7_1ed
pkgs_ch7_1ed
A vector of character strings.
pkgs_ch7_1ed
pkgs_ch7_1ed
Character vector of package names for chapter 8 "Data import and export".
pkgs_ch8_1ed
pkgs_ch8_1ed
A vector of character strings.
pkgs_ch8_1ed
pkgs_ch8_1ed
Character vector of package names for chapter 8 "R Extensions: Data Wrangling".
pkgs_ch8_2ed
pkgs_ch8_2ed
A vector of character strings.
pkgs_ch8_2ed
pkgs_ch8_2ed
Character vector of package names for chapter 9 "R Extensions: Grammar of Graphics".
pkgs_ch9_2ed
pkgs_ch9_2ed
A vector of character strings.
pkgs_ch9_2ed
pkgs_ch9_2ed
A data set containing wind speed and direction measured in Viikki, Helsinki, Finland with a Vaisala Weather Transmitter WXT530 (sonic anemometer) during 2016-07-29 at 1 min interval.
viikki_d29.dat
viikki_d29.dat
A tibble with 3 columns and 1440 rows.
The variables are as follows:
solar_time (yyyy-mm-dd hh:mm:ss)
WindDir_D1_WVT (degrees)
WindSpd_S_WVT (m/s)
P. J. Aphalo, unpublished data.
names(viikki_d29.dat) viikki_d29.dat
names(viikki_d29.dat) viikki_d29.dat
A data set containing weather data measured in Viikki, Helsinki, Finland. Values for all variables are means of 12 readings at 5 seconds intervals. Sun angles were computed with R package 'photobiology'.
weather_wk_25_2019.tb
weather_wk_25_2019.tb
A tibble with 21 columns and 10080 rows.
The variables are as follows:
time (yyyy-mm-dd hh:mm:ss)
PAR_umol (umol m-2 s-1)
PAR_diff_fr (/1)
global_watt (W m-2)
day_of_year
month_of_year
month_name
calendar_year
solar_time (h)
sun_elevation (degrees above horizon)
sun_azimuth (degrees)
was_sunny (T/F)
wind_speed (m s-1)
wind_direction (degrees)
air_temperature_C (C)
air_RH (
air_DP (C)
air_pressure
red_umol (umol m-2 s-1)
far_red_umol (umol m-2 s-1)
red_far_red (ratio)
P. J. Aphalo, unpublished data.
names(weather_wk_25_2019.tb) weather_wk_25_2019.tb
names(weather_wk_25_2019.tb) weather_wk_25_2019.tb