View source: R/response_matrices.R
volume | R Documentation |
volume
computes PDXs tumor volume from tumor width and lengthcompute PDX volume
volume
computes PDXs tumor volume from tumor width and length
volume(w, l)
w |
width or first measurement vector. See |
l |
length or second measurement vector. See |
This function applies the (l x w^2)/2 formula to compute volume. However before computing volume it sorts data so that the smaller value is always taken as width and the bigger value as length.
Returns a vector of volume
volume(w=1:5, l=6:10) ## smaller value is always considered as width. volume(w=6:10, l=1:5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.