similar to: Basic question ( too broad for help topics).

Displaying 20 results from an estimated 100 matches similar to: "Basic question ( too broad for help topics)."

2006 Nov 09
1
POSIXlt converted to POSIXct in as.data.frame()
In trying to use as.Date(), I've come across the conversion of POSIXlt to POSIXct when a POSIXlt variable is included in a data frame: my_POSIX <- strptime(c("11-09-2006", "11-10-2006", "11-11-2006", "11-12-2006", "11-13-2006"), "%m-%d-%Y") str(my_POSIX) my_Date <- as.Date(my_POSIX) str(my_Date) data <- format(my_Date)
2013 Mar 20
3
summarize dataframe based on multiple cols, not their combinations
Hi folks, I'm trying to figure out how to get summarized data based on multiple columns. However, instead of giving summaries for every combination of categorical columns, I want it for each value of each categorical column regardless of the other columns. I could do this with three different commands, but i'm wondering if there's a more elegant way that I'm missing. Thanks!
2011 Nov 03
2
query about counting rows of a dataframe
Dear R users, I have got the following data frame, called my_df: gender day_birth month_birth year_birth labour 1 F 22 10 2001 1 2 M 29 10 2001 2 3 M 1 11 2001 1 4 F 3 11
2008 Jan 22
2
contingency table on data frame
I am sorry if this is a faq or tutorial somewhere, but I am unable to solve this one. What I am looking for is a count of how many different categories(numbers in this case) that appears for a given factor. Example: > l <- c("Yes", "No", "Perhaps") > x <- factor( sample(l, 10, replace=T), levels=l ) > m <- c(1:5) > y <- factor( sample(m, 10,
2012 Sep 13
1
remove all terms with interaction factor in formula
Hi Folks, I'm trying to find a way to remove all terms in a formula that contain a particular interaction. For example, in the formula below, I'd like to remove all terms that contain the b:c interaction. > attributes(terms( ~ a*b*c*d))$term.labels [1] "a" "b" "c" "d" "a:b" "a:c" [7]
2023 Jun 04
2
Adding a numeric class to a data.frame
R-Help Community How do I add a numeric class to a data .frame. For example, I have calculated the following probabilities 1 2 3 0.0011566127 0.0009267028 0.0081623324 How would I add them back into my data.frame for example My_df <- data.frame(col_1 = c('A', 'B', 'C')) such that I end up with col_1
2007 Jun 06
1
spgrass6 and aggregation (bis)
Dear all, I have some additionale question concerning the spgrass6 package. * When you set a region in GRASS, does the readGRASS6 function in R only load data contained in the zoomed region or the whole map ? * When you have a MASK map in grass, does the readGRASS6 function in R only load data contained inside the MASK area ? Could this be the problem ? Thanks, Jessica
2008 Jul 22
5
How to filter a data frame?
I have a question about how to filter the data frame: Suppose my data frame has variables like gender, age,... How to get a subset of the data frame, with only female (or male) and/or age > 50...? What is the typical syntax? I tried several condition expressions, but none of them worked... Thanks a lot! -- View this message in context:
2018 May 22
3
legend order in ggplot2
Hi, I'd like to graph three lines on ggplot2 and I intend the lines to be "solid", "dashed", and "dotted". The legend names are "name_b", "name_a", "name_c". I'd like to legend to present in the order: the "name_b" at the top, and "name_c" at the bottom. As a consequence, the legend is indeed in the order:
2006 May 01
3
Repeat dataframe
Hi R list: How can I "repeat" a data frame n times (with n>1000), and obtain a new data frame where all the n data frames are binded by rows? Thank you for your help Kenneth -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
2004 May 13
0
ISDN & Voicemail: Strange Behaviour
Hi, whenever I include a "Ringing" Line in some Voicemail Extension I get an error when a call from the outside (via ISDN) comes in, but it works when an internal (SIP-phone) calls the extension. Here is my configuration for testing: ------------extensions.conf------------ [isdnext] ; strep external "101", our number and leave only extension exten =>
2011 Feb 01
1
sqlsave and mysql database with autoincremental column
Hello, I'm trying to modify my r-script to use RODBC instead of DBI/RMySQL (no more ready-to-use package for windows). I would like to copy a data.frame of 44 columns to a table of 45 columns (the 45th is an autoincremental column). With the following commands, colnames(df)<- a vector with the names of the 44 columns
2011 Sep 16
0
CellarTracker is not necessarily representative of the broad
The one thing that the authors of the paper don't happen to devote much attention to, which I think is at least as interesting as all their other findings, is that in general, the greater wine drinking population doesn't think wines are as good as the major critics do. If I am understanding the data correctly, in all cases the community rating was below all of the critics
2006 Jun 28
1
Very slow read.table on Linux, compared to Win2000 [Broad cast]
From: Peter Dalgaard > > <davidek at zla-ryba.cz> writes: > > > Dear all, > > > > I read.table a 17MB tabulator separated table with 483 > > variables(mostly numeric) and 15000 observations into R. > This takes a > > few seconds with R 2.3.1 on windows 2000, but it takes > several minutes > > on my Linux machine. The linux machine is
2013 Feb 04
0
Re: Digest for rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org - 10 Messages in 6 Topics
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options,
2000 Aug 20
1
Compiled HTML and aliased topics
When I try e.g. help(as.symbol, chmhelp = TRUE) I get an error message in the help viewer (translated to english: "The page cannot be shown"). This happens for all aliased topics (i.e. aliased in the *.Rd file). So I have to know the "unaliased" name (here: "name") to get chtml help. Is it possible to get the behavior of "plain text help" (no problems
2017 Sep 11
0
hii this is suraj tamgale. i am a beginer and i want to start contributing to xapian if you have some good topics suggest i will contribute to it.
[This email is either empty or too large to be displayed at this time]
2007 Jan 25
0
Planning 48 Station Install, Need advice on several topics
I'm planning a new * system which will utilize 48 stations (Polycom Soundpoint 501s mostly) and a dual span PRI card and I have some questions. The system will host MeetMe conferences of 10-15 users on a regular basis and see fairly high usage as it is going into a medical setting. 1. I haven't built a system this big before, will a processor such as the Intel Pentium D 830 3.0GHz / 2MB
2005 May 25
0
announcement topics
i did some searching in the mailman code and have discovered that mailman uses the VERBOSE flag to the python regular expression package, which means that unescaped spaces in the regular expression are ignored. so you need to change the topics to be like: CentOS\ 4\ i386 or: CentOS[ ]4[ ]i386 i'm not sure how many backslashes will be necessary to make it through to the module correctly, so
2005 Jun 03
0
Topics in the CentOS-Announce list
I have been working with Joe Pruett (thanks Joe), to get the Topics feature for the mail list working. I think we now have the topics working fairly well. So if you only care about CentOS-3 i386 announcements (for example), you can pick that specific topic. There is also an option to pick the topics you care about, and all items that do not match any topics. (So that if we make an announcement