Permalink
Browse files

Updates to xtable and shiny app

  • Loading branch information...
1 parent a745643 commit 7591120ad10e6ae9c763bdf9b7d915335e2810f6 @kspeer kspeer committed Jul 26, 2013
Showing with 7 additions and 0 deletions.
  1. +6 −0 R/xtable.likert.r
  2. +1 −0 inst/shiny/server.R
View
@@ -14,6 +14,12 @@
#' @param include.high option to include high
#' @param include.levels option to include levels
#' @param include.missing option to include missing levels.
+#' @param center specifies which level should be treated as the center. For example,
+#' \code{center = 3} would use the third level as the center whereas
+#' \code{center = 3.5} would indicate no specific level is the center but
+#' <= 3 are low levels and >= 4 are high levels (i.e. used for forced choice
+#' items or those without a neutral option). This also influences which levels
+#' are summarized in the low and high groups.
#' @param ... other parameters passed to \link{xtable}.
#' @seealso \link{xtable}, \link{print.xtable}
#' @S3method xtable likert
View
@@ -4,6 +4,7 @@ require(devtools)
#install_github('likert','kspeer')
require(likert)
data(pisaitems)
+source('C:/Users/User/Dropbox/Github/likert/R/xtable.likert.R')#rm this when github syncs
items24 <- pisaitems[,substr(names(pisaitems), 1,5) == 'ST24Q']

0 comments on commit 7591120

Please sign in to comment.