Skip to content

Commit

Permalink
3rd version of sdRplot
Browse files Browse the repository at this point in the history
  • Loading branch information
justineuro committed May 28, 2024
1 parent 00dce72 commit fe547a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/sdRplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.)


<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/80x15.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">sdRgraph</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="https://github.com/justineuro/" property="cc:attributionName" rel="cc:attributionURL">Justine Leon A. Uro</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.<br />Based on a work at <a xmlns:dct="http://purl.org/dc/terms/" href="https://github.com/justineuro/sdRgraph" rel="dct:source">https://github.com/justineuro/sdRgraph</a>.

0 comments on commit fe547a7

Please sign in to comment.