diff --git a/man/leo.format.Rd b/man/leo.format.Rd deleted file mode 100644 index 39c09310b5b885c1098d5f3e50a559019237eae7..0000000000000000000000000000000000000000 --- a/man/leo.format.Rd +++ /dev/null @@ -1,29 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/leo_format.R -\name{leo.format} -\alias{leo.format} -\title{Condenses rows and columns of a frequency table by summing the cells.} -\usage{ -leo.format(a, upper, lower, left, right) -} -\arguments{ -\item{a}{A leo_table object.} - -\item{upper}{An integer.} - -\item{lower}{An integer.} - -\item{left}{An integer.} - -\item{right}{An integer.} -} -\value{ -An xtabs object. -} -\description{ -Condenses rows and columns of a frequency table by summing the cells. -} -\examples{ -example <- example - -} diff --git a/man/leo_getdesign.Rd b/man/leo_getdesign.Rd deleted file mode 100644 index 19bd38c74aa4d8cb153035a82f2919d47b0eb8f0..0000000000000000000000000000000000000000 --- a/man/leo_getdesign.Rd +++ /dev/null @@ -1,19 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/leo_design.R -\name{leo_getdesign} -\alias{leo_getdesign} -\title{Creates survey design objects for LEO 2010 and 2018.} -\usage{ -leo_getdesign(leodata, year = 2018) -} -\arguments{ -\item{leodata}{Original dataframe of LEO 2010 or LLEO 2018.} - -\item{year}{Either 2010 or 2018.} -} -\value{ -A survey design object. -} -\description{ -Creates survey design objects for LEO 2010 and 2018. -} diff --git a/man/leo_svydesign.Rd b/man/leo_svydesign.Rd deleted file mode 100644 index ba2680774d04d859c510456a0d3c2e1ebe2e8923..0000000000000000000000000000000000000000 --- a/man/leo_svydesign.Rd +++ /dev/null @@ -1,19 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/leo_svydesign.R -\name{leo_svydesign} -\alias{leo_svydesign} -\title{Creates survey design objects for LEO 2010 and 2018.} -\usage{ -leo_svydesign(df, survey_name = "leo2018", list = FALSE) -} -\arguments{ -\item{df}{Survey data} - -\item{survey_name}{leo2010 and leo2018 (leo2018hoch) implemented} -} -\value{ -A survey design object. -} -\description{ -Creates survey design objects for LEO 2010 and 2018. -} diff --git a/man/leo_tab.Rd b/man/leo_tab.Rd deleted file mode 100644 index 8286ab1595a6e5989cb795335a332e313ea4faf6..0000000000000000000000000000000000000000 --- a/man/leo_tab.Rd +++ /dev/null @@ -1,34 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/leo_tab.R -\name{leo_tab} -\alias{leo_tab} -\title{Creates survey design objects for LEO 2010 and 2018.} -\usage{ -leo_tab( - varName, - Richtung = 1, - sheet.Name = "Mappe", - Excel.Name, - ListenName = leoList, - pWert = FALSE -) -} -\arguments{ -\item{varName}{Original dataframe of LEO 2010 or LLEO 2018.} - -\item{Richtung}{Either 2010 or 2018.} - -\item{Excel.Name}{Either 2010 or 2018.} - -\item{ListenName}{Either 2010 or 2018.} - -\item{pWert}{Either 2010 or 2018.} - -\item{sheet.name}{Either 2010 or 2018.} -} -\value{ -A dataframe with frequencies -} -\description{ -Creates survey design objects for LEO 2010 and 2018. -} diff --git a/man/leo_table.Rd b/man/leo_table.Rd deleted file mode 100644 index 6e5923a6d0d44e3ad3b2f822d32e1264af27a1ac..0000000000000000000000000000000000000000 --- a/man/leo_table.Rd +++ /dev/null @@ -1,38 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/leo_table.R -\name{leo_table} -\alias{leo_table} -\title{Calculates frequency tables for multiply imputed and weighted data.} -\usage{ -leo_table(rowvar, colvar, supercolvar, weight, data) -} -\arguments{ -\item{rowvar}{A vector or a dataframe of multiply imputed variables.} - -\item{colvar}{A vector or a dataframe of multiply imputed variables.} - -\item{supercolvar}{A vector or a dataframe of multiply imputed variables.} - -\item{weight}{A vector with frequency weights.} - -\item{data}{A dataframe that contains above variables} -} -\value{ -An xtabs object. -} -\description{ -Calculates frequency tables for multiply imputed and weighted data. -} -\examples{ -leo <- haven::read_sav("~/leo.sav") -leo$f001 <- labelled::to_factor(leo$f001) -leo$altgr5 <- labelled::to_factor(leo$altgr5) -pvs <- leo \%>\% select(matches("^alpha.pv[0-9]+")) \%>\% to_factor() -# 1-way -leo_table(rowvar = pvs, weight = leo$pgewges, data = leo) -# 2-way -leo_table(rowvar = leo$pol001, colvar = pvs, weight = leo$pgewges, data = leo) -# 3-way -leo_table(rowvar = pvs, colvar = leo$altgr5, supercolvar = leo$f001, weight = leo$pgewges, data = leo) - -}