On 10/30/2020 03:52 AM, Enrico Schumann wrote:
> On Thu, 29 Oct 2020, H writes:
>
>> I tried to install the fredr package yesterday to
>> access the data series hosted by the St. Louis Fed but
>> my installation of R, version 3.6, tells me it is not
>> available from a cran repository.
>>
>> I coul
Hi Hannah,
Using the same code I sent before, you can append the partner codes to the
household code. I apologize, but I don't know how to use the
dplyr/tidyr/... stuff so this is written in straight R code using logic
statements.
ipumsi_8_dta<-
read.table(
text="country year sample serial h
Dear Hannah
I think the problem is that attach() is not doing what you think it is.
It does seem to make it easy to make mistakes. I would suggest switching
to using with() instead or using the data = parameter to functions which
support it.
Michael
On 30/10/2020 08:15, Hannah Van Impe wrot
Hi,
I am using the sim1000G R package to simulate data for case/control study.
I can not figure out how to manipulate this code to be able to generate 10%
or 50% causal SNPs in R.
This is whole code provided as example on GitHub:
library(sim1000G)
vcf_file = "region-chr4-357-ANK2.vcf.gz" #nvaria
Hi Hannah,
Have you tried:
summary(ipumsi_8_dta$couple_id)
Jim
On Fri, Oct 30, 2020 at 7:34 PM Hannah Van Impe
wrote:
> Hello
>
> I have a question. I made an r-script and did a few commands needed to
> make some new variables. They all work out well, and when I run the
> commands, the new
Hello
I have a question. I made an r-script and did a few commands needed to make
some new variables. They all work out well, and when I run the commands, the
new variables appear in the dataset. I can also work with these new variables
to make other new variables from them. Also, when I use su
On Thu, 29 Oct 2020, H writes:
> I tried to install the fredr package yesterday to
> access the data series hosted by the St. Louis Fed but
> my installation of R, version 3.6, tells me it is not
> available from a cran repository.
>
> I could not find any information on this on the fredr informat
7 matches
Mail list logo