.
How to split rawdata into :
con - c(US,UK,Ind,Germany,France);
total - (10,12,4,14,8)
Any help will be appreciate.
Thanks Rg
Mohan L
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Dear All,
I have a data frame with 5 column and 201 row data. I want to add one
more column between column 1 and 2 with value of 1. So the new column
has to be the second column filled with 1. Any help will be
appreciated.
Thanks for your time.
Thanks Rg
Mohan L
frame does not there in the
other data frame, simple I want to add zero to ip,bsent,breceived
value.
I hope this can be done with R. Any help will appricated.
Thanks for you time.
Thanks Rg
Mohan L
__
R-help@r-project.org mailing list
https
, but it not working:
id - dbGetQuery(con1,SELECT id FROM tenants WHERE name LIKE '%str%')
I need help to replace the value of str . Any help will really appreciated .
Thanks for your time.
Mohan L
__
R-help@r-project.org mailing list
https://stat.ethz.ch
want to sum up the similar name into one row, like :
name ip Bsent Breceived
a62.43 20.83
b9 28.40 26.72
c
d
I need help to sum up. Thanks for your time.
Thanks Rg
Mohan L
__
R-help@r
Stopped
The first column contain the \\n up to 19 row. I need to replace the
\\N value to Blankspace . Any help will really appreciated.
Thanks for your time.
Thanks Rg
Mohan L
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman
this to setup working directory:
##set working directory
pwd - getwd()
if (!is.null(pwd)) {
setwd(pwd)
} else {
print(Directory not found)
}
Thanks Rg
Mohan L
[[alternative HTML version deleted
05/01/10 05/02/10 05/03/10
xxx 5793 29
yyy 8746 122
zzz
Any help will be greatly appreciated.
Thanks for your time.
Mohan L
[[alternative HTML version deleted
Dear All,
I have a data frame data with Jan , Feb as column. I using like this
data$Jan to take Jan column. I have the Jan in another variable
var1 - Jan
data$var1
I need to replace the variable value there . Any help will be greatly
appreciated.
Thanks Rg
Mohan L
[[alternative
2 1 2
9 ...
Thanks Rg
Mohan L
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide
to
another function to total .
Any help.
Thanks Rg
Mohan L
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting
using cost.
State Jan Feb
xxx 20
yyy 22
zzz 10
I not able to understand how to cost it. any help will be greatly
appreciated.
Thanks Rg
Mohan L
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
represent?
Hadley
The raw data is real estate property portal data. the numbers represent
how many 1 Bedroom house has registered in xxx state on particular months.
Then we will normalize the data and plot the graph for trend analysis.
Thanks Rg
Mohan L
[[alternative HTML version deleted
this choice
Error in `[.data.frame`(data, , variables, drop = FALSE) :
undefined columns selected
Thanks
Mohan L
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
help.
Thanks Rg
Mohan L
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented
Rg
Mohan L
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self
Hi Mohan,
Try this:
table(dummy$State,dummy$Months)
Jim
Thanks for your time.
table(dummy$State,dummy$Months)
in this case the state column becomes the row index. I want the state name
as the first column. There may be a way to do it.
Thanks Rg
Mohan L
[[alternative HTML
appropriated.
Thanks Rg
Mohan L
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide
appreciated.
Thanks Rg
Mohan L
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented
On Fri, May 21, 2010 at 11:27 AM, Mohan L l.mohan...@gmail.com wrote:
Dear All,
I have data some thing like this:
sample
StateJan Feb Mar
A 1 1 1
B1298 12931294
C00 0
D55 5
E 18
])*weightage[2])+Ja[1])
3 CCC 0
4 DDD5
5 EEE 18
6 FFF 68
I am struggling with this . I have framed a logic using for loop. But it
seems me very bad logic. Any help will be greatly appreciated.
Thanks Rg
Mohan L
[[alternative HTML version deleted
will be greatly appreciated.
Thanks Rg
Mohan L
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide
2 1
45 11 17 15 10 9
5 18 28 27 23 23 16
6 68 152 184 135 111 86
Total - sapply(x,sum,na.rm=T)
Total
Jan Feb Mar Apr May Jun
1390 1387 1440 1420 1306 957
I hope there may be alternative way. Any help will be appreciated.
Thanks Rg
Mohan L
State column. How to I
replace it as Total?
Thanks Rg
Mohan L
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting
11 17 15 10 9
5 EEE 18 28 27 23 23 16
6 FFF 68 152 184 135 111 86
7 Total 1390 1387 1440 1420 1306 957
I think I am doing right. If I miss understood anything. Please guide me I
am beginer to R.
Thanks Rg
Mohan L
[[alternative HTML version deleted
behavior will be if it is using the default
method). This may not be an issue, but it would hamper any subsequent
calculations you may wish to perform on your data.
Thanks for your great help.
Mohan L
[[alternative HTML version deleted]]
__
R
new line in existing file.
any help would be greatly appreciated.
Thanks for you time.
Mohan L
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
are true
if(Domain == xxx sex==FeMale)
I need the data in another variable, like this
1 01/11/09xxx FeMale 25 2
2 01/11/09xxx FeMale 35 4
3 02/11/09xxx FeMale 29 1
I have failed to achieve it . any help would greatly appreciated.
Thanks Rg
Mohan L
how to pass the argument to my sample.R, some this like
source(sample.R, xxx,FeMale)
Is it possible? any link will greatly appreciated.
Thanks Rg
Mohan L
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https
*100
224.504.50*100
334.504.50*100
448.678.67*100
How to achieve it? Any help will be appreciated.
Thanks Rg
Mohan L
[[alternative HTML version deleted]]
__
R-help@r-project.org
Mohan L
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self
Rg
Mohan L
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self
16.20743 18.52379
Thanks Rg
Mohan L
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
132.3732
06/11/09 00:00 07/11/09 00:00
129.6357 133.4521
Am I right ?
Thanks Rg
Mohan L
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
18.52379
But still it will not work :
avglog -
with(assame,tapply(as.numeric(levels(Login)[as.integer(Login)]),stdate,mean))
Error in tapply(as.numeric(levels(Login)[as.integer(Login)]), stdate, :
arguments must have same length
Thanks Rg
Mohan L
[[alternative HTML version
On Sat, May 1, 2010 at 11:55 AM, Tal Galili tal.gal...@gmail.com wrote:
Hi Mohan,
Check:
dim(bmtrend)
If the output is like the dimension of your data, then it would appear you
succeeded in reading in the data :)
Yes . You are right. It reads all the data.
Thanks you.
Mohan L
FeMale 29 0
I need to fine the average login on 01/11/09 and 02/11/09 etc... like below
stdate AverageLogin
01/11/09 9.75
02/11/09 .
03/11/09 ...
How do I find the average Login based on date?
Thanks for your time.
Mohan L
[[alternative
On Sat, May 1, 2010 at 11:02 AM, Mohan L l.mohan...@gmail.com wrote:
Hi All,
I am new to R and the mailing list.
I have a data file (.xls) format with little bit large (16 column,35000
rows ) data file. I am trying to read this file for calculation. I have
converted the file into .csv
=,)
bmtrend
will display something in the middle of display
[ reached get Option(max.print) -- omitted 30061 rows ]]
It will not show the full list of data.
please suggest me best way to read large file?
Thanks Rg
Mohan L
[[alternative HTML version deleted
39 matches
Mail list logo