get_salsa_table: Get SALSA results as a data.frame

Description Usage Arguments Details Value See Also Examples

Description

Get SALSA results as a data.frame

Usage

1
get_salsa_table(fit_list, verbose = FALSE, ...)

Arguments

fit_list

list output from do_salsa_steps(), where each list element contains min_count, and one or more of fit_fr and fit_fr_wei.

verbose

logical indicating whether to print verbose output.

...

additional arguments are ignored.

Details

This function converts the list of lists output from do_salsa_steps() into a "tidy" data.frame intended to be used for visualization.

Value

data.frame containing one row per minimum count threshold, with columns containing the Frechet and Frechet-Weibull fit parameters, or NA values when there are no parameters for the given minimum count threshold.

See Also

Other SALSA core functions: do_salsa_steps

Examples

1
2
3
4
5
6
7
8
9
library(salsa);
data(oz2_numi_per_cell);
x <- oz2_numi_per_cell$count[oz2_numi_per_cell$count >= 16];
x_salsa <- do_salsa_steps(x,
   count_vector=c(16,32,128),
   cache_fr=NULL,
   cache_fr_wei=NULL);
x_df <- get_salsa_table(x_salsa);
x_df;

jmw86069/salsa documentation built on May 21, 2019, 10:31 a.m.