Print a mudata object

# S3 method for mudata
print(x, ..., width = NULL)

# S3 method for mudata
summary(object, ...)

Arguments

x, object

A mudata object

...

Passed to other methods

width

The number of characters to use as console width

Value

print returns x (invisibly); summary returns a data frame with summary information.

Examples

print(kentvillegreenwood)
#> A mudata object aligned along "date" #> distinct_datasets(): "ecclimate" #> distinct_locations(): "GREENWOOD A", "KENTVILLE CDA CS" #> distinct_params(): "cooldegdays", "dirofmaxgust" ... and 9 more #> src_tbls(): "data", "locations" ... and 3 more #> #> tbl_data() %>% head(): #> # A tibble: 6 x 6 #> dataset location param date value flags #> <chr> <chr> <chr> <date> <dbl> <chr> #> 1 ecclimate KENTVILLE CDA CS maxtemp 1999-07-01 28.5 <NA> #> 2 ecclimate KENTVILLE CDA CS maxtemp 1999-07-02 30.7 <NA> #> 3 ecclimate KENTVILLE CDA CS maxtemp 1999-07-03 26.4 <NA> #> 4 ecclimate KENTVILLE CDA CS maxtemp 1999-07-04 28.6 <NA> #> 5 ecclimate KENTVILLE CDA CS maxtemp 1999-07-05 26 <NA> #> 6 ecclimate KENTVILLE CDA CS maxtemp 1999-07-06 25.3 <NA>
summary(kentvillegreenwood)
#> # A tibble: 22 x 7 #> param location dataset mean_value sd_value n n_NA #> <chr> <chr> <chr> <dbl> <dbl> <int> <int> #> 1 cooldegdays GREENWOOD A ecclimate 2.31 2.35 62 0 #> 2 cooldegdays KENTVILLE CDA CS ecclimate 2.66 2.33 62 0 #> 3 dirofmaxgust GREENWOOD A ecclimate 22.8 6.14 62 33 #> 4 dirofmaxgust KENTVILLE CDA CS ecclimate NaN NaN 62 62 #> 5 heatdegdays GREENWOOD A ecclimate 0.447 0.878 62 0 #> 6 heatdegdays KENTVILLE CDA CS ecclimate 0.279 0.672 62 0 #> 7 maxtemp GREENWOOD A ecclimate 26.1 3.40 62 0 #> 8 maxtemp KENTVILLE CDA CS ecclimate 25.8 3.64 62 0 #> 9 meantemp GREENWOOD A ecclimate 19.9 2.90 62 0 #> 10 meantemp KENTVILLE CDA CS ecclimate 20.4 2.72 62 0 #> # … with 12 more rows