powered by
indicator weighting function
indicator(X, u)
matrix of X's from the data
a particular value to compare X's to
numeric vector
# NOT RUN { data(mpdta) dta <- subset(mpdta, year==2007) X <- model.matrix(~lpop, data=dta) X <- indicator(X, X[1,]) # }
Run the code above in your browser using DataLab