Questions tagged [mixed]

259 questions
0
votes
1 answer

R: plotting actual vs observed with mixed effects model

I have a data set: date=c(56,54,112,230,250,134,114) species=c("pink","blue","pink","green","black","orange","purple") year=c(1901,2000,1958,1978,1992,1992,1994) loc=c("forest","river","river","cloud","cloud") …
John
  • 59
  • 1
  • 9
0
votes
0 answers

Mixed model with large sample size

I am currently doing a mixed linear model (using the lme function in R), and I have some problems. My dataset is about damages by brown bears in Slovenia. Slovenia was divided in 1x1km grids, and for each grid I have data of number of damages per…
0
votes
1 answer

how do I import an array with mixed floats and non-numeric strings, with strings converted to zeros

I have an array similar to [1.124, 5.152, 6.235, NaN, 5.124, Infinity]. And I would like to import it as [1.124, 5.152, 6.235, 0, 5.124, 0]. How do I do this?
user3470496
  • 141
  • 7
  • 33
0
votes
2 answers

AWK: How to remove a column deliminated by mixed delimeters?

I have a table with 100,000 rows. The format is like this: abc '\t' gi| a b c d e column abc is separated by tab while other columns are separated by space.I want to remove the column 'gi|' and keep all other columns. I tried use tab or | as my…
Gray
  • 481
  • 1
  • 4
  • 9
0
votes
1 answer

MySQL Mixed replication failed to replicate create table with auto_increment in composite key

When we try to create a table on a master-master MySQL MIXED replication, with a composite key containing an AUTO_INCREMENT column, it creates the table on the master but failed to do so on the slave. Here is the error we got on slave side: Error…
aligot
  • 259
  • 2
  • 7
0
votes
2 answers

Zebra ZPL code mixed mode QR data

This is my complete ZPL code for labels I will be printing. This contains mock data, as the finished code will be concatenated in to Excel for over 1000 labels. ^XA ^FO50,30 ^ADN,60,50 ^FD300957^FS ^FO50,170 ^ADN,40,25 ^FDGUIDE PIN…
Toons
  • 1
  • 1
0
votes
1 answer

perform operations next to a string in matlab

I have my data coming back as a cell which looks like this (each trade is underneath each other in the cell ie its a 5 by 4 cell): sell 50 FTSE 6500 buy 100 Eurostoxx 3300 buy 25 SP …
user2126062
  • 111
  • 11
0
votes
2 answers

How do I pull individual words from a list when needed?

#Word Jumble Game import random import string def jumbled(): words = ['Jumble', 'Star']#, 'Candy', 'Wings', 'Power', 'String', 'Shopping', 'Blonde', 'Steak', 'Speakers', 'Case', 'Stubborn', 'Cat', 'Marker', 'Elevator', 'Taxi', 'Eight', 'Tomato',…
Afu Ra
  • 5
  • 1
  • 8
0
votes
2 answers

Assigning SqlParameter.Value without knowing type or using mixed type array

I've got a data layer I'm working on that calls into a database three times with three different stored procedures. I initially created three different functions to retrieve three dimensionalities of results. The first returns a single value, the…
Joe M
  • 3,060
  • 3
  • 40
  • 63
0
votes
1 answer

reading header of each part in multipart request in Scala Play

I am trying to extract headers of each part in multipart request using Scala play. The inbuilt multipart handler parses data in Filepart. Filepart doesn't have any option to read individual headers of each part. It only has access to content type…
D_K
  • 65
  • 6
0
votes
0 answers

Fill byte array with mixed types at specific areas

I want to fill a byte array with the following structure. [Character][Number]@@[String] So the character needs 1 byte. The Number needs 2 bytes for numbers with two digits. Then there comes two @ and then a string. My problem is that the second…
0
votes
2 answers

Distance function for mixed attribute dataset

Is there any function to calculate distance between mixed attribute dataset. For example, how to calculate distance D = d1 - d2? where d1(100,TCP,1480) and d2(200,ICMP,1650).
0
votes
2 answers

What is faster: append html to an array or use mixed html/php

What is the faster way to output html in PHP that contains PHP variables? Version A:
... much more like this or Version B: $html = array(); $html[] = '
'; $html[] = &$var; $html[] =…
user2429266
  • 390
  • 1
  • 3
  • 19
0
votes
3 answers

MAMP htdocs on different drives

So I upgraded my MacBook Pro to use an ssd + hdd mixed drive setup. Before my mixed drive setup, MAMP and htdocs sat in the root Application folder. Now, I want MAMP to be able to stay in the root folder on my ssd but read the web apps that will be…
0
votes
4 answers

Javascript .toLowerCase/.toUpperCase in mixed mode

I try to code some function. I want to change every 2nd letter .toUpperCase. I get it to work with str.char[0].toUpperCase but have to do it with the whole char numbers manually (char[0],char[1],char[2]) and so on. Can someine help me out with an…
t.Prospect
  • 31
  • 1
  • 5