AddPRecording | R Documentation |
Adds a PRecording to an existing PCollection
AddPRecording(
X,
PRecording,
Names = if (is.list(PRecording)) {
lapply(PRecording, function(x)
x@RecordingParams@Filename)
} else {
PRecording@RecordingParams@Filename
},
Group = "Generic"
)
X |
A PRecording object |
PRecording |
a PRecording object, or list of PRecording objects. |
Names |
Name(s) for imported PRecording(s). Standard is the source file name as stored in the added a PRecording(s). |
Group |
Group variable or list thereof, of the same length as PRecording |
A PCollection object
# create a PCollection for testing
SampleCollection<-NewPCollection(SampleData,Names="A")
SampleCollection
# now add a PRecording
SampleCollection<-AddPRecording(SampleCollection, SampleData)
SampleCollection
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.