The function returns a plot after fitting a dataset to the mathematical descriptor chosen by the user.
# S3 method for plot
AQSys(
dataSET,
xlbl = "",
ylbl = "",
main = NULL,
col = "blue",
type = "p",
cex = 1,
cexlab = 1,
cexaxis = 1,
cexmain = 1,
cexsub = 1,
modelName = "merchuk",
NP = 100,
xmax = "",
ymax = "",
Order = "xy",
save = FALSE,
HR = FALSE,
filename = NULL,
wdir = NULL,
silent = FALSE,
...
)- Binodal Experimental data that will be used in the nonlinear fit. It might hold multiple systems stacked side-by-side. [type:data.frame]
Plot's Horizontal axis label.
Plot's Vertical axis label.
Legacy from plot package. For more details,
see plot.default
Legacy from plot package. For more details,
see plot.default
Legacy from plot package. For more details,
see plot.default
Legacy from plot package. For more details,
see plot.default
Legacy from plot package. For more details,
see plot.default
Legacy from plot package. For more details,
see plot.default
Legacy from plot package. For more details,
see plot.default
Legacy from plot package. For more details,
see plot.default
- Character String specifying the nonlinear empirical equation to fit data. The default method uses Merchuk's equation. Other possibilities can be seen in AQSysList().
Number of points used to build the fitted curve. Default is 100. [type:Integer]
Maximum value for the Horizontal axis' value
Maximum value for the Vertical axis' value
Defines how the data is organized in the Worksheet. Use "xy" whether the first column corresponds to the lower phase fraction and "yx" whether the opposite.
Save the generated plot in the disk using path and filename provided by the user. [type:Boulean]
Adjust Plot's text to be compatible with High Resolution size [type:Boulean]
Filename provided by the user to save a given plot. [type:String]
The directory in which the plot file will be saved. [type:String]
save plot file without actually showing it to the user. [type:Boulean]
Additional optional arguments. None are used at present.
A plot containing the experimental data, the correspondent curve for the binodal in study and the curve's raw XY data.
This version uses the plot function and return a regular orthogonal plot.
# NOT RUN {
#Populating variable dataSET with binodal data
dataSET <- peg4kslt[, 1:2]
# Plot dataSET using Merchuk's function
#
AQSys.plot(dataSET)
#
# }
Run the code above in your browser using DataLab