I built my function to simulate two gamma distributions X and Y based on the
sum of i.i.d exponential distributions. Assume my code is correct about this
simulation, I am interested in finding an equal sample size n for X and Y
such that n can be determined given 90% power and 5% significance level
That worked.
Thanks. :)
--
View this message in context:
http://r.789695.n4.nabble.com/Add-column-from-other-columns-data-tp4629921p4629937.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://sta
Hi everyone,
I am having some problems with making a new colomn wit data in it.
I have this one column named: Fulfilled
Fulfilled
1
1
0
1
1
1
1
0
0
1
And now I would like to add another colum to my .csv file ("Finished")
In this "Finished" column I would like to have "Yes" or "No".
Where in
Thanks for saying. :)
This morning I tried out some things with this code, and different variants
with it.
Works nice.
--
View this message in context:
http://r.789695.n4.nabble.com/How-to-take-ID-of-number-7-tp4577998p4580364.html
Sent from the R help mailing list archive at Nabble.com.
___
Thanks for the help. :)
I was also looking at attach() but this one works perfect.
--
View this message in context:
http://r.789695.n4.nabble.com/How-to-take-ID-of-number-7-tp4577998p4579982.html
Sent from the R help mailing list archive at Nabble.com.
O_o This is kinda interesting
I have 267 log2 values >= 7.
And 295 ID numbers.
I don't see any problems in my code also:
ID_Log2_Above_7 = DataFile[DataFile$log2 >= 7, c("ID", "Log2"]
# Take ID out.
ID_Above_7 = ID_Log2_Above_7$ID
# Only numbers, no na or inf.
ID_Above_7_NO_NA
I am also compairing 2 things with each other.
x = c(1, 5, 7, 9)
y = c(2, 7, 9, 10, 11)
intersect(x, y)
Output will be: 7, 9.
Hope it helped. :)
--
View this message in context:
http://r.789695.n4.nabble.com/compare-mean-tp4576372p4578007.html
Sent from the R help mailing list archive a
I figured out something new that I would like to see if I can do this more
easy with R then Excel.
I have these huge files with data.
For example:
DataFile.csv
ID Name log2
1 Fantasy 5.651
2 New 7.60518
3 Finding 8.9532
4 Looeka -0.248652
5 Vani 0.3548
With like header1: ID, header 2:
I now filtered the Na and Inf out of my data.
And the number is exactly the same als the output from the excel file.
Thanks everyone. :)
Now I can finish my work.
--
View this message in context:
http://r.789695.n4.nabble.com/Sort-out-number-on-value-tp4573467p4574026.html
Sent from the R he
I see the problem.
There are 400, but there are Na and Inf is there for like 1/2, and I need to
get those out.
Think I need to filter those out.
Now that would make sense. LoL
--
View this message in context:
http://r.789695.n4.nabble.com/Sort-out-number-on-value-tp4573467p4573905.html
Sent
I found out something strange when I used the same thing on another data
file.
In a excel file I have same data too and there I asked in a certain column
what values where above the 7.5. Result: 206.
Now I have done the same thing in R and I get as result: 400.
My code:
# Find values above 7.
Thanks everyone. :)
--
View this message in context:
http://r.789695.n4.nabble.com/Sort-out-number-on-value-tp4573467p4573512.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mail
Can anyone help me maybe with a question I can seem to find an answer on.
I have this: x = c(1, 5, 70, 53, 7, 29, 75, 37, 30, 11)
And I would like to have the numbers above 20 selected out.
But I can't find what code I need for that
I tried sort(), but then I can't fill in I only need tho
Hi,
At the moment I am studying R at school.
But I found this site very useful to explain the plot functions to me:
http://www.harding.edu/fmccown/r/
Maybe that can help you too?
--
View this message in context:
http://r.789695.n4.nabble.com/Simple-Problem-Plotting-mathematical-functions
Hi everyone,
I read your messages and I tried some things out.
The Data2 is filled with NA.
So what I did was:
NameFile.csv$Data2[is.na(NameFile.csv$Data2)] = log2Values
And now it worked. :)
Seems like I needed to replace it, and not only write it.
Thanks.
--
View this message in con
I was working with some excel files with a lot of data.
And by hand it is impossible to handle them.
So they are now converted to .csv.
With headers above the columns, like:
Data1, Data2, Data3
But now I needed to calculate the log2 value of Data1 and place the result
under Data2.
I can't
16 matches
Mail list logo