This function will write result of BP2D to xlsx file.
write.BP(writedata, filename)
writedata
result of BP2D(character or list).
filename
xlsx file name.