Code
xx1 <- forge(new, x1$blueprint)
Condition
Warning:
Novel levels found in column 'f': 'e'. The levels have been removed, and values have been coerced to 'NA'.
Code
xx2 <- forge(new, x2$blueprint)
Condition
Warning:
Novel levels found in column 'f': 'e'. The levels have been removed, and values have been coerced to 'NA'.
Code
xx1 <- forge(new, x1$blueprint)
Code
xx2 <- forge(new, x2$blueprint)
Code
xx1 <- forge(new, x1$blueprint)
Condition
Warning:
Novel levels found in column 'f': 'e'. The levels have been removed, and values have been coerced to 'NA'.
Code
xx2 <- forge(new, x2$blueprint)
Condition
Warning:
Novel levels found in column 'f': 'e'. The levels have been removed, and values have been coerced to 'NA'.
Code
xx1 <- forge(new, x1$blueprint)
Code
xx2 <- forge(new, x2$blueprint)
Code
xx1 <- forge(new, x1$blueprint, outcomes = TRUE)
Condition
Warning:
Novel levels found in column 'f': 'e'. The levels have been removed, and values have been coerced to 'NA'.
Code
xx2 <- forge(new, x2$blueprint, outcomes = TRUE)
Condition
Warning:
Novel levels found in column 'f': 'e'. The levels have been removed, and values have been coerced to 'NA'.
allow_novel_levels = TRUE
Code
xx1 <- forge(new, x1$blueprint, outcomes = TRUE)
Condition
Warning:
Novel levels found in column 'f': 'e'. The levels have been removed, and values have been coerced to 'NA'.
Code
xx2 <- forge(new, x2$blueprint, outcomes = TRUE)
Condition
Warning:
Novel levels found in column 'f': 'e'. The levels have been removed, and values have been coerced to 'NA'.
Code
xx1 <- forge(new, x1$blueprint)
Code
xx2 <- forge(new, x2$blueprint)
Code
yy1 <- forge(new2, x1$blueprint)
Code
yy2 <- forge(new2, x2$blueprint)
Code
mold(y ~ f, dat, blueprint = bp2)
Condition
Error in `recompose()`:
! `data` must only contain numeric columns.
i These columns aren't numeric: "f".
Code
xx <- forge(new, x1$blueprint)
Condition
Warning:
Novel levels found in column 'f': 'e'. The levels have been removed, and values have been coerced to 'NA'.
Code
xx <- forge(new, x$blueprint)
NA
factor data never triggers a novel level warning (#131)Code
xx <- forge(new, x$blueprint)
allow_novel_levels
works right with character predictorsCode
out <- forge(df2, x$blueprint)
Condition
Warning:
Novel levels found in column 'x': 'd'. The levels have been removed, and values have been coerced to 'NA'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.