Skip to content
Snippets Groups Projects
Commit 6a3f15d6 authored by Wegner's avatar Wegner
Browse files

clarity 2nd exam

parent b2fcad88
Branches
Tags
No related merge requests found
#' This data set includes scores from three tests of students at a (fictional) public school and a variety of personal and socio-economic factors that may have interaction effects upon them.
#'
#'
#' @format A dataframe, 29069 observations, 15 variables
#' \describe{
#' \item{\code{Gender}}{Gender of a student (string)}
#' \item{\code{EthnicGroup}}{Origin of a student (string)}
#' \item{\code{ParentEduc}}{Parents education (string)}
#' \item{\code{LunchType}}{Type of lunch (string)}
#' \item{\code{TestPrep}}{Preparation for a test (string)}
#' \item{\code{ParentMaritalStatus}}{Parental marital status (string)}
#' \item{\code{PracticeSport}}{Practice sports (string)}
#' \item{\code{IsFirstChild}}{Firstborn (boolean)}
#' \item{\code{NrSiblings}}{Number of siblings (integer)}
#' \item{\code{TransportMeans}}{Means of transport to school (string)}
#' \item{\code{WklyStudyHours}}{Number of study hours per week (integer)}
#' \item{\code{MathScore}}{Score in math (integer)}
#' \item{\code{ReadingScore}}{Score in reading (integer)}
#' \item{\code{WritingScore}}{Score in writing (integer)}
#'}
"examscores"
......@@ -12,8 +12,6 @@ Package for the exam of the course "Data Science for Socioeconomists" at the dep
- *census_2015* with aggregated census data of american households regarding their income and sociodemographic characteristics.
- *examscores* includes information about educational data and models a fictional school and its students
- *examscores2* is an updated version of *examscores*. It includes information about educational data and models a fictional school and its students
- *income_data* includes information about people's age and their income - it models a fictional population
......
## code to prepare `DATASET` dataset goes here
usethis::use_data(DATASET, overwrite = TRUE)
File deleted
## code to prepare `examscores` dataset goes here
library(devtools)
library(roxygen2)
library(dplyr)
examscores_neu<- newdata %>% select(-high_mathscore)
examscores <- examscores_neu
usethis::use_data(examscores, overwrite = TRUE)
File deleted
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/examscores.R
\docType{data}
\name{examscores}
\alias{examscores}
\title{This data set includes scores from three tests of students at a (fictional) public school and a variety of personal and socio-economic factors that may have interaction effects upon them.}
\format{
A dataframe, 29069 observations, 15 variables
\describe{
\item{\code{Gender}}{Gender of a student (string)}
\item{\code{EthnicGroup}}{Origin of a student (string)}
\item{\code{ParentEduc}}{Parents education (string)}
\item{\code{LunchType}}{Type of lunch (string)}
\item{\code{TestPrep}}{Preparation for a test (string)}
\item{\code{ParentMaritalStatus}}{Parental marital status (string)}
\item{\code{PracticeSport}}{Practice sports (string)}
\item{\code{IsFirstChild}}{Firstborn (boolean)}
\item{\code{NrSiblings}}{Number of siblings (integer)}
\item{\code{TransportMeans}}{Means of transport to school (string)}
\item{\code{WklyStudyHours}}{Number of study hours per week (integer)}
\item{\code{MathScore}}{Score in math (integer)}
\item{\code{ReadingScore}}{Score in reading (integer)}
\item{\code{WritingScore}}{Score in writing (integer)}
}
}
\usage{
examscores
}
\description{
This data set includes scores from three tests of students at a (fictional) public school and a variety of personal and socio-economic factors that may have interaction effects upon them.
}
\keyword{datasets}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment