'Rockchalk Graph save as svg in R
So I got a beginners question for you.
I'm using the rockchalk package to generate a graph for my moderation analysis. Everything works. Nice.
But now I'm looking for a way to save that graph as an .svg file and I can't figure out how. I can't even find a way to save it as an png file.
Here is the code for the graph:
data = foreign::read.spss("C:/mydataset.sav", use.value.label=FALSE, to.data.frame=TRUE)
moderation = lm(SK_Zoomfatigue_T3 ~ Sk_StaffCare_SE_T3 + Sk_HO_Leistung_SE_T3 + Sk_StaffCare_SE_T3 * Sk_HO_Leistung_SE_T3, data)
m1ps <- plotSlopes(moderation, modx = "Sk_StaffCare_SE_T3", plotx = "Sk_HO_Leistung_SE_T3", n=2, modxVals="std.dev.", plotPoints = FALSE)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
