Class: RComplex

RWorker.RComplex

Hierarchy

  • RVectorAtomic<Complex>

    RComplex

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new RComplex(val): RComplex

Parameters

Name Type
val WebRDataAtomic<Complex>

Returns

RComplex

Overrides

RVectorAtomic&lt;Complex&gt;.constructor

Defined in

webR/robj-worker.ts:1149

Properties

ptr

ptr: number

Inherited from

RVectorAtomic.ptr

Defined in

webR/robj-worker.ts:177

Accessors

[toStringTag]

get [toStringTag](): string

Returns

string

Inherited from

RVectorAtomic.[toStringTag]

Defined in

webR/robj-worker.ts:206


length

get length(): number

Returns

number

Inherited from

RVectorAtomic.length

Defined in

webR/robj-worker.ts:957

Methods

attrs

attrs(): Nullable<RPairlist>

Returns

Nullable<RPairlist>

Inherited from

RVectorAtomic.attrs

Defined in

webR/robj-worker.ts:242


detectMissing

detectMissing(): boolean[]

Returns

boolean[]

Inherited from

RVectorAtomic.detectMissing

Defined in

webR/robj-worker.ts:973


entries

entries(): NamedEntries<null | Complex>

Returns

NamedEntries<null | Complex>

Inherited from

RVectorAtomic.entries

Defined in

webR/robj-worker.ts:1015


get

get(prop): this

Parameters

Name Type
prop string | number

Returns

this

Inherited from

RVectorAtomic.get

Defined in

webR/robj-worker.ts:961


getComplex

getComplex(idx): null | Complex

Parameters

Name Type
idx number

Returns

null | Complex

Defined in

webR/robj-worker.ts:1163


getDollar

getDollar(): RObject

Returns

RObject

Inherited from

RVectorAtomic.getDollar

Defined in

webR/robj-worker.ts:969


includes

includes(name): null | boolean

Parameters

Name Type
name string

Returns

null | boolean

Inherited from

RVectorAtomic.includes

Defined in

webR/robj-worker.ts:271


inspect

inspect(): void

Returns

void

Inherited from

RVectorAtomic.inspect

Defined in

webR/robj-worker.ts:220


isNa

isNa(): boolean

Returns

boolean

Inherited from

RVectorAtomic.isNa

Defined in

webR/robj-worker.ts:228


isNull

isNull(): this is RNull

Returns

this is RNull

Inherited from

RVectorAtomic.isNull

Defined in

webR/robj-worker.ts:224


isUnbound

isUnbound(): boolean

Returns

boolean

Inherited from

RVectorAtomic.isUnbound

Defined in

webR/robj-worker.ts:238


names

names(): null | (null | string)[]

Returns

null | (null | string)[]

Inherited from

RVectorAtomic.names

Defined in

webR/robj-worker.ts:262


pluck

pluck(...path): undefined | RObject

Parameters

Name Type
...path (string | number)[]

Returns

undefined | RObject

Inherited from

RVectorAtomic.pluck

Defined in

webR/robj-worker.ts:309


set

set(prop, value): RObject

Parameters

Name Type
prop string | number
value RObject | WebRDataRaw

Returns

RObject

Inherited from

RVectorAtomic.set

Defined in

webR/robj-worker.ts:325


setNames

setNames(values): this

Parameters

Name Type
values null | (null | string)[]

Returns

this

Inherited from

RVectorAtomic.setNames

Defined in

webR/robj-worker.ts:246


subset

subset(prop): this

Parameters

Name Type
prop string | number

Returns

this

Inherited from

RVectorAtomic.subset

Defined in

webR/robj-worker.ts:965


toArray

toArray(): (null | Complex)[]

Returns

(null | Complex)[]

Overrides

RVectorAtomic.toArray

Defined in

webR/robj-worker.ts:1187


toComplex

toComplex(): Complex

Returns

Complex

Defined in

webR/robj-worker.ts:1167


toJs

toJs(): WebRDataJsAtomic<Complex>

Returns

WebRDataJsAtomic<Complex>

Inherited from

RVectorAtomic.toJs

Defined in

webR/robj-worker.ts:1021


toObject

toObject(«destructured»?): NamedObject<null | Complex>

Parameters

Name Type Default value
«destructured» Object {}
› allowDuplicateKey undefined | boolean true
› allowEmptyKey undefined | boolean false

Returns

NamedObject<null | Complex>

Inherited from

RVectorAtomic.toObject

Defined in

webR/robj-worker.ts:997


toTypedArray

toTypedArray(): Float64Array

Returns

Float64Array

Overrides

RVectorAtomic.toTypedArray

Defined in

webR/robj-worker.ts:1178


type

type(): "string" | "symbol" | "function" | "null" | "pairlist" | "closure" | "environment" | "promise" | "call" | "special" | "builtin" | "logical" | "integer" | "double" | "complex" | "character" | "dots" | "any" | "list" | "expression" | "bytecode" | "pointer" | "weakref" | "raw" | "s4" | "new" | "free"

Returns

"string" | "symbol" | "function" | "null" | "pairlist" | "closure" | "environment" | "promise" | "call" | "special" | "builtin" | "logical" | "integer" | "double" | "complex" | "character" | "dots" | "any" | "list" | "expression" | "bytecode" | "pointer" | "weakref" | "raw" | "s4" | "new" | "free"

Inherited from

RVectorAtomic.type

Defined in

webR/robj-worker.ts:182


wrap

wrap<T>(this, ptr): InstanceType<T>

Type parameters

Name Type
T extends typeof RObject

Parameters

Name Type
this T
ptr number

Returns

InstanceType<T>

Inherited from

RVectorAtomic.wrap

Defined in

webR/robj-worker.ts:200