fp_msd_class | R Documentation |
base function for the fp_msd_class suite, recommend using fp_msd_class2. given an independent variable and a class variable creates a dataframe that is a cross tabulation of the two with values being 'out of' the class variable columns
fp_msd_class(indvar, classvar, fp = TRUE, funct1 = "mean", funct2 = "sd")
indvar |
independent variable to be split across the class variable. usually presented in the form data$variable |
classvar |
class variable used to split the indvar. usually presented in the form data$variable |
fp |
boolean indicating if the requested result should be frequency(percent). Default is TRUE |
funct1 |
the first function to use (i.e. outside the parentheses) if fp='FALSE'. default is 'mean' |
funct2 |
the second function to use (i.e. inside the parentheses) if fp='FALSE'. default is 'sd' |
fp_msd_class_function()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.