
dftest(dfname, x = NULL)
x
to an expected variable name in the data frame results in the variable's length, i.e., number of observations, being displayed if it is present.search
, ls
## Make test data available
data(kola.o)
## Check that the data frame kola.o is available
dftest(kola.o)
## Check that kola.o is available and that the variable Cu is present
dftest(kola.o, x = Cu)
Run the code above in your browser using DataLab