updateFrameMatrixFromDF | R Documentation |
frameMatrix
from an external source.Update frameMatrix
from an external source.
updateFrameMatrixFromDF(frameMatrix, changeDF)
frameMatrix |
The |
changeDF |
The data frame containing new values. |
An updated frameMatrix. The lower triangular matrix of frameMatrix
will be read,
and the values will be flipped (e.g. 'group-inidividual' becomes 'individual-group')
and subsequently added to the upper triangular matrix.
sbc007 = undupeLayers(sbc007, "trail", "name")
sbc007 = addFrameMatrix(sbc007)
#(After exporting the frame matrix and editing it)
inpath = system.file("extdata", "rez007_frame_edited.csv", package = "rezonateR")
newFrame = rez_read_csv(inpath, origDF = frameMatrix(sbc007))
frameMatrix(sbc007) = updateFrameMatrixFromDF(frameMatrix(rez007), newFrame)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.