Package ‘RSA’March 23, 2015Encoding UTF-8Type PackageTitle Response Surface AnalysisVersion 0.9.8Date 2015-03-23Author Felix SchönbrodtMaintainer Feli
10 motconSee AlsoRSA, compareExamples## Not run:data(motcon)r.m <- RSA(postVA~ePow*iPow, motcon)c1 <- compare(r.m)modeltree(c1)## End(Not run)mo
motcon2 11motcon2 Another data set on motive congruence.DescriptionA dataset containing the explicit intimacy motive, implicit affiliation/intimacy mot
12 movieRSAArgumentsname Name for the subfolder containing all still pictures, and for the final movie file.frames A list of lists: Each list contains p
plotRSA 13plotRSA Plots a response surface of a polynomial equation of second degreeDescriptionPlots an RSA object, or a response surface with specifie
14 plotRSAmodel If x is an RSA object: from which model should the response surface be com-puted?xlim Limits of the x axisylim Limits of the y axiszli
plotRSA 15• data: Data frame which contains the coordinates of the raw data points.First column = x, second = y, third = z. This data frame is automat
16 plotRSApal.range Should the color range be scaled to the box (pal.range = "box", default), orto the min and max of the surface (pal.range
residuals.RSA 17df <- data.frame(x, y)df <- within(df, {diff <- x-yabsdiff <- abs(x-y)SD <- (x-y)^2z.diff <- diff + rnorm(n, 0, err)
18 RSAArgumentsformula A formula in the form z ~ x*y, specifying the variable names used from thedata frame, where z is the name of the response varia
RSA 19the other variables are modeled. WARNING: This feature is not implementedyet!DetailsEven if the main variables of the model are normally distirb
2 aictabfitted.RSA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8getPar . . . . . . . . . . . . . . . . . . . .
20 RSA.STr.m <- RSA(postVA~ePow*iPow, motcon)# Get boostrapped CIs with 10 bootstrap samples (usually this should be set to 5000 or higher),# only
RSA.ST 21df Degrees of freedom for the calculation of a1 to a4 confidence intervals. The dfare the residual dfs of the model (df = n - estimated parame
22 RSA.STSD <- (x-y)^2z.diff <- diff + rnorm(n, 0, err)z.abs <- absdiff + rnorm(n, 0, err)z.sq <- SD + rnorm(n, 0, err)z.add <- diff +
Index∗Topic datasetsmotcon, 10motcon2, 11aictab, 2, 2colorRampPalette, 15compare, 3, 9, 10, 19compare2, 4confint (confint.RSA), 4confint.RSA, 4, 18, 1
compare 3AICcWt The Akaike weights, also termed "model probabilities" by Burnham and Anderson (2002).Indicates the level of support (i.e., w
4 confint.RSAcompare2 Compare two specific RSA modelsDescriptionCompare several fit indexes of two models computed from the RSA functionUsagecompare2(x,
confint.RSA 5Argumentsobject An RSA objectparm Not used.level The confidence level required... Additional parameters passed to the bootstrapLavaan func
6 demoRSAdemoRSA Plots a response surface of a polynomial equation of second degreewith interactive controlsDescriptionPlots an RSA object, or a respo
demoRSA 7points A list of parameters which define the appearance of the raw scatter points: show= TRUE: Should the original data points be overplotted?
8 getPardemoRSA(r1, points=TRUE, model="SQD")## End(Not run)fitted.RSA Return fitted values of a RSA modelDescriptionReturn fitted values of a
modeltree 9See AlsoRSAExamplesset.seed(0xBEEF)n <- 300err <- 2x <- rnorm(n, 0, 5)y <- rnorm(n, 0, 5)df <- data.frame(x, y)df <- with
Komentáře k této Příručce