Displaying 2 results from an estimated 2 matches for "ggcorrplot".
2020 Oct 30
3
Error: variable not found
...r example: summary(couple_id) => Error in summary(couple_id) : object 'couple_id' not found. What can I do about this?
R-script:
attach(ipumsi_00008_dta)
library(tinytex)
library(dplyr)
library(ggplot2)
library(tidyr)
library(knitr)
library(forcats)
library(mice)
library(pander)
library(ggcorrplot)
library(lubridate)
# true/false code when sploc is greater than zero and sprule is equal to 1 or 2
ipumsi_00008_dta <- mutate(ipumsi_00008_dta, rule_union = sploc>0 & (sprule==1 | sprule==2))
## creating numeric code for rule_union & rule_unionn: 1 when sploc is greater than zero and...
2020 Oct 27
2
Creating unique code
...s to be equal for these persons in the couples
* SPLOC > 0
* SPLOC = PERNUM
* SPRULE = 01 or 02
What I already did is this:
attach(ipumsi_00008_dta)
library(tinytex)
library(dplyr)
library(ggplot2)
library(tidyr)
library(knitr)
library(forcats)
library(mice)
library(pander)
library(ggcorrplot)
library(lubridate)
# true/false code when sploc is greater than zero
ipumsi_00008_dta <- mutate(ipumsi_00008_dta, sploc_greater_than_zero = sploc>0)
# true/false code when sploc is greater then zero and sprule is equal to 1 or 2
ipumsi_00008_dta <- mutate(ipumsi_00008_dta, rule_union = sp...