getscale | R Documentation |
getscale(df, file,sheet=1, column)
df |
Data frame or matrix |
file |
excel file (e.g "example.xlsx") |
column |
Column name (or number) for scale in excel (e.g "Subscale") |
sheet |
sheet number default 1 |
Ariadna Angulo-Brunet (ariadna.angulo@uab.cat), Carme Viladrich
#reference is an excel sheet with a colum "VariablesInput" which contains variable names of the data frame
getscale(df, "reference.xlsx", column="Subscales")
a<-unlist(output)
a<-data.frame((vapply(output,unlist,unlist(output[[1]]))))
for(i in 1:ncol(a)){
assign(names(output)[i], a[[i]])
#remove innecessary objects
#rm(a,i, output)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.