diff --git a/docs/news/index.html b/docs/news/index.html index b812850..ecbe602 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -35,7 +35,9 @@
rewb_at()
is a convenience wrapper for mean_at()
, group_mean_center_at()
, and center_at()
. It’s useful for preparing data for a random effects, within-between (REWB) panel analysis.rewb_at()
is a convenience wrapper for mean_at()
, group_mean_center_at()
, and center_at()
. It’s useful for preparing data for a random effects, within-between (REWB) panel analysis.
+linloess_plot()
now has a special print class for suppressing warnings that come from the LOESS smoother. Additionally, there is a suppress_warnings
argument in this function.CRAN release: 2024-08-23
diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 9dd9cca..2632909 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -2,7 +2,7 @@ pandoc: 3.1.1 pkgdown: 2.1.1 pkgdown_sha: ~ articles: {} -last_built: 2025-01-22T18:13Z +last_built: 2025-01-30T10:31Z urls: reference: http://svmiller.com/reference article: http://svmiller.com/articles diff --git a/docs/reference/at.html b/docs/reference/at.html index f17fbe3..b6f476c 100644 --- a/docs/reference/at.html +++ b/docs/reference/at.html @@ -69,7 +69,9 @@Applicable only to rewb_at
, but specifies prefix for
+so-called "within" variables created by this procedure. Defaults to "w".
Applicable only to rewb_at
, but specifies prefix for
+so-called "between" variables created by this procedure. Defaults to "b".
z_
. Note the rescaling here is by
two standard deviations and not one. The default prefix ("z") can be
changed by way of an argument in the function.
+rewb_at
is a wrapper for routines done by mean_at
,
+group_mean_center_at
, and center_at
in this package. It
+implicitly assumes the data are a panel and runs these three routines in order
+to create so-called "between" and "within" variables for a "random effects,
+within-between" analysis. Means are calculated based on available data, so
+there is no na
argument available in this function. The function will fail
+in the presence of variables in the data matching those that this routine
+wants to create.
All functions, except for lag_at
, will fail in the absence of a
character vector of a length of one. They are intended to work across multiple
columns instead of just one. If you are wanting to create one new variable,
diff --git a/docs/reference/index.html b/docs/reference/index.html
index 7dbd361..b983bc6 100644
--- a/docs/reference/index.html
+++ b/docs/reference/index.html
@@ -44,7 +44,7 @@
diff_at()
group_mean_center_at()
lag_at()
log_at()
mean_at()
r1sd_at()
r2sd_at()
+ center_at()
diff_at()
group_mean_center_at()
lag_at()
log_at()
mean_at()
r1sd_at()
r2sd_at()
rewb_at()
linloess_plot()
print(<linloess>)
logical, defaults to TRUE
. If TRUE
, gives standard
-error estimates with the assorted smoothers.
resid
is TRUE
,
+there is no standard error for a flat line at 0.
logical, defaults to TRUE
. If TRUE
,
+the plot suppresses assorted warnings from the LOESS smoother that would
+otherwise be cautioning you about things your eyes could otherwise see.
optional parameters, passed to the scatterplot
-(geom_point()
) component of this function. Useful if you want to make
-the smoothers more legible against the points.
additional arguments (ignored)
a ggplot object with this special 'linloess' class
-M1 <- lm(mpg ~ ., data=mtcars)
+M1 <- lm(mpg ~ am + carb + disp, data=mtcars)
linloess_plot(M1)
#> `geom_smooth()` using formula = 'y ~ x'
#> `geom_smooth()` using formula = 'y ~ x'
-#> Warning: pseudoinverse used at -0.005
-#> Warning: neighborhood radius 1.005
-#> Warning: reciprocal condition number 0
-#> Warning: There are other near singularities as well. 1.01
-#> Warning: pseudoinverse used at -0.005
-#> Warning: neighborhood radius 1.005
-#> Warning: reciprocal condition number 0
-#> Warning: There are other near singularities as well. 1.01
-#> Warning: pseudoinverse used at 4
-#> Warning: neighborhood radius 2
-#> Warning: reciprocal condition number 1.8444e-17
-#> Warning: pseudoinverse used at 4
-#> Warning: neighborhood radius 2
-#> Warning: reciprocal condition number 1.8444e-17
-#> Warning: pseudoinverse used at 3.98
-#> Warning: neighborhood radius 4.02
-#> Warning: reciprocal condition number 6.1406e-17
-#> Warning: There are other near singularities as well. 16.16
-#> Warning: pseudoinverse used at 3.98
-#> Warning: neighborhood radius 4.02
-#> Warning: reciprocal condition number 6.1406e-17
-#> Warning: There are other near singularities as well. 16.16
-#> Warning: pseudoinverse used at 2.99
-#> Warning: neighborhood radius 1.01
-#> Warning: reciprocal condition number 0
-#> Warning: There are other near singularities as well. 4.0401
-#> Warning: pseudoinverse used at 2.99
-#> Warning: neighborhood radius 1.01
-#> Warning: reciprocal condition number 0
-#> Warning: There are other near singularities as well. 4.0401
-#> Warning: pseudoinverse used at -0.005
-#> Warning: neighborhood radius 1.005
-#> Warning: reciprocal condition number 0
-#> Warning: There are other near singularities as well. 1.01
-#> Warning: pseudoinverse used at -0.005
-#> Warning: neighborhood radius 1.005
-#> Warning: reciprocal condition number 0
-#> Warning: There are other near singularities as well. 1.01
linloess_plot(M1, color="black", pch=21)
#> `geom_smooth()` using formula = 'y ~ x'
#> `geom_smooth()` using formula = 'y ~ x'
-#> Warning: pseudoinverse used at -0.005
-#> Warning: neighborhood radius 1.005
-#> Warning: reciprocal condition number 0
-#> Warning: There are other near singularities as well. 1.01
-#> Warning: pseudoinverse used at -0.005
-#> Warning: neighborhood radius 1.005
-#> Warning: reciprocal condition number 0
-#> Warning: There are other near singularities as well. 1.01
-#> Warning: pseudoinverse used at 4
-#> Warning: neighborhood radius 2
-#> Warning: reciprocal condition number 1.8444e-17
-#> Warning: pseudoinverse used at 4
-#> Warning: neighborhood radius 2
-#> Warning: reciprocal condition number 1.8444e-17
-#> Warning: pseudoinverse used at 3.98
-#> Warning: neighborhood radius 4.02
-#> Warning: reciprocal condition number 6.1406e-17
-#> Warning: There are other near singularities as well. 16.16
-#> Warning: pseudoinverse used at 3.98
-#> Warning: neighborhood radius 4.02
-#> Warning: reciprocal condition number 6.1406e-17
-#> Warning: There are other near singularities as well. 16.16
-#> Warning: pseudoinverse used at 2.99
-#> Warning: neighborhood radius 1.01
-#> Warning: reciprocal condition number 0
-#> Warning: There are other near singularities as well. 4.0401
-#> Warning: pseudoinverse used at 2.99
-#> Warning: neighborhood radius 1.01
-#> Warning: reciprocal condition number 0
-#> Warning: There are other near singularities as well. 4.0401
-#> Warning: pseudoinverse used at -0.005
-#> Warning: neighborhood radius 1.005
-#> Warning: reciprocal condition number 0
-#> Warning: There are other near singularities as well. 1.01
-#> Warning: pseudoinverse used at -0.005
-#> Warning: neighborhood radius 1.005
-#> Warning: reciprocal condition number 0
-#> Warning: There are other near singularities as well. 1.01
+