powered by
Fits the ACTF to the estimated (rho_x, rho_z) points using nls.
nls
fitactf(actpnts, discrete = FALSE)
An object of class "acti" with components:
"acti"
fitted ACTF coefficients b and c
b
c
the input ACT points data frame
estimated ACT points (output of actpnts)
actpnts
logical — is the marginal distribution discrete?
actpnts, actf
actf
library(CoSMoS) p <- actpnts(margdist = "paretoII", margarg = list(scale = 1, shape = .3), p0 = 0) fit <- fitactf(p) plot(fit)
Run the code above in your browser using DataLab