Displaying 20 results from an estimated 7000 matches similar to: "reading of a matrix"
2008 Jul 10
3
Sorting a matrix
Hi,
I want to sort a matrix by a specific variable without changing the
row binding between variables.
Ex.
Name Sex Age
Fred M 24
John M 18
Mary F 21
ordered by Age
Name Sex Age
John M 18
Mary F 21
Fred M 24
Thanks
Angelo
2014 Dec 08
1
Centralized Monitoring of Question
Hello Sir/Madam,
I have a question related to UPS monitoring by SNMP cards via NUT(Network UPS Tools).
We have a few SNMP Cards (MEGATEK) that connecting to a number of UPS`s. We need a centralized program to monitoring of our UPS`s.
We want to know that, NUT can help us?
Operating System: Windows or Linux
SNMP Card type: Netagent model for MEGATEK company (www.megatec.com.tw).
Yours
2008 Nov 07
5
grouping data together
Hi.
i have a data, and there is 3 columns, Month, Year and Total. and there is
over 1000 rows for them because there is 87 years data for every month, so
there is month from Jan-Dec, and year from 1900-1987,
so i was wondering if i would want to make 12 groups (Jan,Feb.......,Dec),
and put each year's total into the corresponding month (so every month group
will have 88 values of total)
how
2008 Jun 12
3
Adding new columns to (output) data - e.g., read 5 cols write 8
Hello, I have the following task I'd like to accomplish:
A file contains 5 columns of data (several hundred rows), let's call
them a, b, c, d and e (ie these are their column headers)
I also have a set of definitions, e.g.,
f = a + b
g = a * 3
h = c + d
etc.
I would like to write out a new .rda file that contains columns
a b c d e f g h etc.
I.e. , the original data plus new columns
2005 Aug 18
2
lme model: Error in MEEM
Hi,
We have data of two groups of subjects: 32 elderly, 14 young adults. for
each subject we have 15 observations, each observation consisting of a
reaction-time measure (RT) and an activation maesure (betadlpcv).
since we want to analyze the influence of (age-)group and RT on the
activation, we call:
lme(betadlpcv ~ RT*group, data=our.data, random=~ RT |subject)
this yields:
Error in
2005 Aug 30
8
Who can help me?
I have own function wrote. I used an algorithm, which was written in Matlab.
in matlab:
...
gamma = inv(v)*g;
...
#v = matrix of variable size, v=vv(k) => k=2 => dimension of v 2x2
#g = a line vector with 4 elements e.g. g=[1,0,2,0];
my rewritten r-file:
...
gamma = solve(v)*g;
...
which is my error? Who can help me?
thank you in advance.
Chris
--
Lust, ein paar Euro nebenbei zu
2009 Nov 05
2
Merge records in the same dataframe
Hi:
Suppose that I have a data frame as below
x1 x2 x3 ... x10 wk1 wk2 ... Wk208 (these are the column names)
For each record, x1, x2, x3 ... x10 are attributes. and wk1, wk2, ..., wk208 are the sales recoreded for this attribute combination. Suppose that now, that I want to do the following
1. Merge the data frame so that I have a new data frame grouped by values of x2 and x3 (for example).
2012 Aug 27
6
find and replace
I have 5 (A,B,C,D,E) columns in my dataframe. I want to replace all "x" with "y" and all "a" with "b" within these 5 columns. Can I do it in one step?
Thanks
[[alternative HTML version deleted]]
2005 Dec 09
4
Feature request FLAC
Dear all,
I am an active FLAC user and like the program a lot! Thanks for your
great work. Since I am not a developer I cannot modify the program on my
own.
Maybe you might be interested in features I would find useful. Maybe others
find them interesting as well and you find the time to implement them.
1. Add encoder options:
a) Skip silence (leading and ending) would give the option to skip
2004 Jul 21
3
How to sort TWO columns ?
Dear ALL,
I fear my question has already been answered many times before, but I
haven't fund that in archives...
I am working on spatial datasets and, in most arrays I'm handling, there are
two columns dedicated to (x,y)-coords.
For different reasons - notably to draw image() plots, I need to have these
two columns sorted in increasing order.
But sort() and order() seem to apply to
2005 Dec 22
1
strsplit with dataframes
Hello fellow R people,
I can not figure out a pretty way to use strplit with vectors
Imagine that I got the following data from someone with ID's
representing several factors
ID data
A1-B1-t1 0
A1-B1-t2 1
A1-B2-t1 5
A1-B2-t2 10
A1-B10-t1 0
A1-B10-t2 1
A1-B20-t1 5
A1-B20-t2 10
...
I would like to turn this dataframe to
station substation time data
A1 B1 t1 0
A1 B1 t2 1
A1 B2 t1 5
2009 Jul 25
1
regex expression to select row or column
I have a multidimensional data which looks like the following:
"S1-a" "S2-b" "S3-c" "S4-d" "S5-a" "S6-b" "S7-c" "S8-d"
"T1-A"
"T1-B"
"T1-C"
"T1-D"
"T2-A"
"T2-B"
"T2-C"
"T2-D"
I read it from csv file and would like to have 16
2004 May 16
7
Grandstream v1.0.4.68 firmware
Grandstream v1.0.4.68 firmware
http://www.hellofone.com/downloads.html
Seems to have loaded ok on my BT100..
--
Best regards,
Duane
http://www.cacert.org - Free Security Certificates
http://www.nodedb.com - Think globally, network locally
http://www.sydneywireless.com - Telecommunications Freedom
http://happysnapper.com.au - Sell your photos over the net!
http://e164.org - Using Enum.164 to
2010 Oct 21
5
SIP Blacklisting
Hi,
Given the recent increase in SIP brute force attacks, I've had a little idea.
The standard scripts that block after X attempts work well to prevent you actually being compromised, but once you've been 'found' then the attempts seem to keep coming for quite some time. Older versions of sipvicious don't appear to stop once you start sending un-reachables (or straight
2011 Dec 22
3
delete all columns with all values equal to zero
Hello all:
I'm sure this is quite simple, but I tried several options and I still can't
get I right.
I've got a data.frame and I want to delete all columns of which the sum is
zero.
Any ideas? Thanks,
Frederico Mestre
[[alternative HTML version deleted]]
2008 Jul 03
2
How do I paste double quotes arround a character string?
Hi R Community:
I've got a character string that looks like: New Mexico
How to I create the new character string that looks like: "New Mexico"
That is, it is the original string (New Mexico) with double quotes
infront and behind it?
Thanks,
Phil Smith
2007 May 08
4
minimum of each row in a matrix
Hallo,
I just followed the discussion of the title: minimum from matrix.
I have a similar problem.
> a=matrix(c(0,2, 0, 0, 1, 3, 0, 3, 2, 0, 3, 5, 0, 4, 0, 0),ncol=4)
> a=rbind(a,1:4)
> a
[,1] [,2] [,3] [,4]
[1,] 0 1 2 0
[2,] 2 3 0 4
[3,] 0 0 3 0
[4,] 0 3 5 0
[5,] 1 2 3 4
>
> minOfColumns=apply(a, 2, function(x)
2007 Apr 19
2
element search
Dear R-experts,
I have got an excel file as attached. I imported it successful with the
commands:
library(RODBC)
channel <- odbcConnectExcel("data2.xls")
tables <- sqlTables(channel) # list the names of the spreadsheets
name1 <- tables[1, "TABLE_NAME"] # get the name of the 1st spreadsheet
plan1 <- sqlQuery(channel, sprintf("select * from [%s]",
2018 Aug 13
2
Call for testing: OpenSSH 7.8
On Aug 13 13:19, Corinna Vinschen wrote:
> On Aug 10 11:16, Damien Miller wrote:
> > Hi,
> >
> > OpenSSH 7.8p1 is almost ready for release, so we would appreciate testing
> > on as many platforms and systems as possible. This is a bugfix release.
>
> Problems building on Cygwin, partially a result of a new GCC version.
> I'm still collecting and fixing. I
2007 Mar 29
5
SVN commit hook checks
I know someone completed this but I''m not sure the hows and whats of it.
Can someone put up a doc or email about this?