Description Usage Arguments Author(s) Examples
Computes values of a dataframe that are supermodular
1 | Supermodular(ff= NULL,nboot = 10,semilla = NULL,DF = NULL)
|
ff |
String; a string that represents the formula to be evauated in the model |
nboot |
Numeric; number of bootstrap iterations to obtain the probability distribution of the coefficients. |
semilla |
Numeric; seed value for the bootstrap in nboot parameter. |
DF |
data.frame; a dataframe containing the variables in the model. |
Víctor Morales Oñate, victor.morales@uv.cl, https://sites.google.com/site/moralesonatevictor/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # set.seed(2539)
# ENAIsam <- ENAI[sample(1:nrow(ENAI),500),]
# save(ENAIsam, file = "ENAIsam.RData")
rm(list = ls())
library(Supermodular)
data(ENAIsam)
# ******** START: ROUTINE INFORMATION
DF <- ENAIsam
rownames(DF) <- DF$id_empresa
ff <- "iventas_prod_mercado~A3 + A5 + gr_extr + exportaprom + creada +
protect_inn + id + otros + lnum_emp_prom + fuentes_externas +
sector_manufactura + sector_servicios + sector_comercio"
nboot <- 10
semilla <- 123
# ******** END: ROUTINE INFORMATION
# ff= ff;nboot = nboot;semilla = semilla;DF = DF
Supermodular(ff= ff,nboot = nboot,semilla = semilla,DF = DF)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.