diff --git a/CRAN-RELEASE b/CRAN-RELEASE new file mode 100644 index 00000000..67659230 --- /dev/null +++ b/CRAN-RELEASE @@ -0,0 +1,2 @@ +This package was submitted to CRAN on 2020-04-29. +Once it is accepted, delete this file and tag the release (commit 80c3a7aa49). diff --git a/docs/404.html b/docs/404.html index 6f9f4ec4..7d8e3ef2 100644 --- a/docs/404.html +++ b/docs/404.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -50,7 +54,6 @@ - @@ -68,7 +71,7 @@ - +
@@ -200,6 +203,12 @@

Page not found (404)

+ + @@ -210,7 +219,7 @@

Page not found (404)

-

Site built with pkgdown 1.4.1.

+

Site built with pkgdown 1.5.1.

diff --git a/docs/CODE_OF_CONDUCT.html b/docs/CODE_OF_CONDUCT.html index be348542..d37a9f5c 100644 --- a/docs/CODE_OF_CONDUCT.html +++ b/docs/CODE_OF_CONDUCT.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -50,7 +54,6 @@ - @@ -68,7 +71,7 @@ - +
@@ -208,6 +211,12 @@

Contributor Code of Conduct

+ + @@ -218,7 +227,7 @@

Contributor Code of Conduct

-

Site built with pkgdown 1.4.1.

+

Site built with pkgdown 1.5.1.

diff --git a/docs/CONTRIBUTING.html b/docs/CONTRIBUTING.html index 2261371d..79776757 100644 --- a/docs/CONTRIBUTING.html +++ b/docs/CONTRIBUTING.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -50,7 +54,6 @@ - @@ -68,7 +71,7 @@ - +
@@ -245,6 +248,12 @@

+ + @@ -255,7 +264,7 @@

-

Site built with pkgdown 1.4.1.

+

Site built with pkgdown 1.5.1.

diff --git a/docs/ISSUE_TEMPLATE.html b/docs/ISSUE_TEMPLATE.html index 322f9f36..b9e21eec 100644 --- a/docs/ISSUE_TEMPLATE.html +++ b/docs/ISSUE_TEMPLATE.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -50,7 +54,6 @@ - @@ -68,7 +71,7 @@ - +
@@ -201,9 +204,15 @@

NA

Please include a minimal reproducible example (AKA a reprex). If you’ve never heard of a reprex before, start by reading https://www.tidyverse.org/help/#reprex.


Brief description of the problem

- +
# insert reprex here
+ +
+ @@ -216,7 +225,7 @@

NA

-

Site built with pkgdown 1.4.1.

+

Site built with pkgdown 1.5.1.

diff --git a/docs/LICENSE.html b/docs/LICENSE.html index 30bd3efc..49d1175b 100644 --- a/docs/LICENSE.html +++ b/docs/LICENSE.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -50,7 +54,6 @@ - @@ -68,7 +71,7 @@ - +
@@ -422,6 +425,12 @@

+ + @@ -432,7 +441,7 @@

-

Site built with pkgdown 1.4.1.

+

Site built with pkgdown 1.5.1.

diff --git a/docs/SUPPORT.html b/docs/SUPPORT.html index 73078570..8ca04590 100644 --- a/docs/SUPPORT.html +++ b/docs/SUPPORT.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -50,7 +54,6 @@ - @@ -68,7 +71,7 @@ - +
@@ -215,6 +218,12 @@

Getting help with circumplex

+ + @@ -225,7 +234,7 @@

Getting help with circumplex

-

Site built with pkgdown 1.4.1.

+

Site built with pkgdown 1.5.1.

diff --git a/docs/articles/index.html b/docs/articles/index.html index 2862a19d..5faddb28 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -50,7 +54,6 @@ - @@ -68,7 +71,7 @@ - +
@@ -200,11 +203,14 @@

Articles

All vignettes

- +
+
Intermediate SSM Analysis
+
+
Introduction to SSM Analysis
+
+
Using Circumplex Instruments
+
+
@@ -216,7 +222,7 @@

All vignettes

-

Site built with pkgdown 1.4.1.

+

Site built with pkgdown 1.5.1.

diff --git a/docs/articles/intermediate-ssm-analysis.html b/docs/articles/intermediate-ssm-analysis.html index 38ba0b02..ca539e43 100644 --- a/docs/articles/intermediate-ssm-analysis.html +++ b/docs/articles/intermediate-ssm-analysis.html @@ -12,22 +12,22 @@ - - - - - + + + + + + - + - - +
@@ -648,28 +648,28 @@

Contrasts between groups’ means

To compare the mean profiles for females and males, we can start with the same syntax we had before and then add a contrast argument. For the sake of illustration, we will use a model contrast here, but for some purposes, a parameter contrast might be more appropriate.

- +
results4 <- ssm_analyze(jz2017s, PA:NO, octants(), grouping = Gender, contrast = "model")
+summary(results4)
+#> Call:
+#> ssm_analyze(.data = jz2017s, scales = PA:NO, angles = octants(), 
+#>     grouping = Gender, contrast = "model")
+#> 
+#> Statistical Basis:    Mean Scores 
+#> Bootstrap Resamples:  2000 
+#> Confidence Level:     0.95 
+#> Listwise Deletion:    TRUE 
+#> Scale Displacements:  90 135 180 225 270 315 360 45 
+#> 
+#> Contrast [Male - Female]:
+#>                Estimate   Lower CI   Upper CI
+#> Elevation        -0.062     -0.119     -0.004
+#> X-Value          -0.232     -0.285     -0.181
+#> Y-Value           0.124      0.066      0.183
+#> Amplitude         0.263      0.209      0.321
+#> Displacement    151.858    141.234    164.387
+#> Model Fit         0.855

Note that the profile blocks we are used to have been replaced by a contrast block. By default, the contrast is made by subtracting the first level of the grouping variable from the second level (e.g., Male - Female). This provides an indication of the direction of the contrast. We can again generate a table and figure to display the results. Note that, because we used a model contrast, the figure will be a circular figure and not a contrast figure which we will see below. However, we would get a contrast figure if we used a parameter contrast.

-
ssm_table(results4)
+
ssm_table(results4)
Mean-based Structural Summary Statistic Contrasts with 95% CIs @@ -721,35 +721,35 @@

-
ssm_plot(results4)
+
ssm_plot(results4)

Contrasts between measures in a group

Comparing measures in a group is very similar. Again, all we need to do is add the contrast argument to the function call containing measures. Here we will use a parameter contrast to see what they look like.

- -
ssm_table(results5)
+
results5 <- ssm_analyze(jz2017, PA:NO, octants(), measures = c(NARPD, ASPD),
+  contrast = "test")
+summary(results5)
+#> Call:
+#> ssm_analyze(.data = jz2017, scales = PA:NO, angles = octants(), 
+#>     measures = c(NARPD, ASPD), contrast = "test")
+#> 
+#> Statistical Basis:    Correlation Scores 
+#> Bootstrap Resamples:  2000 
+#> Confidence Level:     0.95 
+#> Listwise Deletion:    TRUE 
+#> Scale Displacements:  90 135 180 225 270 315 360 45 
+#> 
+#> Contrast [ASPD - NARPD]:
+#>                Estimate   Lower CI   Upper CI
+#> Elevation        -0.079     -0.114     -0.043
+#> X-Value          -0.037     -0.074      0.002
+#> Y-Value           0.024     -0.014      0.061
+#> Amplitude         0.037     -0.002      0.075
+#> Displacement      6.960     -3.391     17.383
+#> Model Fit         0.007
+
ssm_table(results5)
Correlation-based Structural Summary Statistic Contrasts with 95% CIs @@ -801,7 +801,7 @@

-
ssm_plot(results5)
+
ssm_plot(results5)

Here, instead of a circle plot, we see a contrast plot showing the difference between the two measures’ SSM parameters and their 95% confidence intervals. Because the confidence interval for the elevation parameter does not include zero, this parameter is significantly different between the measures.

@@ -809,28 +809,28 @@

Contrasts between groups’ correlations

Finally, we might want to compare a single measure’s profiles in two different groups. To do so, we need to specify the measures, the grouping variable, and the type of contrast. In this case, we need to ensure that we are providing only a single measure and a grouping variable with just two levels (as again only two things can be contrasted at a time). Note that the contrast name in this case will take the form of MEASURE: GROUP2 - GROUP1.

- -
ssm_table(results6)
+
results6 <- ssm_analyze(jz2017, PA:NO, octants(), measures = BORPD,
+  grouping = Gender, contrast = "test")
+summary(results6)
+#> Call:
+#> ssm_analyze(.data = jz2017, scales = PA:NO, angles = octants(), 
+#>     measures = BORPD, grouping = Gender, contrast = "test")
+#> 
+#> Statistical Basis:    Correlation Scores 
+#> Bootstrap Resamples:  2000 
+#> Confidence Level:     0.95 
+#> Listwise Deletion:    TRUE 
+#> Scale Displacements:  90 135 180 225 270 315 360 45 
+#> 
+#> Contrast [BORPD: Male - Female]:
+#>                Estimate   Lower CI   Upper CI
+#> Elevation         0.069      0.000      0.136
+#> X-Value           0.080      0.017      0.146
+#> Y-Value          -0.072     -0.152      0.010
+#> Amplitude        -0.088     -0.160     -0.003
+#> Displacement    -40.880   -105.533     19.259
+#> Model Fit        -0.447
+
ssm_table(results6)
Correlation-based Structural Summary Statistic Contrasts with 95% CIs @@ -882,7 +882,7 @@

-
ssm_plot(results6)
+
ssm_plot(results6)

@@ -1062,11 +1062,11 @@

Combining and exporting tables

In some cases, such as multiple contrasts or groupings, we may want to combine several tables into one by joining them together as rows. This can be done using the ssm_append() function.

-
res1 <- ssm_analyze(jz2017s, PA:NO, octants())
-res2 <- ssm_analyze(jz2017s, PA:NO, octants(), grouping = Gender)
-tab1 <- ssm_table(res1, xy = FALSE, render = FALSE)
-tab2 <- ssm_table(res2, xy = FALSE, render = FALSE)
-ssm_append(tab1, tab2)
+
res1 <- ssm_analyze(jz2017s, PA:NO, octants())
+res2 <- ssm_analyze(jz2017s, PA:NO, octants(), grouping = Gender)
+tab1 <- ssm_table(res1, xy = FALSE, render = FALSE)
+tab2 <- ssm_table(res2, xy = FALSE, render = FALSE)
+ssm_append(tab1, tab2)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
@@ -1148,21 +1148,21 @@

Basic customizations of figures

Additional arguments to the ssm_plot() function can be explored using the ?ssm_plot, ?ssm_plot_circle, and ?ssm_plot_contrast commands. For both types of figures, the fontsize argument will control the baseline text size in pts (default = 12). Some text elements will be rescaled from the specified fontsize (e.g., multiplying it by 150%). For circle plots, we have already seen the lowfit argument for including points with low model fit. Another useful option is the amax argument for the maximum value of the amplitude scale. By default, the package picks a number that will fit all the points and generate “round” numbers at each 1/5 tick; however, this default can be overwritten using the amax argument.

-
ssm_plot(results4, amax = 0.6)
+
ssm_plot(results4, amax = 0.6)

For contrast plots, several arguments exist for customizing the output. We have already seen the xy argument for including or excluding the x-value and y-value contrasts. We can also change the color and linesize of the point range (linesize in mm). Finally, we can change the axislabel displayed to the left of the plots. More complex customizations will be the subject of an advanced vignette.

-
ssm_plot(results6, xy = FALSE, color = "blue", linesize = 1,
-  axislabel = "BORPD: Male - Female")
+
ssm_plot(results6, xy = FALSE, color = "blue", linesize = 1,
+  axislabel = "BORPD: Male - Female")

Exporting figures as files

All SSM plots are created using the ggplot2 package, which is incredibly flexible and powerful. It also offers the ggsave() function to export figures to external files of various types. See the documentation for this function (?ggsave) to learn more, but some useful arguments are filename, plot, width, height, and units. We can save the figure as a raster image file (e.g., “png”, “jpeg”, “tiff”), a vector image file (e.g., “svg”), or a portable document (e.g., “pdf” or “tex”). We can also control the exact width and height of the image in different units (i.e., “in”, “cm”, or “mm”). Because the underlying graphics are vectorized in R, they can be easily scaled to any size without loss of quality and used in manuscripts, presentations, or posters.

-
p <- ssm_plot(results6, xy = FALSE, color = "blue", linesize = 1,
-  axislabel = "BORPD: Male - Female")
-ggsave(filename = "bordpd_gender.png", plot = p, width = 7.5, height = 4,
-  units = "in")
+
p <- ssm_plot(results6, xy = FALSE, color = "blue", linesize = 1,
+  axislabel = "BORPD: Male - Female")
+ggsave(filename = "bordpd_gender.png", plot = p, width = 7.5, height = 4,
+  units = "in")
@@ -1182,22 +1182,11 @@

- @@ -1208,7 +1197,7 @@

-

Site built with pkgdown 1.4.1.

+

Site built with pkgdown 1.5.1.

diff --git a/docs/articles/introduction-to-ssm-analysis.html b/docs/articles/introduction-to-ssm-analysis.html index 0888ba51..7332cde0 100644 --- a/docs/articles/introduction-to-ssm-analysis.html +++ b/docs/articles/introduction-to-ssm-analysis.html @@ -12,22 +12,22 @@ - - - - - + + + + + + - + - - +

Visualizing the results with a table and figure

Next, we can produce a table to display our results. With only a single set of parameters, this table is probably overkill, but in future analyses we will see how this function saves a lot of time and effort. To create the table, simply pass the results (or results2) object to the ssm_table() function.

-
ssm_table(results2)
+
ssm_table(results2)
Mean-based Structural Summary Statistics with 95% CIs @@ -360,7 +360,7 @@

Next, let’s leverage the fact that we are working within a circumplex space by creating a nice-looking circular plot by mapping the amplitude parameter to the points’ distance from the center of the circle and the displacement parameter to the points’ rotation from due-east (as is conventional). This, again, is as simple as passing the results object to the ssm_plot() function.

-
ssm_plot(results2)
+
ssm_plot(results2)

@@ -372,33 +372,33 @@

Conducting SSM for a group’s correlations with an external measure

Next, let’s say that we are interested in analyzing not the mean scores on the circumplex scales but rather their correlations with an external measure. This is sometimes referred to as “projecting” that external measure into the circumplex space. As an example, let’s project the NARPD variable, which captures symptoms of narcissistic personality disorder, into the circumplex space defined by the IIP-SC. Based on theory and previous findings, we can expect this measure to be associated with some general interpersonal distress and a style that is generally high in agency.

To conduct this analysis, we can start with the syntax from the mean-based analysis. All SSM analyses use the ssm_analyze() function and the data, scales, and angles are the same as before. However, we also need to let the function know that we want to analyze correlations with NARPD as opposed to scale means. To do this, we add an additional argument measures. Note that since correlations are already standardized, we don’t need to worry about standardizing the circumplex scales when measures is used.

- +
results3 <- ssm_analyze(jz2017, PA:NO, octants(), measures = NARPD)
+summary(results3)
+#> Call:
+#> ssm_analyze(.data = jz2017, scales = PA:NO, angles = octants(), 
+#>     measures = NARPD)
+#> 
+#> Statistical Basis:    Correlation Scores 
+#> Bootstrap Resamples:  2000 
+#> Confidence Level:     0.95 
+#> Listwise Deletion:    TRUE 
+#> Scale Displacements:  90 135 180 225 270 315 360 45 
+#> 
+#> Profile [NARPD]:
+#>                Estimate   Lower CI   Upper CI
+#> Elevation         0.202      0.170      0.237
+#> X-Value          -0.062     -0.096     -0.028
+#> Y-Value           0.179      0.144      0.211
+#> Amplitude         0.189      0.155      0.224
+#> Displacement    108.967     98.720    118.827
+#> Model Fit         0.957

Note that this output looks very similar to the mean-based output except that the statistical basis is now correlation scores instead of mean scores and instead of saying “Profile [All]” it now says “Profile [NARPD]”.

Visualizing the results with a table and figure

We can also create a similar table and figure using the exact same syntax as before. The ssm_table() and ssm_plot() functions are smart enough to know whether the results are mean-based or correlation-based and will work in both cases.

-
ssm_table(results3)
+
ssm_table(results3)
Correlation-based Structural Summary Statistics with 95% CIs @@ -451,7 +451,7 @@

From the table, we can see that the model fit is good (>.80) and that all three SSM parameters are significantly different from zero, i.e., their confidence intervals do not include zero. Furthermore, the confidence intervals for the elevation and amplitude parameters are greater than or equal to 0.15, which can be interpreted as being “marked.” So, consistent with our hypotheses, NARPD was associated with marked general interpersonal distress (elevation) and was markedly distinctive in its profile (amplitude). The displacement parameter was somewhere between 100 and 120 degrees; to interpret this we would need to either consult the mapping between scales and angles or plot the results.

-
ssm_plot(results3)
+
ssm_plot(results3)

From this figure, it is very easy to see that, consistent with our hypotheses, the displacement for NARPD was associated with high agency and was somewhere between the “domineering” and “vindictive” octants.

@@ -473,21 +473,11 @@

- @@ -498,7 +488,7 @@

-

Site built with pkgdown 1.4.1.

+

Site built with pkgdown 1.5.1.

diff --git a/docs/articles/using-instruments.html b/docs/articles/using-instruments.html index 8fe6c1a3..3bf3fca5 100644 --- a/docs/articles/using-instruments.html +++ b/docs/articles/using-instruments.html @@ -12,22 +12,22 @@ - - - - - + + + + + + - + - - +
@@ -349,108 +349,110 @@

It is a good idea in practice to digitize and save each participant’s response to each item on an instrument, rather than just their scores on each scale. Having access to item-level data will make it easier to spot and correct mistakes, will enable more advanced analysis of missing data, and will enable latent variable models that account for measurement error (e.g., structural equation modeling). Furthermore, the functions described below will make it easy to transform and summarize such item-level data into scale scores.

First, however, we need to make sure the item-level data is in the expected format. Your data should be stored in a data frame where each row corresponds to one observation (e.g., participant, organization, or timepoint) and each column corresponds to one variable describing these observations (e.g., item responses, demographic characteristics, scale scores). The tidyverse packages provide excellent tools for getting your data into this format from a variety of different file types and formats.

For the purpose of illustration, we will work with a small-scale data set, which includes item-level responses to the Inventory of Interpersonal Problems, Short Circumplex (IIP-SC) for just 10 participants. As will become important later on, this data set contains a small amount of missing values (represented as NA). This data set is included as part of the circumplex package and can be loaded and previewed as follows:

- +
data("raw_iipsc")
+print(raw_iipsc)
+#> # A tibble: 10 x 32
+#>    IIP01 IIP02 IIP03 IIP04 IIP05 IIP06 IIP07 IIP08 IIP09 IIP10 IIP11 IIP12 IIP13
+#>    <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
+#>  1     0     0     0     0     1     0     1     0     2     1     0     0     0
+#>  2     1     1     0     0     3     2     2     1     0     1     0     1     4
+#>  3     1     0     1     0     1     1     1     3     0     1     0     0     2
+#>  4     3     2     3    NA     2     3     2     3     2     3     2     4     2
+#>  5     0     0     0     1     0     0     1     1     0     1     0     2     1
+#>  6     0     0     0     0     0     0     1     1     0     0     0     0     0
+#>  7     1     0     0     0     2     1     1     0     1     0     0     0     1
+#>  8     1     0     1     0     1     1     2     1     1     0     0     0     1
+#>  9     0     0     2     2     0     1     3     0     1     0     1     1     0
+#> 10     0     0     0     0     0     0     2     0     0     0     0     0     0
+#> # ... with 19 more variables: IIP14 <dbl>, IIP15 <dbl>, IIP16 <dbl>,
+#> #   IIP17 <dbl>, IIP18 <dbl>, IIP19 <dbl>, IIP20 <dbl>, IIP21 <dbl>,
+#> #   IIP22 <dbl>, IIP23 <dbl>, IIP24 <dbl>, IIP25 <dbl>, IIP26 <dbl>,
+#> #   IIP27 <dbl>, IIP28 <dbl>, IIP29 <dbl>, IIP30 <dbl>, IIP31 <dbl>,
+#> #   IIP32 <dbl>

Ipsatizing item-level data

For some forms of circumplex data analysis (e.g., analysis of circumplex fit) but not others (e.g., structural summary method), it can be helpful to transform item-level responses by subtracting each participant’s mean across all items from his or her response on each item. This practice is called “ipsatizing” or, more precisely, deviation scoring across variables. This practice will attenuate the general factor across all items and recasts the item-level responses as deviations from one’s own mean rather than absolute responses. To perform ipsatizing and create a new set of ipsatized responses to each item, use the ipsatize() function.

- +
ips_iipsc <- ipsatize(.data = raw_iipsc, items = IIP01:IIP32, na.rm = TRUE, overwrite = TRUE)
+print(ips_iipsc)
+#> # A tibble: 10 x 32
+#>      IIP01   IIP02  IIP03  IIP04  IIP05   IIP06  IIP07   IIP08   IIP09   IIP10
+#>      <dbl>   <dbl>  <dbl>  <dbl>  <dbl>   <dbl>  <dbl>   <dbl>   <dbl>   <dbl>
+#>  1 -1      -1      -1     -1      0     -1       0     -1       1       0     
+#>  2  0.0625  0.0625 -0.938 -0.938  2.06   1.06    1.06   0.0625 -0.938   0.0625
+#>  3 -0.406  -1.41   -0.406 -1.41  -0.406 -0.406  -0.406  1.59   -1.41   -0.406 
+#>  4  0.710  -0.290   0.710 NA     -0.290  0.710  -0.290  0.710  -0.290   0.710 
+#>  5 -0.625  -0.625  -0.625  0.375 -0.625 -0.625   0.375  0.375  -0.625   0.375 
+#>  6 -0.281  -0.281  -0.281 -0.281 -0.281 -0.281   0.719  0.719  -0.281  -0.281 
+#>  7  0.5    -0.5    -0.5   -0.5    1.5    0.5     0.5   -0.5     0.5    -0.5   
+#>  8  0.258  -0.742   0.258 -0.742  0.258  0.258   1.26   0.258   0.258  -0.742 
+#>  9 -0.969  -0.969   1.03   1.03  -0.969  0.0312  2.03  -0.969   0.0312 -0.969 
+#> 10 -0.219  -0.219  -0.219 -0.219 -0.219 -0.219   1.78  -0.219  -0.219  -0.219 
+#> # ... with 22 more variables: IIP11 <dbl>, IIP12 <dbl>, IIP13 <dbl>,
+#> #   IIP14 <dbl>, IIP15 <dbl>, IIP16 <dbl>, IIP17 <dbl>, IIP18 <dbl>,
+#> #   IIP19 <dbl>, IIP20 <dbl>, IIP21 <dbl>, IIP22 <dbl>, IIP23 <dbl>,
+#> #   IIP24 <dbl>, IIP25 <dbl>, IIP26 <dbl>, IIP27 <dbl>, IIP28 <dbl>,
+#> #   IIP29 <dbl>, IIP30 <dbl>, IIP31 <dbl>, IIP32 <dbl>

Above, we told the function to overwrite the original item variables with their ipsatized versions; new ipsatized variables (ending in _i) could have been appended to the data frame instead by changing the overwrite argument to FALSE. We also told it to calculate the mean for each observation after ignoring any missing values. We could have changed this by setting the na.rm argument to FALSE.

We can check that the ipsatization was successful by calculating the mean of each row (i.e., each participant’s mean response) in the original and ipsatized data frames. We do this below using the rowMeans() function; we also apply the round() function to make the results fit on one row. As expected, we find below that the mean of each participant is zero in the ipsatized data frame but not in the original.

- +
round(rowMeans(raw_iipsc, na.rm = TRUE), 2)
+#>  [1] 1.00 0.94 1.41 2.29 0.62 0.28 0.50 0.74 0.97 0.22
+round(rowMeans(ips_iipsc, na.rm = TRUE), 2)
+#>  [1] 0 0 0 0 0 0 0 0 0 0

Scoring item-level data

For many forms of circumplex data analysis (e.g., structural summary method), it can be very helpful to summarize item-level responses by calculating scale scores. This is typically done by averaging a set of items that all measure the same underlying construct (e.g., location in the circumplex model). For example, the IIP-SC has 32 items in total that measure 8 scales representing octants of the interpersonal circumplex model. Thus, a participant’s score on each scale is calculated as the arithmetic mean of his or her responses to four specific items. Using the aggregate of multiple similar items produces scale scores with higher reliability than would be achieved by using only a single item per scale.

- +
instrument("iipsc")
+scales(iipsc)
+#> The IIP-SC contains 8 circumplex scales.
+#> PA: Domineering (90 degrees)
+#> BC: Vindictive (135 degrees)
+#> DE: Cold (180 degrees)
+#> FG: Socially Avoidant (225 degrees)
+#> HI: Nonassertive (270 degrees)
+#> JK: Exploitable (315 degrees)
+#> LM: Overly Nurturant (360 degrees)
+#> NO: Intrusive (45 degrees)

Although calculating the arithmetic mean of a handful of items is not terribly difficult mathematically, doing so manually (e.g., by hand) across multiple scales and multiple participants can be tedious and error-prone. To address these issues, the circumplex package offers the score() function, which automatically calculates scale scores from item-level data.

To demonstrate, let’s return to the raw_iipsc data set. We need to give the score() function a data frame containing the item-level data (i.e., the data set), a list of variables from that data frame that contain the item-level responses to be scored, and an instrument object containing instructions on how to score the data. In order for scoring to work properly, the list of items must be in ascending order from the first to the last item and the ordering of the items must be the same as that assumed by the package. Be sure to check your item numbers against those displayed by the items() function, especially if you shuffle your items.

- +
scale_scores <- score(.data = raw_iipsc, items = IIP01:IIP32, instrument = iipsc)
+print(scale_scores)
+#> # A tibble: 10 x 40
+#>    IIP01 IIP02 IIP03 IIP04 IIP05 IIP06 IIP07 IIP08 IIP09 IIP10 IIP11 IIP12 IIP13
+#>    <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
+#>  1     0     0     0     0     1     0     1     0     2     1     0     0     0
+#>  2     1     1     0     0     3     2     2     1     0     1     0     1     4
+#>  3     1     0     1     0     1     1     1     3     0     1     0     0     2
+#>  4     3     2     3    NA     2     3     2     3     2     3     2     4     2
+#>  5     0     0     0     1     0     0     1     1     0     1     0     2     1
+#>  6     0     0     0     0     0     0     1     1     0     0     0     0     0
+#>  7     1     0     0     0     2     1     1     0     1     0     0     0     1
+#>  8     1     0     1     0     1     1     2     1     1     0     0     0     1
+#>  9     0     0     2     2     0     1     3     0     1     0     1     1     0
+#> 10     0     0     0     0     0     0     2     0     0     0     0     0     0
+#> # ... with 27 more variables: IIP14 <dbl>, IIP15 <dbl>, IIP16 <dbl>,
+#> #   IIP17 <dbl>, IIP18 <dbl>, IIP19 <dbl>, IIP20 <dbl>, IIP21 <dbl>,
+#> #   IIP22 <dbl>, IIP23 <dbl>, IIP24 <dbl>, IIP25 <dbl>, IIP26 <dbl>,
+#> #   IIP27 <dbl>, IIP28 <dbl>, IIP29 <dbl>, IIP30 <dbl>, IIP31 <dbl>,
+#> #   IIP32 <dbl>, PA <dbl>, BC <dbl>, DE <dbl>, FG <dbl>, HI <dbl>, JK <dbl>,
+#> #   LM <dbl>, NO <dbl>

The scale_scores data frame contains all the item-level data from item_level_csie, as well as the newly calculated scale scores. Note that the scale score variables were named using the scale abbreviations shown by the scales() function (i.e., two-letter abbreviations from PA to NO). You can customize the naming of these variables by using the prefix and suffix arguments from the score() function. We can select and view just the scale score variables using the select() function.

- +
select(scale_scores, PA:NO)
+#> # A tibble: 10 x 8
+#>       PA    BC    DE    FG    HI    JK    LM    NO
+#>    <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
+#>  1  1.75  2     1.25  0     0.5  0.25   1.5   0.75
+#>  2  0.25  0.5   0.25  0.5   2    1.75   1.25  1   
+#>  3  1     0.75  0.75  0     2.25 2      2.5   2   
+#>  4  1.75  2.25  2.5   2.33  2.5  2      2.5   2.5 
+#>  5  0.5   0.75  0     1     0.5  0.25   1.25  0.75
+#>  6  0.25  0     0     0     0    0      1     1   
+#>  7  1     0     0     0     1    1      0.75  0.25
+#>  8  1     0.25  0.75  0     0.5  0.667  1.75  1   
+#>  9  0.75  0.5   1.5   0.75  0    1      2.75  0.5 
+#> 10  0     0     0     0     0    0.5    1     0.25

Note that the na.rm argument for the score() function defaulted to TRUE, which means that missing values were ignored in calculating the scale scores. This practice is common in the literature, but is technically a form of single imputation and thus can produce biased results when data are not missing completely at random (MCAR). Please examine and report the amount and patterns of missingness in your data.

@@ -459,59 +461,59 @@

Finally, it can often be helpful to transform scale-level data through reference to a normative or comparison sample. This is often called “standardizing” and involves subtracting the normative sample’s mean score on a scale from each participant’s score on that scale and then dividing this difference by the normative sample’s standard deviation. This rescales the scale scores to be in standard deviation units and to describe the magnitude of each participant’s difference from the normative average.

For many circumplex instruments, the data needed to perform standardization is included in its instrument object. Some instruments even have multiple (e.g., different or overlapping) normative samples for comparisons that are matched in terms of gender, age, or nationality. In selecting a normative sample to compare to, it is important to consider both the size and the appropriateness of the sample.

To demonstrate, let’s examine the normative data sets available for the IIP-SC. Below we see that there are two options: a rather large sample of American college students and a rather small sample of American psychiatric outpatients.

- +
norms(iipsc)
+#> The IIP-SC currently has 2 normative data set(s):
+#> 1. 872 American college students
+#>   Hopwood, Pincus, DeMoor, & Koonce (2011)
+#>   <https://doi.org/10.1080/00223890802388665>
+#> 2. 106 American psychiatric outpatients
+#>   Soldz, Budman, Demby, & Merry (1995)
+#>   <https://doi.org/10.1177/1073191195002001006>

Assuming our example data also come from a non-psychiatric community sample of mostly college students, the first normative sample seems like a better choice, especially since it is so much larger and therefore subject to less sampling error. However, there may be times when the second normative sample would be the more appropriate comparison, even despite its smaller sample.

To transform the scale scores we calculated during the last section, we can call the standardize() function and give it the scale_scores object we saved the item-level and scale-level data within. We will save the output of this function to a data frame named z_scales to reflect the idea that standardized scores are often called “z-scores.”

- +
z_scales <- standardize(
+  .data = scale_scores,
+  scales = PA:NO,
+  angles = octants(),
+  instrument = iipsc,
+  sample = 1
+)
+print(z_scales)
+#> # A tibble: 10 x 48
+#>    IIP01 IIP02 IIP03 IIP04 IIP05 IIP06 IIP07 IIP08 IIP09 IIP10 IIP11 IIP12 IIP13
+#>    <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
+#>  1     0     0     0     0     1     0     1     0     2     1     0     0     0
+#>  2     1     1     0     0     3     2     2     1     0     1     0     1     4
+#>  3     1     0     1     0     1     1     1     3     0     1     0     0     2
+#>  4     3     2     3    NA     2     3     2     3     2     3     2     4     2
+#>  5     0     0     0     1     0     0     1     1     0     1     0     2     1
+#>  6     0     0     0     0     0     0     1     1     0     0     0     0     0
+#>  7     1     0     0     0     2     1     1     0     1     0     0     0     1
+#>  8     1     0     1     0     1     1     2     1     1     0     0     0     1
+#>  9     0     0     2     2     0     1     3     0     1     0     1     1     0
+#> 10     0     0     0     0     0     0     2     0     0     0     0     0     0
+#> # ... with 35 more variables: IIP14 <dbl>, IIP15 <dbl>, IIP16 <dbl>,
+#> #   IIP17 <dbl>, IIP18 <dbl>, IIP19 <dbl>, IIP20 <dbl>, IIP21 <dbl>,
+#> #   IIP22 <dbl>, IIP23 <dbl>, IIP24 <dbl>, IIP25 <dbl>, IIP26 <dbl>,
+#> #   IIP27 <dbl>, IIP28 <dbl>, IIP29 <dbl>, IIP30 <dbl>, IIP31 <dbl>,
+#> #   IIP32 <dbl>, PA <dbl>, BC <dbl>, DE <dbl>, FG <dbl>, HI <dbl>, JK <dbl>,
+#> #   LM <dbl>, NO <dbl>, PA_z <dbl>, BC_z <dbl>, DE_z <dbl>, FG_z <dbl>,
+#> #   HI_z <dbl>, JK_z <dbl>, LM_z <dbl>, NO_z <dbl>

Again, the output contains all the item-level, scale-level, and now the standardized scale-level variables. The new variables are named the same as the scale score variables except with a configurable prefix and suffix (by default, they are given only a suffix of _z). We can again use the select() function to view just the newly created standardized variables. These variables are the ones we are most likely to use in subsequent analyses (e.g., the structural summary method).

- +
select(z_scales, PA_z:NO_z)
+#> # A tibble: 10 x 8
+#>       PA_z    BC_z   DE_z    FG_z   HI_z   JK_z    LM_z    NO_z
+#>      <dbl>   <dbl>  <dbl>   <dbl>  <dbl>  <dbl>   <dbl>   <dbl>
+#>  1  1.5     1.75    0.409 -1.11   -1.01  -1.33   0.0424 -0.344 
+#>  2 -0.773  -0.424  -0.760 -0.578   0.634  0.428 -0.261  -0.0312
+#>  3  0.364  -0.0616 -0.175 -1.11    0.907  0.721  1.25    1.22  
+#>  4  1.5     2.11    1.87   1.36    1.18   0.721  1.25    1.84  
+#>  5 -0.394  -0.0616 -1.05  -0.0501 -1.01  -1.33  -0.261  -0.344 
+#>  6 -0.773  -1.15   -1.05  -1.11   -1.55  -1.62  -0.564  -0.0312
+#>  7  0.364  -1.15   -1.05  -1.11   -0.459 -0.452 -0.867  -0.969 
+#>  8  0.364  -0.786  -0.175 -1.11   -1.01  -0.843  0.345  -0.0312
+#>  9 -0.0152 -0.424   0.702 -0.314  -1.55  -0.452  1.56   -0.656 
+#> 10 -1.15   -1.15   -1.05  -1.11   -1.55  -1.04  -0.564  -0.969

@@ -522,19 +524,11 @@

- @@ -545,7 +539,7 @@

-

Site built with pkgdown 1.4.1.

+

Site built with pkgdown 1.5.1.

diff --git a/docs/authors.html b/docs/authors.html index a2108f33..9c69c51d 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -50,7 +54,6 @@ - @@ -68,7 +71,7 @@ - +
@@ -198,15 +201,15 @@

Authors

@@ -223,7 +226,7 @@

Authors

-

Site built with pkgdown 1.4.1.

+

Site built with pkgdown 1.5.1.

diff --git a/docs/bootstrap-toc.css b/docs/bootstrap-toc.css new file mode 100644 index 00000000..5a859415 --- /dev/null +++ b/docs/bootstrap-toc.css @@ -0,0 +1,60 @@ +/*! + * Bootstrap Table of Contents v0.4.1 (http://afeld.github.io/bootstrap-toc/) + * Copyright 2015 Aidan Feldman + * Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */ + +/* modified from https://github.com/twbs/bootstrap/blob/94b4076dd2efba9af71f0b18d4ee4b163aa9e0dd/docs/assets/css/src/docs.css#L548-L601 */ + +/* All levels of nav */ +nav[data-toggle='toc'] .nav > li > a { + display: block; + padding: 4px 20px; + font-size: 13px; + font-weight: 500; + color: #767676; +} +nav[data-toggle='toc'] .nav > li > a:hover, +nav[data-toggle='toc'] .nav > li > a:focus { + padding-left: 19px; + color: #563d7c; + text-decoration: none; + background-color: transparent; + border-left: 1px solid #563d7c; +} +nav[data-toggle='toc'] .nav > .active > a, +nav[data-toggle='toc'] .nav > .active:hover > a, +nav[data-toggle='toc'] .nav > .active:focus > a { + padding-left: 18px; + font-weight: bold; + color: #563d7c; + background-color: transparent; + border-left: 2px solid #563d7c; +} + +/* Nav: second level (shown on .active) */ +nav[data-toggle='toc'] .nav .nav { + display: none; /* Hide by default, but at >768px, show it */ + padding-bottom: 10px; +} +nav[data-toggle='toc'] .nav .nav > li > a { + padding-top: 1px; + padding-bottom: 1px; + padding-left: 30px; + font-size: 12px; + font-weight: normal; +} +nav[data-toggle='toc'] .nav .nav > li > a:hover, +nav[data-toggle='toc'] .nav .nav > li > a:focus { + padding-left: 29px; +} +nav[data-toggle='toc'] .nav .nav > .active > a, +nav[data-toggle='toc'] .nav .nav > .active:hover > a, +nav[data-toggle='toc'] .nav .nav > .active:focus > a { + padding-left: 28px; + font-weight: 500; +} + +/* from https://github.com/twbs/bootstrap/blob/e38f066d8c203c3e032da0ff23cd2d6098ee2dd6/docs/assets/css/src/docs.css#L631-L634 */ +nav[data-toggle='toc'] .nav > .active > ul { + display: block; +} diff --git a/docs/bootstrap-toc.js b/docs/bootstrap-toc.js new file mode 100644 index 00000000..1cdd573b --- /dev/null +++ b/docs/bootstrap-toc.js @@ -0,0 +1,159 @@ +/*! + * Bootstrap Table of Contents v0.4.1 (http://afeld.github.io/bootstrap-toc/) + * Copyright 2015 Aidan Feldman + * Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */ +(function() { + 'use strict'; + + window.Toc = { + helpers: { + // return all matching elements in the set, or their descendants + findOrFilter: function($el, selector) { + // http://danielnouri.org/notes/2011/03/14/a-jquery-find-that-also-finds-the-root-element/ + // http://stackoverflow.com/a/12731439/358804 + var $descendants = $el.find(selector); + return $el.filter(selector).add($descendants).filter(':not([data-toc-skip])'); + }, + + generateUniqueIdBase: function(el) { + var text = $(el).text(); + var anchor = text.trim().toLowerCase().replace(/[^A-Za-z0-9]+/g, '-'); + return anchor || el.tagName.toLowerCase(); + }, + + generateUniqueId: function(el) { + var anchorBase = this.generateUniqueIdBase(el); + for (var i = 0; ; i++) { + var anchor = anchorBase; + if (i > 0) { + // add suffix + anchor += '-' + i; + } + // check if ID already exists + if (!document.getElementById(anchor)) { + return anchor; + } + } + }, + + generateAnchor: function(el) { + if (el.id) { + return el.id; + } else { + var anchor = this.generateUniqueId(el); + el.id = anchor; + return anchor; + } + }, + + createNavList: function() { + return $(''); + }, + + createChildNavList: function($parent) { + var $childList = this.createNavList(); + $parent.append($childList); + return $childList; + }, + + generateNavEl: function(anchor, text) { + var $a = $(''); + $a.attr('href', '#' + anchor); + $a.text(text); + var $li = $('
  • '); + $li.append($a); + return $li; + }, + + generateNavItem: function(headingEl) { + var anchor = this.generateAnchor(headingEl); + var $heading = $(headingEl); + var text = $heading.data('toc-text') || $heading.text(); + return this.generateNavEl(anchor, text); + }, + + // Find the first heading level (`

    `, then `

    `, etc.) that has more than one element. Defaults to 1 (for `

    `). + getTopLevel: function($scope) { + for (var i = 1; i <= 6; i++) { + var $headings = this.findOrFilter($scope, 'h' + i); + if ($headings.length > 1) { + return i; + } + } + + return 1; + }, + + // returns the elements for the top level, and the next below it + getHeadings: function($scope, topLevel) { + var topSelector = 'h' + topLevel; + + var secondaryLevel = topLevel + 1; + var secondarySelector = 'h' + secondaryLevel; + + return this.findOrFilter($scope, topSelector + ',' + secondarySelector); + }, + + getNavLevel: function(el) { + return parseInt(el.tagName.charAt(1), 10); + }, + + populateNav: function($topContext, topLevel, $headings) { + var $context = $topContext; + var $prevNav; + + var helpers = this; + $headings.each(function(i, el) { + var $newNav = helpers.generateNavItem(el); + var navLevel = helpers.getNavLevel(el); + + // determine the proper $context + if (navLevel === topLevel) { + // use top level + $context = $topContext; + } else if ($prevNav && $context === $topContext) { + // create a new level of the tree and switch to it + $context = helpers.createChildNavList($prevNav); + } // else use the current $context + + $context.append($newNav); + + $prevNav = $newNav; + }); + }, + + parseOps: function(arg) { + var opts; + if (arg.jquery) { + opts = { + $nav: arg + }; + } else { + opts = arg; + } + opts.$scope = opts.$scope || $(document.body); + return opts; + } + }, + + // accepts a jQuery object, or an options object + init: function(opts) { + opts = this.helpers.parseOps(opts); + + // ensure that the data attribute is in place for styling + opts.$nav.attr('data-toggle', 'toc'); + + var $topContext = this.helpers.createChildNavList(opts.$nav); + var topLevel = this.helpers.getTopLevel(opts.$scope); + var $headings = this.helpers.getHeadings(opts.$scope, topLevel); + this.helpers.populateNav($topContext, topLevel, $headings); + } + }; + + $(function() { + $('nav[data-toggle="toc"]').each(function(i, el) { + var $nav = $(el); + Toc.init($nav); + }); + }); +})(); diff --git a/docs/docsearch.json b/docs/docsearch.json index b62fd8c2..fc75d7ac 100644 --- a/docs/docsearch.json +++ b/docs/docsearch.json @@ -74,7 +74,7 @@ "selector": ".contents h2, .contents h3", "default_value": "Context" }, - "text": ".contents p, .contents li, .tempate-article .contents .pre" + "text": ".contents p, .contents li" } }, "selectors_exclude": [ diff --git a/docs/index.html b/docs/index.html index bb99501c..bc2de00b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -12,11 +12,12 @@ - - - - - + + + + + + - - +
    -

    • Fix CRAN warnings by setting LazyData: true.

    • Fix CRAN note by replacing relative URLs with absolute URLs.

    • @@ -270,12 +289,12 @@

      -

      +

      circumplex 0.3.1 2019-05-15

      -
      +

      -Minor improvements and fixes

      +Minor improvements and fixes

      • Avoid a bug with dplyr 0.8.1 and S3 methods on Linux systems.

      • Update the web address for Johannes in the README document.

      • @@ -284,7 +303,7 @@

        -

        +

        circumplex 0.3.0 2019-04-26

        @@ -296,9 +315,9 @@

      • Added support for older versions of R (3.3.x).

      -
      +

      -Minor improvements and fixes

      +Minor improvements and fixes
      • Updated the “Introduction to SSM” vignette’s figures.

      • Replaced use of dplyr::funs() as this function is being deprecated.

      • @@ -311,7 +330,7 @@

      -

      +

      circumplex 0.2.1 2018-11-29

      @@ -322,9 +341,9 @@

    • Added open-access (i.e., full item text) to the iis32 and iis64.

    -
    +

    -Minor improvements and fixes

    +Minor improvements and fixes
    • iis32 item ordering and scoring now match the author’s version.

    • iis32 response anchors now range from 1 to 6 and match norms.

    • @@ -335,7 +354,7 @@

    -

    +

    circumplex 0.2.0 2018-10-26

    @@ -347,9 +366,9 @@

  • Added function for standardizing scale-level data using normative data.

  • -
    +

    -Minor improvements and fixes

    +Minor improvements and fixes
    • Changed OpenMP flags in Makevars to fix a compile problem on Debian machines.

    • Fixed a bug related to calculating angular medians in the presence of NAs.

    • @@ -363,7 +382,7 @@

    -

    +

    circumplex 0.1.2 2018-08-06

    @@ -374,9 +393,9 @@

    ssm_plot() now uses dashed borders to indicate that a profile has low prototypicality/fit.

    -
    +

    -Minor improvements and fixes

    +Minor improvements and fixes
    • Fixed bug that prevented compilation on Solaris systems.

    • Fixed bug that prevented CRAN checks on old R versions.

    • @@ -386,7 +405,7 @@

    -

    +

    circumplex 0.1.1 2018-07-31

    @@ -397,9 +416,9 @@

    Package website added using pkgdown.

    -
    +

    -Minor improvements and fixes

    +Minor improvements and fixes
    • Fixed documentation to meet CRAN standards.
    @@ -407,7 +426,7 @@

    -

    +

    circumplex 0.1.0 Unreleased

      @@ -416,24 +435,10 @@

    - @@ -445,7 +450,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/pkgdown.css b/docs/pkgdown.css index 91459581..c01e5923 100644 --- a/docs/pkgdown.css +++ b/docs/pkgdown.css @@ -17,6 +17,10 @@ html, body { height: 100%; } +body { + position: relative; +} + body > .container { display: flex; height: 100%; @@ -67,6 +71,10 @@ summary { margin-top: calc(-60px + 1em); } +dd { + margin-left: 3em; +} + /* Section anchors ---------------------------------*/ a.anchor { @@ -100,29 +108,132 @@ a.anchor { margin-top: -40px; } +/* Navbar submenu --------------------------*/ + +.dropdown-submenu { + position: relative; +} + +.dropdown-submenu>.dropdown-menu { + top: 0; + left: 100%; + margin-top: -6px; + margin-left: -1px; + border-radius: 0 6px 6px 6px; +} + +.dropdown-submenu:hover>.dropdown-menu { + display: block; +} + +.dropdown-submenu>a:after { + display: block; + content: " "; + float: right; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; + border-width: 5px 0 5px 5px; + border-left-color: #cccccc; + margin-top: 5px; + margin-right: -10px; +} + +.dropdown-submenu:hover>a:after { + border-left-color: #ffffff; +} + +.dropdown-submenu.pull-left { + float: none; +} + +.dropdown-submenu.pull-left>.dropdown-menu { + left: -100%; + margin-left: 10px; + border-radius: 6px 0 6px 6px; +} + /* Sidebar --------------------------*/ -#sidebar { +#pkgdown-sidebar { margin-top: 30px; position: -webkit-sticky; position: sticky; top: 70px; } -#sidebar h2 { + +#pkgdown-sidebar h2 { font-size: 1.5em; margin-top: 1em; } -#sidebar h2:first-child { +#pkgdown-sidebar h2:first-child { margin-top: 0; } -#sidebar .list-unstyled li { +#pkgdown-sidebar .list-unstyled li { margin-bottom: 0.5em; } +/* bootstrap-toc tweaks ------------------------------------------------------*/ + +/* All levels of nav */ + +nav[data-toggle='toc'] .nav > li > a { + padding: 4px 20px 4px 6px; + font-size: 1.5rem; + font-weight: 400; + color: inherit; +} + +nav[data-toggle='toc'] .nav > li > a:hover, +nav[data-toggle='toc'] .nav > li > a:focus { + padding-left: 5px; + color: inherit; + border-left: 1px solid #878787; +} + +nav[data-toggle='toc'] .nav > .active > a, +nav[data-toggle='toc'] .nav > .active:hover > a, +nav[data-toggle='toc'] .nav > .active:focus > a { + padding-left: 5px; + font-size: 1.5rem; + font-weight: 400; + color: inherit; + border-left: 2px solid #878787; +} + +/* Nav: second level (shown on .active) */ + +nav[data-toggle='toc'] .nav .nav { + display: none; /* Hide by default, but at >768px, show it */ + padding-bottom: 10px; +} + +nav[data-toggle='toc'] .nav .nav > li > a { + padding-left: 16px; + font-size: 1.35rem; +} + +nav[data-toggle='toc'] .nav .nav > li > a:hover, +nav[data-toggle='toc'] .nav .nav > li > a:focus { + padding-left: 15px; +} + +nav[data-toggle='toc'] .nav .nav > .active > a, +nav[data-toggle='toc'] .nav .nav > .active:hover > a, +nav[data-toggle='toc'] .nav .nav > .active:focus > a { + padding-left: 15px; + font-weight: 500; + font-size: 1.35rem; +} + +/* orcid ------------------------------------------------------------------- */ + .orcid { - height: 16px; + font-size: 16px; + color: #A6CE39; /* margins are required by official ORCID trademark and display guidelines */ margin-left:4px; margin-right:4px; diff --git a/docs/pkgdown.js b/docs/pkgdown.js index 087a7622..7e7048fa 100644 --- a/docs/pkgdown.js +++ b/docs/pkgdown.js @@ -9,11 +9,6 @@ $('body').css('padding-top', $('.navbar').height() + 10); }); - $('body').scrollspy({ - target: '#sidebar', - offset: 60 - }); - $('[data-toggle="tooltip"]').tooltip(); var cur_path = paths(location.pathname); diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index e7af1fd3..2bd7220f 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -1,10 +1,11 @@ pandoc: 2.7.2 -pkgdown: 1.4.1 +pkgdown: 1.5.1 pkgdown_sha: ~ articles: intermediate-ssm-analysis: intermediate-ssm-analysis.html introduction-to-ssm-analysis: introduction-to-ssm-analysis.html using-instruments: using-instruments.html +last_built: 2020-04-30T00:15Z urls: reference: https://circumplex.jmgirard.com/reference article: https://circumplex.jmgirard.com/articles diff --git a/docs/reference/anchors.html b/docs/reference/anchors.html index acbc635b..dc7679a0 100644 --- a/docs/reference/anchors.html +++ b/docs/reference/anchors.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -53,7 +57,6 @@ anchors and each anchor's numerical value and text label. Anchors are the response options that respondants select from (e.g., 0 = No, 1 = Yes)." /> - @@ -71,7 +74,7 @@ - +
    @@ -238,15 +241,10 @@

    Examp #> 2. Moderate problem #> 3. Serious problem

    - @@ -257,7 +255,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/aw2009.html b/docs/reference/aw2009.html index 9c4a858c..8fb23cf7 100644 --- a/docs/reference/aw2009.html +++ b/docs/reference/aw2009.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -52,7 +56,6 @@ - @@ -70,7 +73,7 @@ - +
    @@ -210,7 +213,7 @@

    Standardized octant scores on hypothetical circumplex scales

    Format

    -

    A data frame with 5 observations and 8 variables:

    +

    A data frame with 5 observations and 8 variables:

    PA

    circumplex scale at 90 degrees

    BC

    circumplex scale at 135 degrees

    DE

    circumplex scale at 180 degrees

    @@ -221,18 +224,16 @@

    FormatNO

    circumplex scale at 45 degrees

    +

    Source

    https://doi.org/10.1080/00223890902935696

    - @@ -243,7 +244,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/circumplex-package.html b/docs/reference/circumplex-package.html index 556146b5..dc87dc5a 100644 --- a/docs/reference/circumplex-package.html +++ b/docs/reference/circumplex-package.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -51,7 +55,6 @@ - @@ -69,7 +72,7 @@ - +
    @@ -231,21 +234,10 @@

    See a

    - @@ -256,7 +248,7 @@

    Author

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/csie.html b/docs/reference/csie.html index cd6aff5e..fd2182f3 100644 --- a/docs/reference/csie.html +++ b/docs/reference/csie.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -51,7 +55,6 @@ - @@ -69,7 +72,7 @@ - +
    @@ -326,14 +329,10 @@

    Examp #> 17. I can get them to listen to what I have to say #> 25. I can be a leader

    - @@ -344,7 +343,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/csig.html b/docs/reference/csig.html index b5a0c136..2e3165aa 100644 --- a/docs/reference/csig.html +++ b/docs/reference/csig.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -51,7 +55,6 @@ - @@ -69,7 +72,7 @@ - +
    @@ -319,14 +322,10 @@

    Examp #> 19. They listen to what we have to say #> 27. They see us as responsible

    - @@ -337,7 +336,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/csip.html b/docs/reference/csip.html index 67ef513a..4e41b2c7 100644 --- a/docs/reference/csip.html +++ b/docs/reference/csip.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -51,7 +55,6 @@ - @@ -69,7 +72,7 @@ - +
    @@ -350,14 +353,10 @@

    Examp #> 19. They listen to what we have to say #> 27. They see us as responsible

    - @@ -368,7 +367,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/csiv.html b/docs/reference/csiv.html index b7434dbf..32c1d0e5 100644 --- a/docs/reference/csiv.html +++ b/docs/reference/csiv.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -51,7 +55,6 @@ - @@ -69,7 +72,7 @@ - +
    @@ -383,14 +386,10 @@

    Examp #> 54. That they see me as responsible #> 62. That they listen to what I have to say

    - @@ -401,7 +400,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/ggsave.html b/docs/reference/ggsave.html index 53a8f953..9b3cc8f6 100644 --- a/docs/reference/ggsave.html +++ b/docs/reference/ggsave.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -51,7 +55,6 @@ - @@ -69,7 +72,7 @@ - +
    @@ -210,11 +213,10 @@

    Save a ggplot with sensible defaults

    - @@ -225,7 +227,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/html_render.html b/docs/reference/html_render.html index 78d4130c..079bbe41 100644 --- a/docs/reference/html_render.html +++ b/docs/reference/html_render.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -51,7 +55,6 @@ - @@ -69,7 +72,7 @@ - +
    @@ -236,14 +239,10 @@

    See a ssm_table()

    - @@ -254,7 +253,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/igicr.html b/docs/reference/igicr.html index cc0b5cf4..4b293c5c 100644 --- a/docs/reference/igicr.html +++ b/docs/reference/igicr.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -52,7 +56,6 @@ - @@ -70,7 +73,7 @@ - +
    @@ -327,14 +330,10 @@

    Examp #> 24. You can state your opinion #> 32. You are able to tell your peers how you feel

    - @@ -345,7 +344,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/iip32.html b/docs/reference/iip32.html index 7fc452ad..d823bde4 100644 --- a/docs/reference/iip32.html +++ b/docs/reference/iip32.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -54,7 +58,6 @@ about the IIP-32, Mind Garden Inc. has exclusive rights to distribute it in full." /> - @@ -72,7 +75,7 @@ - +
    @@ -260,14 +263,10 @@

    Examp #> Horowitz, Alden, Wiggins, & Pincus (2003) #> <https://www.mindgarden.com/113-inventory-of-interpersonal-problems>

    - @@ -278,7 +277,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/iip64.html b/docs/reference/iip64.html index 9b700304..dff461ba 100644 --- a/docs/reference/iip64.html +++ b/docs/reference/iip64.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -53,7 +57,6 @@ that, although we have permission to provide some information about the IIP-64, Mind Garden Inc. has exclusive rights to distribute it in full." /> - @@ -71,7 +74,7 @@ - +
    @@ -258,14 +261,10 @@

    Examp #> Horowitz, Alden, Wiggins, & Pincus (2003) #> <https://www.mindgarden.com/113-inventory-of-interpersonal-problems>

    - @@ -276,7 +275,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/iipsc.html b/docs/reference/iipsc.html index 68f1b5ec..90406299 100644 --- a/docs/reference/iipsc.html +++ b/docs/reference/iipsc.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -52,7 +56,6 @@ - @@ -70,7 +73,7 @@ - +
    @@ -284,14 +287,10 @@

    Examp #> Soldz, Budman, Demby, & Merry (1995) #> <https://doi.org/10.1177/1073191195002001006>

    - @@ -302,7 +301,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/iis32.html b/docs/reference/iis32.html index 1a2722e8..63f09075 100644 --- a/docs/reference/iis32.html +++ b/docs/reference/iis32.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -52,7 +56,6 @@ - @@ -70,7 +73,7 @@ - +
    @@ -322,14 +325,10 @@

    Examp #> 12. I put myself out there in order to connect with others #> 32. I put other people at ease

    - @@ -340,7 +339,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/iis64.html b/docs/reference/iis64.html index aeeafb24..66662bbd 100644 --- a/docs/reference/iis64.html +++ b/docs/reference/iis64.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -51,7 +55,6 @@ - @@ -69,7 +72,7 @@ - +
    @@ -384,14 +387,10 @@

    Examp #> 63. I can make people laugh #> 64. I put other people at ease

    - @@ -402,7 +401,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/iitc.html b/docs/reference/iitc.html index 8e1bc1c7..909d3834 100644 --- a/docs/reference/iitc.html +++ b/docs/reference/iitc.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -51,7 +55,6 @@ - @@ -69,7 +72,7 @@ - +
    @@ -384,14 +387,10 @@

    Examp #> 56. Flattering them so they do it #> 64. Using charm to get my way

    - @@ -402,7 +401,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/index.html b/docs/reference/index.html index b6560f4a..400f3eae 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -50,7 +54,6 @@ - @@ -68,7 +71,7 @@ - +
    @@ -211,6 +214,11 @@

    Functions for importing and examining circumplex instruments

    @@ -255,6 +263,11 @@

    Functions for preparing data for analysis

    @@ -281,6 +294,11 @@

    Functions for implementing the Structural Summary Method

    @@ -319,6 +337,11 @@

    Functions for customizing SSM results

    @@ -351,6 +374,11 @@

    Functions that make your life easier

    @@ -377,6 +405,11 @@

    @@ -400,16 +433,10 @@

    - @@ -420,7 +447,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/instrument.html b/docs/reference/instrument.html index 20c54f8f..b920361d 100644 --- a/docs/reference/instrument.html +++ b/docs/reference/instrument.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -55,7 +59,6 @@ This function loads the information for a specific instrument into memory. See the instruments function to list all available instruments." /> - @@ -73,7 +76,7 @@ - +
    @@ -244,15 +247,10 @@

    Examp instrument("iip32") x <- instrument(iip32)

    - @@ -263,7 +261,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/instruments.html b/docs/reference/instruments.html index bf28d599..25bb9c2b 100644 --- a/docs/reference/instruments.html +++ b/docs/reference/instruments.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -53,7 +57,6 @@ instruments including instructions for scoring and standardizing items. Individual instruments can be loaded using the instrument function." /> - @@ -71,7 +74,7 @@ - +
    @@ -235,13 +238,10 @@

    Examp #> 12. IPIP-IPC: IPIP Interpersonal Circumplex (ipipipc) #> 13. ISC: Interpersonal Sensitivities Circumplex (isc)

    - @@ -252,7 +252,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/ipipipc.html b/docs/reference/ipipipc.html index a24a5fec..b1c2f332 100644 --- a/docs/reference/ipipipc.html +++ b/docs/reference/ipipipc.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -51,7 +55,6 @@ - @@ -69,7 +72,7 @@ - +
    @@ -318,14 +321,10 @@

    Examp #> 21. Talk to a lot of different people at parties #> 29. Love large parties

    - @@ -336,7 +335,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/ipsatize.html b/docs/reference/ipsatize.html index a1643fa7..191001c6 100644 --- a/docs/reference/ipsatize.html +++ b/docs/reference/ipsatize.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -54,7 +58,6 @@ This effectively removes the presence of a general factor, which can make certain circumplex fit analyses more powerful." /> - @@ -72,7 +75,7 @@ - +
    @@ -263,27 +266,22 @@

    Examp #> 8 1 0 1 0 1 1 2 1 1 0 0 0 1 #> 9 0 0 2 2 0 1 3 0 1 0 1 1 0 #> 10 0 0 0 0 0 0 2 0 0 0 0 0 0 -#> # … with 51 more variables: IIP14 <dbl>, IIP15 <dbl>, IIP16 <dbl>, IIP17 <dbl>, -#> # IIP18 <dbl>, IIP19 <dbl>, IIP20 <dbl>, IIP21 <dbl>, IIP22 <dbl>, -#> # IIP23 <dbl>, IIP24 <dbl>, IIP25 <dbl>, IIP26 <dbl>, IIP27 <dbl>, -#> # IIP28 <dbl>, IIP29 <dbl>, IIP30 <dbl>, IIP31 <dbl>, IIP32 <dbl>, -#> # IIP01_i <dbl>, IIP02_i <dbl>, IIP03_i <dbl>, IIP04_i <dbl>, IIP05_i <dbl>, -#> # IIP06_i <dbl>, IIP07_i <dbl>, IIP08_i <dbl>, IIP09_i <dbl>, IIP10_i <dbl>, -#> # IIP11_i <dbl>, IIP12_i <dbl>, IIP13_i <dbl>, IIP14_i <dbl>, IIP15_i <dbl>, -#> # IIP16_i <dbl>, IIP17_i <dbl>, IIP18_i <dbl>, IIP19_i <dbl>, IIP20_i <dbl>, -#> # IIP21_i <dbl>, IIP22_i <dbl>, IIP23_i <dbl>, IIP24_i <dbl>, IIP25_i <dbl>, -#> # IIP26_i <dbl>, IIP27_i <dbl>, IIP28_i <dbl>, IIP29_i <dbl>, IIP30_i <dbl>, -#> # IIP31_i <dbl>, IIP32_i <dbl>

    +#> # ... with 51 more variables: IIP14 <dbl>, IIP15 <dbl>, IIP16 <dbl>, +#> # IIP17 <dbl>, IIP18 <dbl>, IIP19 <dbl>, IIP20 <dbl>, IIP21 <dbl>, +#> # IIP22 <dbl>, IIP23 <dbl>, IIP24 <dbl>, IIP25 <dbl>, IIP26 <dbl>, +#> # IIP27 <dbl>, IIP28 <dbl>, IIP29 <dbl>, IIP30 <dbl>, IIP31 <dbl>, +#> # IIP32 <dbl>, IIP01_i <dbl>, IIP02_i <dbl>, IIP03_i <dbl>, IIP04_i <dbl>, +#> # IIP05_i <dbl>, IIP06_i <dbl>, IIP07_i <dbl>, IIP08_i <dbl>, IIP09_i <dbl>, +#> # IIP10_i <dbl>, IIP11_i <dbl>, IIP12_i <dbl>, IIP13_i <dbl>, IIP14_i <dbl>, +#> # IIP15_i <dbl>, IIP16_i <dbl>, IIP17_i <dbl>, IIP18_i <dbl>, IIP19_i <dbl>, +#> # IIP20_i <dbl>, IIP21_i <dbl>, IIP22_i <dbl>, IIP23_i <dbl>, IIP24_i <dbl>, +#> # IIP25_i <dbl>, IIP26_i <dbl>, IIP27_i <dbl>, IIP28_i <dbl>, IIP29_i <dbl>, +#> # IIP30_i <dbl>, IIP31_i <dbl>, IIP32_i <dbl> - @@ -294,7 +292,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/isc.html b/docs/reference/isc.html index b14989b2..b26b941b 100644 --- a/docs/reference/isc.html +++ b/docs/reference/isc.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -51,7 +55,6 @@ - @@ -69,7 +72,7 @@ - +
    @@ -386,14 +389,10 @@

    Examp #> 56. Tries to show me how to do things #> 64. Takes control

    - @@ -404,7 +403,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/items.html b/docs/reference/items.html index f97ead2f..fecbfafa 100644 --- a/docs/reference/items.html +++ b/docs/reference/items.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -53,7 +57,6 @@ items and each item's number and text. The item ordering/numbering displayed here is the same ordering/numbering assumed by the score() function." /> - @@ -71,7 +74,7 @@ - +
    @@ -298,15 +301,10 @@

    Examp #> 63. Getting too attached to others #> 64. Needing to be the center of attention

    - @@ -317,7 +315,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/jz2017.html b/docs/reference/jz2017.html index e858fe47..8e731e10 100644 --- a/docs/reference/jz2017.html +++ b/docs/reference/jz2017.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -53,7 +57,6 @@ of Interpersonal Problems - Short Circumplex (IIP-SC), and raw sum scores on the Personality Diagnostic Questionnaire - 4th Edition Plus (PDQ-4+)." /> - @@ -71,7 +74,7 @@ - +
    @@ -212,7 +215,7 @@

    Raw octant scores on real circumplex scales with covariates

    Format

    -

    A data frame with 1166 observations and 19 variables:

    +

    A data frame with 1166 observations and 19 variables:

    Gender

    Self-reported Gender

    PA

    Domineering Problems (IIP-SC) 90 degrees

    BC

    Vindictive Problems (IIP-SC) 135 degrees

    @@ -234,18 +237,16 @@

    FormatOCPD

    Obsessive-Compulsive PD Symptoms (PDQ-4+)

    +

    Source

    https://doi.org/10.1177/1073191115621795

    - @@ -256,7 +257,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/mutate.html b/docs/reference/mutate.html index 9ff1bf7c..7779662b 100644 --- a/docs/reference/mutate.html +++ b/docs/reference/mutate.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -51,7 +55,6 @@ - @@ -69,7 +72,7 @@ - +
    @@ -210,12 +213,10 @@

    Details

    See mutate for details.

    - @@ -226,7 +227,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/norms.html b/docs/reference/norms.html index 3148ad36..1d7ce77b 100644 --- a/docs/reference/norms.html +++ b/docs/reference/norms.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -54,7 +58,6 @@ population, and source reference and hyperlink. If another normative data set exists that is not yet included in the package, please let us know." /> - @@ -72,7 +75,7 @@ - +
    @@ -239,15 +242,10 @@

    Examp #> Boudreaux, Ozer, Oltmanns, & Wright (2018) #> <https://doi.org/10.1037/pas0000505>

    - @@ -258,7 +256,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/octants.html b/docs/reference/octants.html index af16f636..43ae1d37 100644 --- a/docs/reference/octants.html +++ b/docs/reference/octants.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -53,7 +57,6 @@ spaced circumplex scales corresponding to the circumplex octants. Can be passed to the angles parameter of other functions in this package." /> - @@ -71,7 +74,7 @@ - +
    @@ -221,13 +224,10 @@

    Examp #> attr(,"class") #> [1] "circumplex_degree" "numeric"

    - @@ -238,7 +238,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/pipe.html b/docs/reference/pipe.html index 1851dcc3..2ea5818d 100644 --- a/docs/reference/pipe.html +++ b/docs/reference/pipe.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -52,7 +56,6 @@ - @@ -70,7 +73,7 @@ - +
    @@ -212,11 +215,10 @@

    Pipe operator

    - @@ -227,7 +229,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/poles.html b/docs/reference/poles.html index e7c1d74f..498f98c8 100644 --- a/docs/reference/poles.html +++ b/docs/reference/poles.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -53,7 +57,6 @@ circumplex scales corresponding to the circumplex poles. Can be passed to the angles parameter of other functions in this package." /> - @@ -71,7 +74,7 @@ - +
    @@ -221,13 +224,10 @@

    Examp #> attr(,"class") #> [1] "circumplex_degree" "numeric"

    - @@ -238,7 +238,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/quadrants.html b/docs/reference/quadrants.html index 1e3de407..0b8ec2c4 100644 --- a/docs/reference/quadrants.html +++ b/docs/reference/quadrants.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -53,7 +57,6 @@ circumplex scales corresponding to the circumplex quadrants. Can be passed to the angles parameter of other functions in this package." /> - @@ -71,7 +74,7 @@ - +
    @@ -221,13 +224,10 @@

    Examp #> attr(,"class") #> [1] "circumplex_degree" "numeric"

    - @@ -238,7 +238,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/raw_iipsc.html b/docs/reference/raw_iipsc.html index 3dc2d1aa..31313048 100644 --- a/docs/reference/raw_iipsc.html +++ b/docs/reference/raw_iipsc.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -53,7 +57,6 @@ Interpersonal Problems, Short Circumplex (IIP-SC). This data set is useful for testing functions that operate on item-level data." /> - @@ -71,7 +74,7 @@ - +
    @@ -215,12 +218,10 @@

    FormatA data frame with 10 observations and 32 variables.

    - @@ -231,7 +232,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/scales.html b/docs/reference/scales.html index 288a8ff6..3361b45d 100644 --- a/docs/reference/scales.html +++ b/docs/reference/scales.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -52,7 +56,6 @@ - @@ -70,7 +73,7 @@ - +
    @@ -317,15 +320,10 @@

    Examp #> 56. Confronting people too quickly about problems #> 64. Needing to be the center of attention

    - @@ -336,7 +334,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/score.html b/docs/reference/score.html index d42d1eb3..bf262831 100644 --- a/docs/reference/score.html +++ b/docs/reference/score.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -53,7 +57,6 @@ set of scoring instructions, which may be loaded from the package or created as a custom data frame." /> - @@ -71,7 +74,7 @@ - +
    @@ -273,21 +276,17 @@

    Examp #> 8 1 0 1 0 1 1 2 1 1 0 0 0 1 #> 9 0 0 2 2 0 1 3 0 1 0 1 1 0 #> 10 0 0 0 0 0 0 2 0 0 0 0 0 0 -#> # … with 27 more variables: IIP14 <dbl>, IIP15 <dbl>, IIP16 <dbl>, IIP17 <dbl>, -#> # IIP18 <dbl>, IIP19 <dbl>, IIP20 <dbl>, IIP21 <dbl>, IIP22 <dbl>, -#> # IIP23 <dbl>, IIP24 <dbl>, IIP25 <dbl>, IIP26 <dbl>, IIP27 <dbl>, -#> # IIP28 <dbl>, IIP29 <dbl>, IIP30 <dbl>, IIP31 <dbl>, IIP32 <dbl>, PA <dbl>, -#> # BC <dbl>, DE <dbl>, FG <dbl>, HI <dbl>, JK <dbl>, LM <dbl>, NO <dbl>

    +#> # ... with 27 more variables: IIP14 <dbl>, IIP15 <dbl>, IIP16 <dbl>, +#> # IIP17 <dbl>, IIP18 <dbl>, IIP19 <dbl>, IIP20 <dbl>, IIP21 <dbl>, +#> # IIP22 <dbl>, IIP23 <dbl>, IIP24 <dbl>, IIP25 <dbl>, IIP26 <dbl>, +#> # IIP27 <dbl>, IIP28 <dbl>, IIP29 <dbl>, IIP30 <dbl>, IIP31 <dbl>, +#> # IIP32 <dbl>, PA <dbl>, BC <dbl>, DE <dbl>, FG <dbl>, HI <dbl>, JK <dbl>, +#> # LM <dbl>, NO <dbl> - @@ -298,7 +297,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/select.html b/docs/reference/select.html index d5babd8e..ef1700e2 100644 --- a/docs/reference/select.html +++ b/docs/reference/select.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -51,7 +55,6 @@ - @@ -69,7 +72,7 @@ - +
    @@ -210,12 +213,10 @@

    Details

    See select for details.

    - @@ -226,7 +227,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/ssm_analyze.html b/docs/reference/ssm_analyze.html index 477d554e..b1aef620 100644 --- a/docs/reference/ssm_analyze.html +++ b/docs/reference/ssm_analyze.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -55,7 +59,6 @@ groups will be used to stratify the data, and contrasts between groups or measures will be calculated." /> - @@ -73,7 +76,7 @@ - +
    @@ -453,15 +456,10 @@

    Examp

    - @@ -472,7 +470,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/ssm_append.html b/docs/reference/ssm_append.html index 8d1da6d3..b1b4bc7a 100644 --- a/docs/reference/ssm_append.html +++ b/docs/reference/ssm_append.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -51,7 +55,6 @@ - @@ -69,7 +72,7 @@ - +
    @@ -297,19 +300,14 @@

    Examp #> </table>

    #> # A tibble: 3 x 7 #> Profile Elevation `X-Value` `Y-Value` Amplitude Displacement Fit #> <chr> <chr> <chr> <chr> <chr> <chr> <chr> -#> 1 All 0.92 [0.89,… 0.35 [0.32… -0.25 [-0.2… 0.43 [0.40… 324.3 [320.8,… 0.878 -#> 2 Female 0.95 [0.91,… 0.46 [0.42… -0.31 [-0.3… 0.55 [0.51… 326.0 [322.1,… 0.889 -#> 3 Male 0.88 [0.84,… 0.23 [0.19… -0.19 [-0.2… 0.29 [0.26… 320.7 [313.5,… 0.824
    +#> 1 All 0.92 [0.89,~ 0.35 [0.32~ -0.25 [-0.2~ 0.43 [0.40~ 324.3 [320.8,~ 0.878 +#> 2 Female 0.95 [0.91,~ 0.46 [0.42~ -0.31 [-0.3~ 0.55 [0.51~ 326.0 [322.1,~ 0.889 +#> 3 Male 0.88 [0.84,~ 0.23 [0.19~ -0.19 [-0.2~ 0.29 [0.26~ 320.7 [313.5,~ 0.824 - @@ -320,7 +318,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/ssm_parameters.html b/docs/reference/ssm_parameters.html index 6c59fa5b..4487b069 100644 --- a/docs/reference/ssm_parameters.html +++ b/docs/reference/ssm_parameters.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -55,7 +59,6 @@ returns only the parameters. See ssm_score() for a similar function that calculates SSM parameters for each row of a data frame." /> - @@ -73,7 +76,7 @@ - +
    @@ -313,15 +316,10 @@

    Examp #> 1 0.914 0.351 -0.252 0.432 324. 0.878

    - @@ -332,7 +330,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/ssm_plot.html b/docs/reference/ssm_plot.html index f183c50c..168d9a0b 100644 --- a/docs/reference/ssm_plot.html +++ b/docs/reference/ssm_plot.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -51,7 +55,6 @@ - @@ -69,7 +72,7 @@ - +
    @@ -256,15 +259,10 @@

    Examp p <- ssm_plot(res) # }

    - @@ -275,7 +273,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/ssm_plot_circle.html b/docs/reference/ssm_plot_circle.html index 386072d1..c17e1674 100644 --- a/docs/reference/ssm_plot_circle.html +++ b/docs/reference/ssm_plot_circle.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -53,7 +57,6 @@ point and interval estimate for each row (e.g., group or measure) in a circular space quantified by displacement and amplitude." /> - @@ -71,7 +74,7 @@ - +
    @@ -240,13 +243,10 @@

    Value

    A ggplot variable containing a completed circular plot.

    - @@ -257,7 +257,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/ssm_plot_contrast.html b/docs/reference/ssm_plot_contrast.html index 293d940c..48f08902 100644 --- a/docs/reference/ssm_plot_contrast.html +++ b/docs/reference/ssm_plot_contrast.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -53,7 +57,6 @@ contrasts and plot the point and interval estimates for each parameter's contrast (e.g., between groups or measures)." /> - @@ -71,7 +74,7 @@ - +
    @@ -256,13 +259,10 @@

    Value

    parameter. An interval that does not contain the value of zero has p<.05.

    - @@ -273,7 +273,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/ssm_score.html b/docs/reference/ssm_score.html index e88fff97..89f6a352 100644 --- a/docs/reference/ssm_score.html +++ b/docs/reference/ssm_score.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -54,7 +58,6 @@ description or visualization of individual data points rather than for statistical inference on groups of data points." /> - @@ -72,7 +75,7 @@ - +
    @@ -267,15 +270,10 @@

    Examp #> 5 0.6015880 316.75861 0.9674101

    - @@ -286,7 +284,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/ssm_table.html b/docs/reference/ssm_table.html index 5f1fd89e..90bb2dea 100644 --- a/docs/reference/ssm_table.html +++ b/docs/reference/ssm_table.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -52,7 +56,6 @@ - @@ -70,7 +73,7 @@ - +
    @@ -294,8 +297,8 @@

    Examp #> </table>

    #> # A tibble: 2 x 7 #> Profile Elevation `X-Value` `Y-Value` Amplitude Displacement Fit #> <chr> <chr> <chr> <chr> <chr> <chr> <chr> -#> 1 NARPD 0.20 [0.17,… -0.06 [-0.1… 0.18 [0.14… 0.19 [0.15… 109.0 [99.4, … 0.957 -#> 2 ASPD 0.12 [0.09,… -0.10 [-0.1… 0.20 [0.17… 0.23 [0.19… 115.9 [107.6,… 0.964
    +#> 1 NARPD 0.20 [0.17,~ -0.06 [-0.1~ 0.18 [0.14~ 0.19 [0.15~ 109.0 [99.4, ~ 0.957 +#> 2 ASPD 0.12 [0.09,~ -0.10 [-0.1~ 0.20 [0.17~ 0.23 [0.19~ 115.9 [107.6,~ 0.964
    # Create table of contrast results res <- ssm_analyze(jz2017, scales = PA:NO, angles = octants(), @@ -327,22 +330,17 @@

    Examp #> </tr> #> </tbody> #> </table>

    #> # A tibble: 1 x 7 -#> Contrast `&Delta; Elevat… `&Delta; X-Valu… `&Delta; Y-Valu… `&Delta; Amplit… +#> Contrast `&Delta; Elevat~ `&Delta; X-Valu~ `&Delta; Y-Valu~ `&Delta; Amplit~ #> <chr> <chr> <chr> <chr> <chr> -#> 1 ASPD - … -0.08 [-0.11, -… -0.04 [-0.08, -… 0.02 [-0.01, 0.… 0.04 [-0.00, 0.… -#> # … with 2 more variables: `&Delta; Displacement` <chr>, `&Delta; Fit` <chr>
    # } +#> 1 ASPD - ~ -0.08 [-0.11, -~ -0.04 [-0.08, -~ 0.02 [-0.01, 0.~ 0.04 [-0.00, 0.~ +#> # ... with 2 more variables: `&Delta; Displacement` <chr>, `&Delta; Fit` <chr>
    # }
    - @@ -353,7 +351,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/standardize.html b/docs/reference/standardize.html index 872a5329..a61bf087 100644 --- a/docs/reference/standardize.html +++ b/docs/reference/standardize.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -54,7 +58,6 @@ data frame with each specified circumplex scale transformed into standard scores (i.e., z-scores) based on comparison to the normative data." /> - @@ -72,7 +75,7 @@ - +
    @@ -289,20 +292,15 @@

    Examp #> 8 Female 0 0.25 0.25 0.25 1 1.25 1.25 1 0 0 1 #> 9 Female 0 0 0 0 0.25 0.25 1 0 0 1 0 #> 10 Male 0.75 2 1.75 2.5 2 1.5 2 2.25 4 5 5 -#> # … with 1,156 more rows, and 15 more variables: ASPD <int>, BORPD <int>, -#> # HISPD <int>, NARPD <int>, AVPD <int>, DPNPD <int>, OCPD <int>, PA_z <dbl>, -#> # BC_z <dbl>, DE_z <dbl>, FG_z <dbl>, HI_z <dbl>, JK_z <dbl>, LM_z <dbl>, -#> # NO_z <dbl>

    +#> # ... with 1,156 more rows, and 15 more variables: ASPD <int>, BORPD <int>, +#> # HISPD <int>, NARPD <int>, AVPD <int>, DPNPD <int>, OCPD <int>, PA_z <dbl>, +#> # BC_z <dbl>, DE_z <dbl>, FG_z <dbl>, HI_z <dbl>, JK_z <dbl>, LM_z <dbl>, +#> # NO_z <dbl> - @@ -313,7 +311,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.

    diff --git a/docs/reference/tidyeval.html b/docs/reference/tidyeval.html index c65f6def..f83e58dc 100644 --- a/docs/reference/tidyeval.html +++ b/docs/reference/tidyeval.html @@ -17,23 +17,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -42,7 +46,7 @@ - + @@ -83,7 +87,6 @@ Metaprogramming section of Advanced R." /> - @@ -101,7 +104,7 @@ - +
    @@ -271,11 +274,10 @@

    Tidy eval helpers

    - @@ -286,7 +288,7 @@

    Contents

    -

    Site built with pkgdown 1.4.1.

    +

    Site built with pkgdown 1.5.1.