Description Usage Arguments Author(s) Examples
This function creates a data set with the logarithms of the original variables.
1 | logDataSet( data, varNames, varNamesNum = NULL )
|
data |
a data frame containing the data
(possibly a panel data frame created with
|
varNames |
vector of character strings that indicates names of variables in the data frame. The logarithm of these variables are included in the returned data frame. |
varNamesNum |
optional vector of character strings that indicates names of further variables in tha data frame. In case of numeric variables, the logarithms of these variabes are included in the returned data frame. In case of factor of logical variables, these variabes are included in the returned data frame without any transformation. |
Arne Henningsen
1 2 3 | data( "germanFarms" )
datLog <- logDataSet( germanFarms, c( "vAnimal", "vOutput", "vVarInput" ) )
summary( datLog )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.