Displaying 20 results from an estimated 3000 matches similar to: "Column with codes"
2012 Nov 15
2
Adding two different factors to one observation?
In a data frame, I would like to assign two or more factors to one
observation. Is it possible? If so, how?
Example: In the variable $ dishes, there are several levels: "cup",
"plate", "saucer". In my first observation, I see a saucer only. But in
the second one, I see a cup and a saucer. In the third, however, there
is only a cup, in the fourth a plate only and
2012 Mar 07
4
problem with data
Good Afternoon,
?? I have a small problem with the following code.
# The x.sub$Time[[1]] 2006-10-31 19:03:01 EST
# when put in variable star give-me
star<-x.sub$Time[[1]]
print(star)
print(x.sub$Time[[1]])
[1] 1 36 32 -........
do not understand why
--
View this message in context: http://r.789695.n4.nabble.com/problem-with-data-tp4453510p4453510.html
Sent from the R help mailing
2012 Mar 08
8
Copy dataframe for another
I'm trying to copy the results of a dataframe to another within a cycle for
but I am not able to implement the rbind, because give th
d<-Null
df<-NULL
for(r in 2: nrow(x))
{
val_user<-x.name[[r]]
pos<-x.pos[[r]] -4
age <-x.age[[r]]
d<-data.frame(val_user,pos,)
print(d)
}
df<-rbind(df,d)
}
someone can help me solve this
Thanks
2002 Dec 04
2
Won't %L work anymore?
I am trying to run multiple instances of samba on the same unix host. This
is being done so that I can functionally breakdown the usage into, for
example, a "finance" server and an "engineering" server. This is not
based upon the client or the user, but based upon the virtual server.
My first attempts were a real problem in that, though the config file
could be specified on
2015 Feb 05
3
Another Fedora decision
On Thu, February 5, 2015 9:34 am, Always Learning wrote:
>
> On Thu, 2015-02-05 at 09:51 -0500, Lamar Owen wrote:
>
>> On 02/04/2015 07:55 PM, Always Learning wrote:
>> > Rent ? That costs money. Just crack open some Windoze machines and do
>> > it for free. That is what many hackers do.
>>
>> Those crackers who build these botnets are the ones who
2012 Mar 13
2
Matrix Another table
I have next table
source destine
3 3
7 7
6 6
3 4
4 4
4 3
3 3
3 3
3 3
3 3
3 4
4 4
4 3
3 4
4 3
I'm trying to create an array with the number of occurrences between the
source and destination. id_ap<-levels(factor(df$v_source))
num_AP<-length(levels(factor(df$v_source)))
mat<-matrix(data=NA,nrow=num_AP,ncol=num_AP,
byrow=TRUE,dimnames=list(id_ap,id_ap))
1 2 3 4 5 6 7
2006 Aug 10
2
problem - please help
Hi there,
I''m following the ''Agile Web Development with rails'' book and have got
to page 89 - and hit a problem.
I entered into the command line:
ruby script/generate controller store index
The book says you should see something when you point to:
http://localhost:3000/store
but all I get is:
Routing Error
no route found to match "/store/index" with
2011 Oct 24
2
Plot Legend
Good Afternoon,
I am inexperienced in data visualization R. so I wonder if someone can help
me.
I am using the generic database mtcars.
I would like to change the chart plot, instead of appearing the name of the
medicine, I wanted a symbol in the chart drugX arise for example in a yellow
circle, and so for the rest of the drugs.
I am using the following code.
dataset
Age Sex BP
2009 Sep 15
2
precision multi-page printing
I am at a point where I will need to print checks in an application.
I guess the best way to describe this is that I am using pre-printed
checks and that I want to hit the prescribed areas with my text output.
Should I be doing something like PDF output like pdf-writer or other or
can I possibly do this with html and css?
My output will be check runs of many checks with 1 page per check.
Any
2016 Jan 06
2
No joy with my first AGI Python script
It's very simple but it doesn't work. Here's the entire script.
#! /usr/bin/python
import sys
env = {}
def comm(cmd):
sys.stdout.write(cmd.strip() + '\n')
sys.stdout.flush()
return sys.stdin.readline().strip()
while 1:
line = sys.stdin.readline().strip()
if line == '': break
key,data = line.split(':')
if key[:4] == 'agi_':
2009 Jun 29
2
Exporting large datasets
Hi all,
I am currently working on a particularly large (data wise) project, the
problem I am having is with exporting the data (for use later on). My
current sample dataset contains about 400million entries (approximately
20000 columns x 20000 rows). I tried using the write.table command, but 8
hours later its still going. I will be trying write.matrix (MASS) next as it
is supposed to handle
2015 Feb 05
1
Another Fedora decision
On Thu, February 5, 2015 10:08 am, Always Learning wrote:
>
> On Thu, 2015-02-05 at 09:41 -0600, Valeri Galtsev wrote:
>
>> >> > wac4140SoeTer'#621strAAt0918;@@
>> >
>> > Gee thanks. I'll use it for root on every server ;-)
>
>> I know this is joke. Yet (in a slim chance someone out there can follow
>> it
>> with seriousness)
2017 Aug 10
1
new install on Centos 7
>> Or consider compiling it yourself from source. It may be more work, but
>> you get complete control over your versioning, your package dependencies,
>> etc. If a bug that affects you gets fixed on a bleeding edge version
>> (or is only available as a patch), you can fix it right away rather than
>> waiting for the package maintainer to catch up to it.
>
>
2011 Jul 13
3
C6: Suspend on laptop close doesn't work
Hello,
I've been running Fedora on my Lenovo X61s laptop for many
(Fedora) generations.
Fedora 15, however, was not my cup of tea, so I've decided to wipe
out Fedora, and do a clean install of CentOS 6 (x86_64).
Everything works OK, except that the laptop does not suspend when
I close the lid.
I've checked the settings in "Power Management", and it is set
to suspend when
2006 Dec 14
1
legend/plotmath/substitute problem
Dear R Experts,
I am trying to produce a legend for a series of plots which are
generated in a loop. The legend is supposed to look like this:
2000: gamma=1.8
where gamma is replaced by the greek letter and both the year and the
value of gamma are stored in variables.
Everything works fine as long as I have only one data series:
year = 2001
g = 1.9
plot(1)
legend('top',
2017 Nov 19
2
tcltk problems
On 19 November 2017 at 12:17, peter dalgaard wrote:
| Dirk may want to dig in here:
I respectfully decline.
R builds fine on every Ubuntu system, and always has. No bug in R, or
Ubuntu, or Debian (which would be cup of tea). There is the distro package
(which may be older if an older distro like 16.04 is used) and there always
is a current package at CRAN based on Michael's build of my
2008 Jan 02
2
Java applets plugins for Mozilla Firefox
I'm trying to view some websites which require Java applets to be
installed in the web browser - how do I install these please as I
haven't found a simple/obvious way to do it with yum?
Thanks,
Andy
2014 Jul 09
0
Documenting the NUT driver-qualification process
On Jul 9, 2014, at 11:24 AM, Ted Mittelstaedt <tedm at mittelstaedt.us> wrote:
> Someone could write a driver for MODBUS for NUT, all of the information
> and materials are available to do it. The simple fact of it is that the
> reason no one has done so is that the apcupsd program is available.
You're right, it's the microlink protocol that they have been promising to
2014 Jul 09
2
Documenting the NUT driver-qualification process
On 7/9/2014 6:51 AM, Charles Lepple wrote:
> On Jul 9, 2014, at 6:31 AM, Eric S. Raymond<esr at thyrsus.com> wrote:
>
>> What I'd like to do is this: confer in real-time, perhaps via IRC,
>> with someone who knows this process. Ask about every step
>> (thought processes and diagnostics). *Write them down* and turn
>> this into a document on how to qualify
2009 Sep 05
5
Filling Wx::ListCtrl with contents
Hi all,
I''ve got a question concerning ListCtrl_virtual of wxRuby since I see no
way filling the list with dynamic contents. I''m new to Ruby so I maybe
have to apologise for my request.
The problem is, that I have to define the on_get_item_text(item, col)
function. There I would like to use the item and col variables to read
data from a two-dimensional array. My very problem