Description Usage Arguments Details Value
Generates an interactive plot object using the plotly package.
1 2 3 4 |
x |
An NMRFit1D object. |
components |
One of either 'r', 'i', or 'r/i' to include real, imaginary or both components. If both components are selected, they are displayed in separate subplots. |
apply.phase |
TRUE to apply the calculated phase to the data. |
sum.lineshapes |
TRUE to sum together individual peaks. |
sum.baseline |
TRUE to add the baseline to each fit. |
include.convolution |
TRUE to apply convolution to the fit, if available. |
deconvolve.residual |
TRUE to remove the effect of convolution from the residual, if convolution is not being included in the fit. |
nrows |
Max number of rows to display subplots. |
legend.position |
One of either 'bottom' or 'side'. |
fit.legend |
By default, the fit is shown on the legend if sum.lineshapes is TRUE and omitted if sum.lineshapes is FALSE. Set fit.legend to TRUE or FALSE to override this behaviour. |
reverse |
TRUE to order x-axis with large values on the left and small values on the right like typical NMR plots. |
Convenience function that generates a graphical representation of the fit. The original data is plotted as a black line, the fit is plotted in red, the baseline is plotted in blue, the residual in red. The fit can be plotted as a composite of all the peaks, or individually.
A ggplot2 plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.