similar to: Data Frame (Very Simple Problem)

Displaying 20 results from an estimated 10000 matches similar to: "Data Frame (Very Simple Problem)"

2012 Sep 11
1
Animation Problem
Hi List, I am trying to build an animation and facing problem as animation is not coming "live". The goal is to build "heart beats" like diagram for the data given below. data : structure(list(date = 1971:1991, x = c(41L, 60L, 41L, 61L, 22L, 83L, 31L, 55L, 22L, 14L, 38L, 6L, 29L, 17L, 10L, 99L, 88L, 32L, 68L, 78L, 26L)), .Names = c("date", "x"), class =
2012 Sep 28
3
Simple Question
Hi Everyone, I am trying a very simple task to append the Timestamp with a variable name so something like a_2012_09_27_00_12_30 <- rnorm(1,2,1). Tried some commands but it doesn't work out well. Hope someone has some answer on it. Session Info R version 2.15.1 (2012-06-22) Platform: i386-apple-darwin9.8.0/i386 (32-bit) locale: [1]
2012 Sep 23
2
If Command in Plot
Hi Team, I am trying to very simple plot with command plot. Question : I am trying to plot (x,y) based on the value of Column e. If column e value is greater than 0 then plot(x,y) otherwise do not plot it. Data : structure(list(x = c(1, 1, 1, 2, 2, 2, 3, 3, 3), y = c(1, 2, 3, 1, 2, 3, 1, 2, 3), e = c(0, -1, -2, 1, 0, -1, 2, 1, 0)), row.names = c(NA, -9L), .Names = c("x",
2012 Oct 14
3
Pivot Table "like" structure
HI Team, I am currently working on problem and stumped on "for" loop. Data: structure(list(Coutry = structure(c(3L, 3L, 3L, 3L, 2L, 2L, 1L, 1L), .Label = c("J", "M", "U"), class = "factor"), State = structure(c(1L, 1L, 4L, 2L, 5L, 5L, 3L, 6L), .Label = c("A", "C", "K", "O", "S",
2012 Sep 24
2
Latitude Longitude to SPDF
Hi Team, Need your guidance in building SPDF objects from Latitude, Longitude Information available. I am using package "plotGoogleMaps" which is really awesome but it requires SPDF objects to build the maps. I have a data frame which have Latitude and Longitude information and wanted to convert it in SPDF for making maps. Please help me to find suitable package or function to convert
2012 Sep 18
1
Simple String Operation.
Hi List, This is kind of very simple but I am not able to understand how it works... I have a sentence like "Even in the mid-west spring is hardly for 3 weeks, while @south the scenario is different." There are some more example of the same nature and don't know the source yet. What i want to do is remove word after "@".. Solution i think of. 1.
2013 Jun 10
1
Sending Email with Attachment
Hi, I am trying to send an email through gmail or outlook from my Windows PC and finding trouble to send the email. The code which I am using is given below: Code : library("sendmailR") from <- "abcd@outlook.com" to <- <mailto:efgh@gmail.com> efgh@gmail.com subject <- "Run at" mailControl = list(smtpServer="blu-m.hotmail.com")
2012 Oct 25
1
cut point in ROC
var1 var2 var3 var4 var5 var6 var7 var8 var9 var10 gold 2 3 1 2 4 0 1 4 4 3 2 2 4 2 4 3 4 2 4 4 4 2 3 3 0 0 4 1 0 2 4 4 2 1 4 0 3 2 0 0 2 4 4 2 3 4 0 2 2 0 0 0 3 4 2 2 2 3 2 2 0 0 0 2 4 2 2 4 1 1 2 0 0 3 3 3 2 3 4 1 4 0 0 0 0 3 4 2 3 1 0 2 2 1 0 2 3 3 2 0 3 1 1 1 1 2 1 2 3 2 1
2010 Sep 26
4
How to update an old unsupported package
Hi all, I have a package that is specific to a task I was repetitively using a few years ago. I now needed to run it again with new data. However I am told it was built with an older version or R and will not work. How can I tweak the package so it will run on 11.1? It was a one-off product and has not been maintained. Is there a way to "unpackage" it and repackage it to work? I
2012 Oct 09
1
General question
Hi, I am currently working in Linux server and wanted to play with our beautiful R software over there. However as its a company server and have lots of restrictions so I am thinking to install it in my home directory. I have three questions in this regard. 1. Is it possible. 2. Is it safe for me and my company data. 3. How can I do that. Please help me to solve this questions and thanking you
2012 Oct 02
1
Ifelse Execution
Hi Everyone, I am trying to run a time based query and need some of your help. Not much of data or packages. Just a simple one. Query I am trying to execute. ifelse ((as.numeric(as.POSIXct("2012-10-01 20:38:00"))), (rnorm(1,2,1)),(Sys.sleep())) Note. Why I am using as.numeric is as I have a list of time at which I wanted to run the command. Something like 1349142243 1349138667
2010 Sep 03
1
Help on Select.list
Hi R, I am using select.list names=c("Ravi", "Raj","Shubha","Nivriti") select.list(names) provides a drop down to choose one of the 4 names. However I would like to know if it is possible to create a classification something like this select.list(names) should give Boys Ravi Raj Girls Shubha Nivriti I should be able to choose
2011 Apr 11
1
RExcel
Hi, I am installing Excel using package "RExcelInstaller". When I tried to run installRExcel() I got this error message: You don not have the R package rcom installed. The (D)COM server installed which will aloow you to use the background server in RExcel. Since rcom is not installed, foreground mode will be unavailable. You may continue with the installation, but in most
2010 Jan 01
4
How to use read.table with Hebrew column names ?
Hello dear R help group, I am trying to read a .txt file, with Hebrew column names, while keeping the column names looking well in R - but without success. I uploaded an example file to: http://www.talgalili.com/files/aa.txt And am trying the command: read.table("http://www.talgalili.com/files/aa.txt", header = T, sep = "\t") This returns me with: X.....ª X...ª......
2011 Nov 29
2
aggregate syntax for grouped column means
I am calculating the mean of each column grouped by the variable 'id'. I do this using aggregate, data.table, and plyr. My aggregate results do not match the other two, and I am trying to figure out what is incorrect with my syntax. Any suggestions? Thanks. Here is the data. myData <- structure(list(var1 = c(31.59, 32.21, 31.78, 31.34, 31.61, 31.61, 30.59, 30.84, 30.98, 30.79, 30.79,
2012 Oct 16
1
cannot open gplots libray
hi all i'm trying to open gplots library but i keep on getting this error: /Loading required package: gdata Error in readRDS(mapfile) : embedded nul in string: 'ref\0\0\002\0\0\0\0' Error : unable to load R code in package ?gdata? Error: package ?gdata? could not be loaded/ if i run session info the results are: /> print(sessionInfo()) R version 2.15.1 (2012-06-22) Platform:
2013 Jan 17
2
error installing KEGGSOAP
Hi, I am new to bioconductor, trying to install KEGGSOAP package, but got warnings() when installing and error message when trying to load the package, can anyone suggest what went wrong? many thanks John > source("http://bioconductor.org/biocLite.R") Bioconductor version 2.11 (BiocInstaller 1.8.3), ?biocLite for help > biocLite("KEGGSOAP") BioC_mirror:
2012 Jul 10
1
identify.hclust() doesn't cut tree at the vertical position of the mouse pointer
Dear All According to the identify.hclust documentation the function "cuts the tree at the vertical position of the pointer and highlights the cluster containing the horizontal position of the pointer". When I carry out this, the tree isn't cut where I click - in fact, there seems to be a limit below which I cannot go. Consider the following code: mat <- matrix(rnorm(5000),
2013 Feb 18
1
compare posterior samples from R2OpenBugs and R function bugs{R2WinBUGS}
Hi all, I used both OpenBugs and R function bugs{R2WinBUGS} to run a linear mixed effects model based on the same data set and initial values. I got the same summary statistics but different posterior samples. However, if I order these two sets of samples, one is generated from OpenBugs and the other is generated from R, they turn to be the same. And the samples from R do not have any
2010 Feb 19
1
eha aftreg performance
G?ran, thanks for the update, I'm just about to install it! Just wanted to drop you a short line about performance (as you once requested): aftreg takes ages on my windows machine to calculate a small set of 7 observations which are not even grouped together by "id". To be a bit more precise, it takes 2:40 mins on my Intel T9300 Core2 Duo @ 2.5 GHz. Bigger samples with about 700