Learn R Programming

surveytable (version 0.9.7)

var_list: List variables in a survey.

Description

List variables in a survey.

Usage

var_list(sw = "", all = FALSE, csv = getOption("surveytable.csv"))

Value

A table

Arguments

sw

starting characters in variable name (case insensitive)

all

print all variables?

csv

name of a CSV file

Examples

Run this code
set_survey(namcs2019sv)
var_list("age")

Run the code above in your browser using DataLab