Skip to content

Commit f65be39

Browse files
committed
Fix complex coercion
1 parent d1174f4 commit f65be39

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

02_RProgramming/DataTypes/index.Rmd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,9 @@ NAs introduced by coercion
200200
> as.logical(x)
201201
[1] NA NA NA
202202
> as.complex(x)
203-
[1] 0+0i 1+0i 2+0i 3+0i 4+0i 5+0i 6+0i
203+
[1] NA NA NA
204+
Warning message:
205+
NAs introduced by coercion
204206
```
205207

206208
---
@@ -472,4 +474,4 @@ Data Types
472474

473475
- data frames
474476

475-
- names
477+
- names

0 commit comments

Comments
 (0)