diff --git a/R/sdRplot.R b/R/sdRplot.R index 6aaabd3..139983b 100644 --- a/R/sdRplot.R +++ b/R/sdRplot.R @@ -4,8 +4,8 @@ #' @param nx The number of levels in each of the the SD scales in the inventory, e.g., 5. #' @param sl The scale labels given as a list, e.g. c("SA","A","N","A","SA"). #' @param ny The number of descriptor items in the inventory. -#' @param x The data matrix with the first column (col1) containing the low-end descriptors of the SD scales, the second column (col2) containing the high-end descriptors of the SD scales, and the third column and beyond (col3-onwards) containing the mean scale values for each group. -#' The names of the columns (col 3 and above) of the data matrix (e.g., dimnames(x)[[2]][3:ncol(x)])) are used for labelling the groups in the legend. +#' @param x The data matrix with the first column (col1) containing the low-end descriptors of the SD scales, the second column (col2) containing the high-end descriptors of the SD scales, and the third column and beyond (col3 onwards) containing the mean scale values for each group. +#' The names of the columns (col 3 and above) of the data matrix (e.g., dimnames(x)[[2]][3:ncol(x)])) are used for labeling the groups in the legend. #' @return The SD plot of the data summarized in matrix x. #' @examples #' low<-c("Serious","Slow","Useless","Tiring","Old","Hard","Long") diff --git a/README.md b/README.md index f893e84..762bc5c 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ ## sdRgraph -`sdRgraph` is an [**R**](https://svn.R-project.org/R/) package that contains an `R` function, `sdRplot`, that can be used for creating ***semantic differential*** (SD) inventory plots (see [Wikipedia: Semantic differential](https://en.wikipedia.org/wiki/Semantic_differential) for more info) . +`sdRgraph` is an [**R**](https://svn.R-project.org/R/) package that contains an `R` function, `sdRplot`, that can be used for creating ***semantic differential*** (SD) inventory plots (see [Wikipedia: Semantic differential](https://en.wikipedia.org/wiki/Semantic_differential) for more info). ![](./images/sdRplot1.png) -(You may have to change some of the graphing parameters in the written function, as the need arises, to get better quality plots; please see [`sdRplot`](https://github.com/justineuro/sdRgraph), a GitHub repository that contains this `R` function.) +(You may have to change some of the graphing parameters in the written function, as the need arises, to get better quality plots; please see [`sdRplot`](https://github.com/justineuro/sdRgraph), a GitHub repository that contains this `R` function.) Creative Commons License
sdRgraph by Justine Leon A. Uro is licensed under a Creative Commons Attribution 4.0 International License.
Based on a work at https://github.com/justineuro/sdRgraph.