rastro_obs: Observation

Description Usage Arguments

Description

Observation

Usage

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
new_obs(
  obs,
  err = missing_arg(),
  n_err = missing_arg(),
  p_err = missing_arg(),
  item_frmt = NA_character_
)

na_obs(item_ptype)

## S3 method for class 'rastro_obs'
format(
  x,
  format = "{obs} (- {n_err}; + {p_err})",
  format_eq = "{obs} ± {err}",
  format_each = NULL,
  na_string = "NA_rastro_obs",
  ...
)

get_obs(x, ...)

## Default S3 method:
get_obs(x, ...)

## S3 method for class 'rastro_obs'
get_obs(x, ...)

get_err(x, ...)

## Default S3 method:
get_err(x, ...)

## S3 method for class 'rastro_obs'
get_err(x, ...)

## S3 method for class 'rastro_obs'
vec_ptype_abbr(x, ...)

## S3 method for class 'rastro_obs'
vec_ptype_full(x, ...)

vec_ptype2.rastro_obs(x, y, ...)

## Default S3 method:
vec_ptype2.rastro_obs(x, y, ..., x_arg = "x", y_arg = "y")

## S3 method for class 'rastro_obs'
vec_ptype2.rastro_obs(x, y, ...)

## S3 method for class 'double'
vec_ptype2.rastro_obs(x, y, ...)

## S3 method for class 'integer'
vec_ptype2.rastro_obs(x, y, ...)

## S3 method for class 'rastro_obs'
vec_ptype2.integer(x, y, ...)

## S3 method for class 'rastro_obs'
vec_ptype2.double(x, y, ...)

## S3 method for class 'data.frame'
vec_ptype2.rastro_obs(x, y, ..., x_arg = "x", y_arg = "y")

## S3 method for class 'tbl_df'
vec_ptype2.rastro_obs(x, y, ..., x_arg = "x", y_arg = "y")

## S3 method for class 'rastro_obs'
vec_ptype2.data.frame(x, y, ..., x_arg = "x", y_arg = "y")

## S3 method for class 'rastro_obs'
vec_ptype2.tbl_df(x, y, ..., x_arg = "x", y_arg = "y")

is_obs(x, item_ptype)

vec_cast.rastro_obs(x, to, ...)

## Default S3 method:
vec_cast.rastro_obs(x, to, ...)

## S3 method for class 'rastro_obs'
vec_cast.rastro_obs(x, to, ...)

## S3 method for class 'double'
vec_cast.rastro_obs(x, to, ...)

## S3 method for class 'double'
vec_cast.rastro_obs(x, to, ...)

## S3 method for class 'integer'
vec_cast.rastro_obs(x, to, ...)

## S3 method for class 'rastro_obs'
vec_cast.data.frame(x, to, ...)

## S3 method for class 'rastro_obs'
vec_cast.tbl_df(x, to, ...)

## S3 method for class 'data.frame'
vec_cast.rastro_obs(x, to, ...)

## S3 method for class 'tbl_df'
vec_cast.rastro_obs(x, to, ...)

## S3 method for class 'rastro_obs'
as.data.frame(x, ..., two_sided = FALSE)

## S3 method for class 'rastro_obs'
as_tibble(x, ..., two_sided = FALSE)

as_obs(x)

## S3 method for class 'rastro_obs'
vec_restore(x, to, ...)

## S3 method for class 'rastro_obs'
vec_proxy(x, ...)

## S3 method for class 'rastro_obs'
vec_proxy_compare(x, ...)

`%==%.rastro_obs`(x, y)

## Default S3 method:
x %==%.rastro_obs y

## S3 method for class 'rastro_obs'
x %==%.rastro_obs y

vec_arith.rastro_obs(op, x, y, ...)

## Default S3 method:
vec_arith.rastro_obs(op, x, y, ...)

## S3 method for class 'MISSING'
vec_arith.rastro_obs(op, x, y, ...)

## S3 method for class 'numeric'
vec_arith.rastro_obs(op, x, y, ...)

## S3 method for class 'rastro_obs'
vec_arith.numeric(op, x, y, ...)

## S3 method for class 'rastro_obs'
vec_arith.rastro_obs(op, x, y, ...)

vec_math.rastro_obs(.fn, .x, ...)

Arguments

obs

Observations.

err, p_err, n_err

Symmetrical (err) or a pair of positive (p_err) and negative (n_err) errors.

item_frmt

A desired format string to control the output.

item_ptype

Ptype of the contained data.

x, y

vec_ptype2* arguments.

format, na_string, format_eq, format_each

glue flromat strings (support interpolation).

...

Additional parameters.

x_arg, y_arg

vec_ptype2* and vec_cast* error message variable names.

to

vec_cast argument.

two_sided

Controls if both errors should be present in the converted data.frame/tibble.

op

Arithmetic functions/operators.

.fn

Mathematical function.

.x

vec_arith* argument.


Ilia-Kosenkov/rastro documentation built on May 12, 2020, 12:56 a.m.