Hi@akhtar,
A pirate plot a plot contained in the yarrr package written specifically by, and for R pirates. The two main arguments to pirate plot() are formula and data. In the formula, you specify plotting variables in the form y ~ x, where y is the name of the dependent variable, and x is the name of the independent variable. In data, you specify the name of the data frame object where the variables are stored.
yarrr::pirateplot(formula = weight ~ Time, # dv is weight, iv is Diet
                   data = ChickWeight,
                   main = "Pirateplot of chicken weights",
                   xlab = "Diet",
                   ylab = "Weight")
