Dear group,
kindly how can I apply Non-negative matrix factorization for term document
matrix in R. Please if you any link to guide or tutorial send it.
thanks in advance
Ragia
__
R-help@r
quot;abo", "abu", "acc", "accept", "account", "actual", "administr",
"adnani", "advanc", "advic", "akh", "akhi", "alaykum", "aleppo",
"aljusiya", "allah&qu
dear group,
is there a way to write my outputs to any kind of files ( the output contains
text and graph) using R only without installing rstudio and using rmd files.
thanks in advance
Ragia
__
R-help@r-project.org
n.com images.salon.com
go.theregister.com theregister.co.uk
techchuck.com pcworld.com
ecoustics.com pcworld.com
Ragia
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
can I speed the program, kindly I need tutorial or book chapter that helps..
thanks in advance
Ragia
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
thanks for answering
the program is simulation it runs on data ( wish is taken from file to memory
once) but it runs about 10k times and in each mad some calculations ?
hope this clear the problem,
Ragia
> Date: Tue, 15 Mar 2016 08:45:56 +1
Dear group
I have the following variable v_neighbours and it holds a vector of the
following :
gawker.com gle.am jezebel.com
1 16 28
three urls and their id ...when I call the class(v_neighbours ) the result is
"integer"
how can I get the factor nume
accept my apology for resending..
Dear group
I have the following variable v_neighbours and it holds a vector of the
following :
gawker.com gle.am jezebel.com
1 16 28
to have a copy,
dput(v_neighbours)
structure(c(1L, 16L, 28L), .Names = c("gawker.com", "gle.am", "jezebel.com"))
many thanks...it solved my problem...and I will review what is factors..( I
think I have misunderstanding in this)
RagiA
> From: macque...@llnl.gov
> To: ragi...@hotmail.com; r-help@r-project.org
> Subject: Re: [R] get values out of combin
Dear group
I had a R program that was to slow, I mad it multi core prog..to speed up,
its a simulation when the runs are 100 its very fast..raising the runs to 10k
mad it in the first fast then it slow down
I checked the HW usafe and here is the top command results
%Cpu0 :100.0 us, 0.0 sy
Dear group,
I want to download text of weets and other data such as user id or so for a
specific hashtag on twitter, how to do this..any reference suggestions that
could help me to download almost it all without limits in number of dlwonloaded
tweets.
thanks in advance
RaGiA
,.125,.5)
plot( x,px ,type="h" ) # to plot the frequency , is it correct
how to plot the cdf?
thanks in advance
Ragia
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,
at was the script doing for more than a month now ?
any ideas?
THANS
Ragia A. Ibrahim
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEA
dear group ,
cant install r base into ubuntu 22.
the msg is
The following packages have unmet dependencies:
r-base-core : Depends: libicu70 (>= 70.1-1~) but it is not installable
Recommends: r-recommended but it is not going to be installed
Recommends: r-doc-html
14
And I could not get the first row..
head(firstclass)
20 27
13 14
how can I got it?
thanks in advance
Ragia
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list --
2 2 1 1 2 2 2 9 3 1 1 3 6 1 4 1 3 9 2
how can I extract only records between 9 and 5 values only and put the record
number n a vector
it should be vector
thanks in advance
Ragia
Dear Group,
I have the following matrix
m
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8]
[1,]021 Inf Inf Inf Inf Inf
[2,]102 Inf Inf Inf Inf Inf
[3,]210 Inf Inf Inf Inf Inf
[4,]3210 Inf Inf Inf Inf
[5,] Inf Inf Inf Inf0 I
0 1 0 0 0 0 0
8 0 0 0 0 0 0 0 0 1 0
5 0 0 0 0 0 0 0 0 0 0
10 0 0 0 0 0 0 0 0 0 0
thanks in advance
Ragia
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To
Many thanks
> Date: Sat, 23 May 2015 11:55:07 +0200
> From: lig...@statistik.tu-dortmund.de
> To: ragi...@hotmail.com; r-help@r-project.org
> Subject: Re: [R] order matrix regarding its content.
>
>
>
> On 23.05.2015 11:10, Ragia Ibrahim wrote:
> > Dear group,
&
Dear group,
I have the following integer object
> a
3 4 6
3 3 6
how to get the most frequent value (it should be 3)
and get nothing if no frequent one and all is equal
3 4 6
3 4 6
Thanks in advance
Ragia
[[alternative HTML vers
Dear group
working on a graph..I parse the graph node by node and create cluster for set
of nodes..firstly the number of clusters are not knowen
what kind of R object can I flexibly use as community, say I want M communities
C1,C2..CM
how can I define this ?
thanks in advance
Ragia
Dear group,
I have the following object
> pr_sub$vector[1]
14
0.07782809
> class( pr_sub$vector[1])
[1] "numeric"
> length( pr_sub$vector[1])
[1] 1
how can I separate pr_sub$vector[1]
and get 14 only
than
(z_nebla==0) || (z_nebla_dash==0)
[1] NA
why (z_nebla==0) || (z_nebla_dash==0)
gives me NA ?
thanks in advance
Ragia
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNS
nt(Common_Friends)
numeric(0)
>newline<-c(i, Common_Friends )
> newline
[1] 5
thanks in advance
Ragia
[[alternative HTML version deleted]]
__
R-
Hi,
Kindly I had a data frame looks like this
x y
1 3
2 2
3 1
4 3
and I want to add column z that sum cumulativly like this
x y z
1 3 3
2 2 5
3 1 6
4 3 9
how to do this?
Regards
Ragia
[[alternative HTML version deleted
Hello,
Kindly I have a list of lists as follow
x
[[1]]
[1] 7
[[2]]
[1] 3 4 5
as showen x[[3]] does not have a value and it has NULL, how can I check on this
how to test if x[[3]] is empty.
thanks in advance
Ragia
[[alternative HTML version
Hello,
I started the program with an empty set then I add and element when needed.
the problem how can I add the first element to the empty set
union(set_name ,element)
gives "subscript out of bounds "
thanks in advance
R.
[[alternative HTML ver
y thanks for replying
Regards
R.
> Subject: Re: [R] union empty set with an element
> From: b...@xs4all.nl
> Date: Mon, 19 Jan 2015 16:00:28 +0100
> CC: r-help@r-project.org
> To: ragi...@hotmail.com
>
>
> > On 19-01-2015, at 15:51, Ragia Ibrahim wrote:
> >
> >
y thanks for replying
Regards
R.
> Subject: Re: [R] union empty set with an element
> From: b...@xs4all.nl
> Date: Mon, 19 Jan 2015 16:00:28 +0100
> CC: r-help@r-project.org
> To: ragi...@hotmail.com
>
>
> > On 19-01-2015, at 15:51, Ragia Ibrahim wrote:
> >
> >
Hello,
kindly ,
how to catch this Error
Error in A[[i]] : subscript out of bounds
and check that the list is empty is.null( A[[i]] ) do no twork
thanks in advance
R.I
[[alternative HTML version deleted]]
__
Dear group,
I have many plots and numeric results in my R program, kindly how can I save
them all sequently on one file.
thanks in advance
RAI
[[alternative HTML version deleted]]
__
R-help@r-project
Hi,
I have a original adjacency matrix n X n , and I want to connect certain row
with
a set of other selected columns (could be not the same as in the
original matrix).
this in each iteration I have a new row of this connections matrix , how to
create this matrix.
having original row nu
Dear group
i have the following matrix
1 . . 1 . . 1 . . . .
2 . . . . . . 1 . . .
3 1 . . . 1 . . 1 . 1
4 . . . . . 1 . . . .
5 . . 1 . . . . . . 1
6 1 . . 1 . . . . 1 .
7 . 1 . . . . . 1 . .
8 . . 1 . . . 1 . . 1
9 . . . . . 1 . . . 1
10 . . 1 . 1 . . 1 1 .
I want to sort it according
Hi again
the data represents a directed graph represented in a matrix
e.g
library(igraph)
g <- forest.fire.game(10, fw.prob=0.3 , bw.factor=0.32/0.3, directed = TRUE)
m=get.adjacency(g , attr=NULL)
print(m)
--
many thanks and pardon me for multiple posts
Ragia
> Date: Mon,
T", ...) :
Error: Forbidden
my questions are
how to make it understand the unicode characters?
and if It is a hashtag should I write it that way "#�"
many thanks in advance
Ragia
[[alternative HTML version deleted]]
_
alhazm", n=1500 , cainfo="cacert.pem" )
But I got the following error message
In doRppAPICall("search/tweets", n, params = params, retryOnRateLimit =
retryOnRateLimit, :
500 tweets were requested but the API can only return 28
why
( "alhazm", n=1500 , cainfo="cacert.pem" )
But I got the following error message
In doRppAPICall("search/tweets", n, params = params, retryOnRateLimit =
retryOnRateLimit, :
500 tweets were requested but the API can only return 28
why ? and how I can Increase
101
result should be starting from row index 1 to 3.
thanks in advance
Ragia
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listi
Dear all,
I use R 3.1.1 for Windows.
kindly how can I generate n number of random numbers with probability from [0,1]
and their sum must not be more than one
thanks in advance
Ragia
[[alternative HTML version deleted
Dear Group,kinldy, I have the following data frame df
id value1 1 4 2 1 4 3 1 6 4
1 6 5 2 1.5 6 2 2.5 7 2 2.5 8
2 2.5
add rank column regarding id coulmn where rank for the highest val
Dear group,
I have the following data frame df
Measure_id i j id value1 1 5 1 1 2.02 1 5 2 1 2.03
1 5 1 2 1.54 1 5 2 2 1.55 1 5 1 3 0.06
1 5 2 3 0.07 1 5 1 4 0.08 1 5 2 4 1.09
1
provide data, rather than expecting people to
>> open random attachments. Besides, there are multiple options for
>> getting data into R, and we need to know exactly what you did. dput()
>> is faster and easier.
>>
>> What have you tried? Did you look at aggregate
many thanks, It WORKS.
But
what If I want to add a condition that considered Measure_id , if it is '1'
rank reverse the probability and if it is ' 2 ' rank is ordered like
probability?
Replying is highly appreciated
Ragia
Dear group
how to calculate kendall tau distance according to Kendall_tau_distance at
wikipedia
https://en.wikipedia.org/wiki/Kendall_tau_distance
thanks in advance
Ragia
__
R-help@r-project.org mailing list
> David L Carlson
> Department of Anthropology
> Texas A&M University
> College Station, TX 77840-4352
>
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Ragia Ibrahim
> Sent: Thursday, September 10, 2015 12:40 PM
> To: r-he
hould be
divided by 1.5 not 2..
rows 1,5,11 will be divided by 2 the max of their same group grouped by
measure id
how to make such grouping
thanks in advance
Ragia
[[alternative HTML version deleted]]
__
R
many thanks for replying,
yes I am kindly accept my pardon, I mistaken the rows from each other many
thanks I will read them.
Ragia
> Date: Sat, 7 Nov 2015 07:48:36 -0800
> Subject: Re: [R] group by function
> From: bgunter.4...@gmail.com
&
, "rank"), row.names = c(NA, 40L), class = "data.frame")
>
I want to get maximum 3 rows in each group of Measure_id. e.g. for measure_id 1
get the max ranks (select the max for each measure depe
Dear group
IF I had an objective function and some constrains formed in linear model form.
is there a way,..library in R that helps me to solve such amodel and find the
unknown variable in it?
thanks in advance
Ragia
ct.org
> To: ragi...@hotmail.com
>
>
>> On Nov 16, 2015, at 4:01 PM, Ragia Ibrahim wrote:
>>
>> thanks for replying.
>>
>> the question about non linear model, I formed it incorrectly, I have a
>> single objective multi constrain non linear model..I
sure_id), indices = list(
0:6, 7:13, 14:20, 21:27, 28:34), group_sizes = c(7L, 7L,
7L, 7L, 7L), biggest_group_size = 7L, labels = structure(list(
Measure_id = c(1, 2, 3, 4, 5)), class = "data.frame", r
lots of thanks
Ragia
> Date: Wed, 2 Dec 2015 14:12:46 -0800
> Subject: Re: [R] extract rows based on column value in a data frame
> From: bgunter.4...@gmail.com
> To: dwinsem...@comcast.net
> CC: ragi...@hotmail.com; r-help@r-project.org
&g
2 6 3 1.5 1
...
...
and so on
I tried
a<- split(df, df$v1==1)
but the resulting class is a list and when I try to access for example a$v2 it
gave me NULL ??
how can I split it an get each vector of v2 for each group,
lots of than
the server admin.
thanks in advance
Ragia
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org
many thanks for your help
its remote ubuntu server that I connect via Putty, and I install R and rstudio
, now trying to make it run..but it doesnt..its only terminal..I will try the
rstudio help mailing list as many of the list advice's me, many thanks prof for
your help
many thanks for all replies
Indeed I post the question on the rstudio support website, many thanks
Ragia
> From: istaz...@gmail.com
> Date: Wed, 23 Dec 2015 13:17:48 -0500
> Subject: Re: [R] R studio installation and running
> To: pda...@gm
Dear group
I have a script that prints data frames and plot using ggplot 2 while running,
how can I do this
thanks in advance
Ragia
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https
yes, the script prints that on the scree, when I used pd file to do the job
only ggplots appears on it !
hope this clarifies, thanks .
Ragia
> Date: Thu, 31 Dec 2015 17:19:35 -0800
> Subject: Re: [R] save screen printed data frames and ggplots
Dear group,
How to generate uniform probability choosing p to be 2% and 5%, in separate
trials for 100 times.
thanks in advance
RAE
[[alternative HTML version deleted]]
__
R-help@r-project.org mai
Dear Group,
I have data like the following
id contacts_list number of contacts
---
1 3 4 2
2 1 3 43
34 2 1 3
411
-
Hi,
I have a simple table of age and frequency
What data type should I use to represent this kind of data in R, and kindly how
can I plot it in a curve
thanks in advance
RAE
[[alternative HTML version deleted]]
___
dear group,
I had table of ages and their related frequancy.
What data type can I use to reoresent ir? Can I plot it in curve ?
thanks in advance
ARE
[[alternative HTML version deleted]]
__
R-help@r-p
Hi,
kindly I want to select randomly and item from list of items. the list
generated in a looping process.
I used sample(mylist,1) it works fine. BUTsome times the list have only one
item. that should be chosen in this case since there is no other one.
I found that sample return different item n
F
Hi,
An R function that should be run for about 50 000 times...
during execution some data saved in data frame
how can I view the progress of the function, even its counter..?
there are print stamens inside the code but nothing show up till the end of the
run !!!
other thing, is there any
Dear group
I have some thing like the following code...
##start
my_list (global object)
function 1
{
list1<-mylist
function2(list1)
function3(list1)
function4(list1)
}
function2(list1)
{
assign values via <<- to the object items
}
function3(list1)
{
assign values via <<- to the object items
}
Hi,
I used to write C++ code. write what i want in a function ..pass pointers if i
want to change the object real value...
here i want to ask
in R, igraphshould i write the script as lines without functions..to change
graph attributes or edges attributes or some values of the nodes
66 matches
Mail list logo