Functions
s3generics
s3generics — R-style generic function dispatch for Python.
| generic | Class decorator / factory that turns a plain function into a S3Generic. |
| S3Generic | A callable that dispatches to a registered method based on the type of |
| print_ | Generic print (avoids shadowing the built-in print). |
| summary | Produce a summary of obj. |
| str_ | Compactly display the internal structure of obj. |
| format_ | Format obj for pretty printing (returns a string). |
| head | Return the first n elements / rows of obj. |
| tail | Return the last n elements / rows of obj. |
| subset | Return a subset of obj according to conditions. |
| fit | Fit a statistical model. |
| predict | Compute predictions from a fitted model. |
| residuals | Extract model residuals. |
| coef | Extract model coefficients. |
| fitted | Extract fitted (in-sample) values. |
| logLik | Extract the log-likelihood of a fitted model. |
| AIC | Compute the Akaike information criterion. |
| BIC | Compute the Bayesian information criterion. |
| transform | Apply transformations to obj. |
| convert | Convert obj to another type. |
| scale | Center and / or scale obj. |
| t | Transpose obj. |
| solve | Solve a linear system or invert a matrix. |
| crossprod | Compute the cross-product t(obj) %*% y. |
| plot | Produce a plot of obj. |
| hist | Draw a histogram of obj. |
| boxplot | Draw a boxplot of obj. |
| dim | Return dimensions of obj. |
| nrow | Number of rows. R equivalent: nrow() |
| ncol | Number of columns. R equivalent: ncol() |
| length | Number of elements in obj. |
| names | Return the names / labels attached to obj. |
| sort | Sort obj. |
| order | Return the indices that would sort obj. |
| rank | Return the ranks of obj. |
| write | Write obj to file. |
| read | Read / parse data described by obj (e.g. a file path string). |
| aggregate | Aggregate obj by groups. |
| apply_ | Apply fun over margins / elements of obj. |
| merge | Merge / join obj with y. |
| rbind | Bind objects by rows. |
| cbind | Bind objects by columns. |