Examples: visualization, C++, networks, data cleaning, html widgets, ropensci.

Found 218 packages in 0.03 seconds

rplotengine — by Pedro-Pablo Garrido Abenza, 4 years ago

R as a Plotting Engine

Generate basic charts either by custom applications, or from a small script launched from the system console, or within the R console. Two ASCII text files are necessary: (1) The graph parameters file, which name is passed to the function 'rplotengine()'. The user can specify the titles, choose the type of the graph, graph output formats (e.g. png, eps), proportion of the X-axis and Y-axis, position of the legend, whether to show or not a grid at the background, etc. (2) The data to be plotted, which name is specified as a parameter ('data_filename') in the previous file. This data file has a tabulated format, with a single character (e.g. tab) between each column. Optionally, the file could include data columns for showing confidence intervals.

gtfs2gps — by Pedro R. Andrade, 9 days ago

Converting Transport Data from GTFS Format to GPS-Like Records

Convert general transit feed specification (GTFS) data to global positioning system (GPS) records in 'data.table' format. It also has functions to post-process these GPS records, for example converting them to simple feature format.

staggered — by Pedro H.C. Sant'Anna, 2 years ago

Efficient Estimation Under Staggered Treatment Timing

Efficiently estimates treatment effects in settings with randomized staggered rollouts, using tools proposed by Roth and Sant'Anna (2023) .

RColorConesa — by Pedro Salguero Garcia, 3 years ago

Conesa Colors Palette

Provides a collection of palettes designed to integrate with 'ggplot', reflecting the color schemes associated with 'ConesaLab'.

onsvtables — by João Pedro Melani Saraiva, 3 years ago

National Road Safety Observatory (ONSV) Styles for 'gt' Tables

Wrapper functions for customizing HTML tables from the 'gt' package to the ONSV style.

zuexact — by Pedro Baltazar, a month ago

Exactly Rounded Sums, Means and Dot Products

Sums of double-precision numbers computed exactly and rounded once, so the result is the correctly rounded true sum and does not depend on the order of the elements, the platform, or whether R was built with long doubles. Built on the small and large superaccumulators of Neal (2015) . Provides exactly rounded sums, means, cumulative sums, dot products and norms, row, column and grouped sums, accumulators that can be built in pieces and merged across processes, and a registered 'C' interface for other packages.

zuyaml — by Pedro Baltazar, 16 days ago

Parse and Emit YAML 1.2

Converts between YAML 1.2 (< https://yaml.org/spec/1.2.2/>) and ordinary R objects using a bundled copy of the 'cyaml' C11 parser and emitter (< https://github.com/andrewmd5/cyaml>), so there is no system dependency and no runtime dependency beyond R itself. Ambiguous YAML features are handled strictly and predictably: duplicate keys are refused by default, the YAML 1.2 core schema is followed so that yes and no resolve as strings, and integers beyond double precision are preserved rather than silently rounded. A stream of documents and a sequence are different things, and the interface keeps them apart. Input size, nesting depth and the number of values materialised are all bounded, which makes the parser usable on untrusted input.

iarm — by Marianne Mueller, 4 years ago

Item Analysis in Rasch Models

Tools to assess model fit and identify misfitting items for Rasch models (RM) and partial credit models (PCM). Included are item fit statistics, item characteristic curves, item-restscore association, conditional likelihood ratio tests, assessment of measurement error, estimates of the reliability and test targeting as described in Christensen et al. (Eds.) (2013, ISBN:978-1-84821-222-0).

harness — by Pedro Carvalho Brom, 3 months ago

Curated Agentic Harnesses for R Professional Roles

A bootstrapper that launches a command-line coding agent of the user's choice in a terminal tab pre-configured for a professional R role. Each role is described by a curated harness: a subset of community skills, a system prompt, a folder layout, and quality gates. The package does not run an agent loop and does not call a language model; it discovers the chosen coder binary, generates its configuration, links the curated skills, and opens the terminal. Code written by the agent is run manually by the user, by design, so that every generated script passes through a human audit gate before execution.

forestdynR — by Pedro Higuchi, 2 years ago

Calculate Forest Dynamics

Determines the dynamics of tree species communities (mortality rates, recruitment, loss and gain in basal area, net changes and turnover). Important notes are a) The 'forest_df' argument (data) must contain the columns 'plot' (plot identification), 'spp' (species identification), DBH_1 (Diameter at breast height in first year of measure) and DBH_2 (Diameter at breast height in second year of measure). DBH_1 and DBH_2 must be numeric values; b) example input file in 'data(forest_df_example)'; c) The argument 'inv_time' represents the time between inventories, in years; d) The 'coord' argument must be of the type 'c(longitude, latitude)', with decimal degree values; e) Argument 'add_wd' represents a dataframe with wood density values (g cm-3) format with three columns ('genus', 'species', 'wd'). This argument is set to NULL by default, and if isn't provided, the wood density will be estimated with the getWoodDensity() function from the 'BIOMASS' package.