Displaying 20 results from an estimated 500 matches similar to: "multiply two matrixes with the different dimension column by column"
2006 Oct 12
3
Cross two dataframe
Dear r-users!
I would like to cross two data frame which have the same row number but
different in the number of column. Can anybody help me for this case ?
Thanks a lot in advance
--------------------------------------------------------------------------------
Majid Iravani
PhD Student
Swiss Federal Research Institute WSL
Research Group of Vegetation Ecology
Z?rcherstrasse 111
2007 Feb 01
2
How can I calculate conditional mean in a large dataset including date data
Dear R users,
I have a dataframe with two columns: first column is date data (e.g.
1/1/2000 with character format: daily data from 1/1/1970 till 31/12/2003)
and second column is temperature value. Now I'd like to calculate mean for
each month in a year (i.e. May 2001, June 1997) and mean for each month in
all of years. As the number of days in some months is different from others
I could
2007 Jul 07
2
random sampling with some limitive conditions?
I want to gain thousands of random sampling data by randomizing the
presence-absence data. Meantime, one important limition is that the row and
column sums must be fixed. For example, the data "tst" is following:
site1 site2 site3 site4 site5 site6 site7 site8 1 0 0 0 1 1 0 0 0 1 1 1 0
1 0 1 1 0 0 0 1 0 1 0 0 0 0 1 0 1 0 1 1 0 1 0 0 0 0 0 0 1 0 1 1 1 1 1 1 0 0
0 0 0 0 0 0 0 0 1 0 1 0
2006 Sep 26
1
How to "Pack" a matrix
Hello,
Suppose I have a matrix a where
a= sp1 sp2 sp3 sp4 sp5 sp6
site1 1 0 1 1 0 1
site2 1 0 1 1 0 1
site3 1 1 1 1 1 1
site4 0 1 1 1 0 1
site5 0 0 1 0 0 1
site6 0 0 1 0 1 0
And I want to pack that matrix so that the upper left corner contains
most of the ones and the bottom right corner contains most of the zeros
so that matrix b is
b= sp3 sp6 sp4 sp1 sp2 sp5
site1 1 1 1 1 0 0
site2
2005 Jun 16
1
mu^2(1-mu)^2 variance function for GLM
Dear list,
I'm trying to mimic the analysis of Wedderburn (1974) as cited by
McCullagh and Nelder (1989) on p.328-332. This is the leaf-blotch on
barley example, and the data is available in the `faraway' package.
Wedderburn suggested using the variance function mu^2(1-mu)^2. This
variance function isn't readily available in R's `quasi' family object,
but it seems to me
2011 Dec 01
3
vector
Hi.
Can you please answer to my questions about R ?
1.how can I write command for vector ?
for exaple in this sample :
I have this :
a1 <- c (1:10)
now how can I put in the vector ?
bye for now,
Thanks a lot.
Majid.
[[alternative HTML version deleted]]
1998 Dec 22
2
Problems with SMB.CONF (2nd)
Majid,
On Wed, 23 Dec 1998 00:20:31 +1100, Majid Tajamolian wrote:
>> >; hosts allow = *.bol.sharif.ac.ir
>> >; hosts allow = .bol.sharif.ac.ir
>> >; hosts allow = 194.225.42.*
>> > hosts allow = 194.225.42.
>> >2. As you see above, if I use a domain detector except with the format
>> > "194.225.42." , clients on our LAN
2012 Jan 15
1
Correct Localized Numbers on Plots, related to glibc!
Dear R Helpers,
I want to localize my plots, i.e. the numbers by x & y axis be
Persian, using Persian numerals and Persian decimal separator. I
change the locale to fa_IR.utf8, but nothing on plots change. I can
change the numerals shaping to Persian ones (???? instead of 1234)
using some non-standard fonts but the decimal point is a problem. I
asked about that in Persian-Computing mailing
2009 Feb 03
1
overlaying plots from a list of data frames
Hello R list,
I have a list of data frames, in the form (dump output for an example
list follows message):
$site1
year data
1 2000 0.03685042
2 2001 0.02583885
6 2005 0.02480015
7 2006 0.03458745
$site2
year data
1 2002 4.071134e-03
2 2003 -4.513524e-08
3 2004 8.336272e-08
4 2005 2.270803e-08
5 2006 1.263597e-02
6 2007 NaN
I would like to plot each
2005 Nov 03
4
merging dataframes
Dear List,
I often have to merge two or more data frames containing unique row
names but with some columns (names) common to the two data frames and
some columns not common. This toy example will explain the kind of setup
I am talking about:
mat1 <- as.data.frame(matrix(rnorm(20), nrow = 5))
mat2 <- as.data.frame(matrix(rnorm(20), nrow = 4))
rownames(mat1) <- paste("site",
2004 Jul 06
1
Samba 2.2.8.a for Solaris
Hi,
I just downloaded and installed samba2.2.8.a on a sun4u sparc box running Solaris8. The installation process completed w/o errors and I can now confirm that by "$pkginfo -l samba". I can even start and stop samba by "/etc/rc3.d/S99samba.server start" and see that smbd and nmbd processes are running. However, I can not find the "configure" file in the source
2004 Sep 30
4
Can't add new users
Hi all,
I tried to add a new user to a Samba share, I did all the usual: made a Unix account on the Unix server for the user which was the same as the user's window's UID. Put her name as a valid user for that directory in server:/etc/opt/samba/smb.conf, and stopped and started server:/sbin/init.d/samba server; nothing worked.
Interesting observations: 1- After performing the steps
2012 Jun 10
1
How to see the implementation of print function for a class from a package?
Dear R-helpers,
I want to see the code used when printing (using print(object) or by just
typing the object name) for a class from a package.
I can see the summary code using packagename::summary.classname but nothing
for print method and also plot methods.
In general, how can I see the COMPLETE code for a package? not just the
function defs?
--
Majid Einian,
PhD Candidate in
1998 Dec 21
1
Problems with SMB.CONF
Hi everyone,
I installed SAMBA-1.9.18p10 on my computer which is a LINUX 2.0.30 and
configure it with the following smb.conf file:
========================================================== BEGIN
[global]
load printers = no
guest account = nobody
workgroup = SAMBA
wins proxy = no
wins server = 194.225.42.33
log level = 1
log file = /usr/local/samba/var/log.%m.%a
max log
2004 Jul 07
1
Configuration of Samba 2.2.8.a for Solaris
Hi all,
I installed samba successfully on our Solaris8 server. A friend who had previously installed and configured samba told me that at some point in the configuration samba will ask you to enter the NT domain administrator's password for it to be able to join the domain and be able to communicate with it. Would you please tell me what script/command I need to execute to allow me to do
2005 May 17
1
Samba server suddenly started asking for authentication of the us ers
Samba Server Name: hamilton
Samba Server OS: HP-UX 11.11
Samba Version: 2.2.3.a
Hi All,
I have the same version of Samba running on many of our HP servers with almost identical smb.conf file and configured the same way. No other Samba server seem to be having any problems except this one (hamilton). When a legitimate user tries to access a Samba share from a Windows client, it asks for his/her
2011 Apr 20
2
Error Installing or Updating Packages (Maybe because of a proxy)
Dear R Helpers,
(I am using Ubuntu lucid and R 2.13.0
When I try to update packages I get this error:
> update.packages()
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
Error in ret[i, ] <- c(pkgs[i], lib, desc) :
number of items to replace is not a multiple of replacement length
I had no problem before (case 1) but now (case 2) I cannot get
2011 Nov 01
1
Multiple time series with zoo
Thanks for everyone's input so far, it is greatly appreciated. But I've got
one last task I could use some advice on
Here are the first few lines of my data set:
site,time_local,time_utc,reef_type_code,sensor_type,sensor_depth_m,temperature_c
06,2006-04-09 10:20:00,2006-04-09 20:20:00,BAK,sb39, 2, 29.63
06,2006-04-09 10:40:00,2006-04-09 20:40:00,BAK,sb39, 2, 29.56
06,2006-04-09
2010 Jan 14
2
paired repeated measurements
I have the following problem:
I measured co2 on 6 paired sites (one grubbed and one non-grubbed
fence per site -> grubbing = treatment). These measurements I repeated
15 times over 2 years. So, now my problem is how to analyze these
data. I tried the following model:
mod1_CO2<-lme(co2~treatment+time,random=~1|site,data=CO2_t1_t15)
I think with the random effect I included the paired
1999 Jan 04
0
SAMBA digest 1925
samba@samba.org schrieb:
> SAMBA Digest 1925
>
> For information on unsubscribing see http://samba.org/listproc/
> Topics covered in this issue include:
>
> 1) UNIX to PC
> by Shaun Lennox <shaun@countyfair.co.za>
> 2) Connect to exported filesystem from NT via a net use cmd
> by "Xia Tian"