| compareParam | R Documentation | 
Compare a specific parameter between two data sets.
compareParam(
  data1,
  data2,
  fit,
  param,
  type = "RCB",
  area = T,
  stand = T,
  simulated = F,
  Nsim = 50,
  seed = NA,
  conf.level = 0.95,
  alternative = "two.sided",
  return = F,
  new.plot = T,
  plot.lines = T,
  plot.points = F,
  col = NULL,
  ...
)
| data1 | The first data set, of class  | 
| data2 | The second data set, of class  | 
| fit | An optional fit object obtained from the  | 
| param | The name of the parameter to compare. | 
| type | A vector or list of recovery curve types. Default is "RCB". | 
| area | A vector or list indicating whether to use area normalization. Default is TRUE. | 
| stand | A vector or list indicating whether to apply standardization. Default is TRUE. | 
| simulated | A vector or list indicating whether to perform simulations. Default is FALSE. | 
| Nsim | A vector or list specifying the number of simulations to perform. Default is 50. | 
| seed | A vector or list specifying the seed for the random number generator. Default is NA (no seed). | 
| conf.level | Confidence level for hypothesis testing. Default is 0.95. | 
| alternative | The alternative hypothesis for hypothesis testing. Default is "two.sided". | 
| return | Boolean indicating whether to return the test results. Default is FALSE. | 
| new.plot | Boolean indicating whether to create a new plot. Default is TRUE. | 
| plot.lines | Boolean indicating whether to plot the comparison as lines. Default is TRUE. | 
| plot.points | Boolean indicating whether to plot the comparison as points. Default is FALSE. | 
| col | Colors to use for the plot. If NULL, colors are automatically assigned. | 
| ... | Additional plot parameters. | 
If return is TRUE, returns the test results. Otherwise, generates the comparison plot.
# Compare the parameter between two data sets
compareParam(data1, data2, fit = myFit, param = "alpha")
# Compare the parameter and return the test results
result <- compareParam(data1, data2, fit = myFit, param = "alpha", return = TRUE)
print(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.