Title: | Integration of 'dplyr' and 'ggplot2' with 'EdSurvey' |
---|---|
Description: | Takes objects of class edsurvey.data.frame and converts them to a data.frame within the calling environment of 'dplyr' and 'ggplot2' functions. Additionally, for plotting with 'ggplot2', users can map aesthetics to subject scales and all plausible values will be used. This package supports student level data; to work with school or teacher level data, see '?EdSurvey::getData'. |
Authors: | Blue Webb [aut, cre] |
Maintainer: | Blue Webb <[email protected]> |
License: | GPL-2 |
Version: | 0.1.3 |
Built: | 2025-03-05 05:03:29 UTC |
Source: | https://github.com/cran/tidyEdSurvey |
edsurvey.data.frame
to Search PathImplements attach
for an edsurvey.data.frame
or a light.edsurvey.data.frame
by attaching student level variables to the search path
attach( what, pos = 2L, name = deparse1(substitute(what), backtick = FALSE), warn.conflicts = TRUE )
attach( what, pos = 2L, name = deparse1(substitute(what), backtick = FALSE), warn.conflicts = TRUE )
what |
equivalent to 'what' in |
pos |
equivalent to 'pos' in |
name |
equivalent to 'name' in |
warn.conflicts |
equivalent to 'warn.conflicts' in |
Because attach
is a standard generic function that does not use method dispatch, we set this function as generic,
which means it overwrites base::attach
on loading. If the object to attach is not an edsurvey.data.frame
or a light.edsurvey.data.frame
,
the function will revert to the standard base
method.
the environment is returned invisibly with a "name" attribute
Blue Webb