View source: R/Plot.by.Factr.R
Plot.by.Factr | R Documentation |
Plot by Factor
Plot.by.Factr(XXX, name.levels)
XXX |
object to be plotted. |
name.levels |
name object. |
The output from Plot.by.Factr
.
df <- sample_data[c("Formal","Informal","L.Both", "No.Loan", "sex","educ","political.afl","married", "havejob","rural","age","Income","Networth","Liquid.Assets", "NW.HE","fin.knowldge","fin.intermdiaries")] CN = colnames(df) var <- c("educ","rural") name.levels <- c("Formal","Informal","L.Both","No.Loan", "sex","educ","political.afl","married", "havejob","rural","age","Income","Networth","Liquid.Assets", "NW.HE","fin.knowldge","fin.intermdiaries") XXX <- df4.Plot.by.Factr(var,df)$Summ.Stats.long Plot.by.Factr(XXX, name.levels)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.