
Last chance! 50% off unlimited learning
Sale ends in
Generate a vector field plot based on the bivariate lcsm
ramVF(ramout, ylim, xlim, ninterval=10, scale=.1, length=.25,
scatter=TRUE, n=20, alpha=.95, ...)
Output from the ramBLCS function
Range of y data, for example, c(0,80) from 0 to 80
Range of x data, for example, c(0,80) from 0 to 80
Number of intervals for plotting. The default is 10.
Time interval to calculate vector fields.
The length of arrows to plot
Whether to plot the data points
The number of data points to be plotted
The confidence level to calculate the ellipse
Options for plot and arrows function.
Zhang, Z., Hamagami, F., Grimm, K. J., & McArdle, J. J. (2015). Using R package RAMpath for tracing SEM path diagrams and conducting complex longitudinal data analysis. Structural Equation Modeling, 22(1), 132-147. https://doi.org/10.1080/10705511.2014.935257
data(ex3)
test.blcs<-ramBLCS(ex3, 1:6, 7:12, ram.out=TRUE)
ramVF(test.blcs, c(0,80),c(0,80), length=.05, xlab='X', ylab='Y',scale=.5, ninterval=9)
Run the code above in your browser using DataLab