Questions tagged [repeat]

"repeat" refers to the action of doing something over again.

Note that this tag can often be replaced by the more specific or tags.

3161 questions
0
votes
1 answer

How can I repeat complex element multiple times on the same page?

For example, I have social tab in my header which I want to also add to footer. Said tab consist of multiple buttons with SVG images on top, eventlisteners connected to buttons id's and CSS formatting. Obviously I can rewrite links from js script…
Maks111
  • 3
  • 2
0
votes
1 answer

Is it possible to add a .mark_rule to a .mark_bar series of repeated charts while using alt.repeat?

I am trying to add in a line to represent the mean on a series of charts. I would like a bar chart to be the primary focus with the additional line making it clear which athletes are above/below the mean. I have tried to add this through layering,…
0
votes
0 answers

In R I need to merge 2 df with repeated events and find time between 2 dates

I have a dataframe, df1, with ID and a surgery date, sx_date. Same patients can have multiple sx_dates. In another dataframe, df2, I have ID and sample dates. Again, same patient can have multiple samles taken and thereby repeated dates for same ID.…
r_newbie
  • 13
  • 2
0
votes
1 answer

POSIX (MySQL RLIKE) Regex to match A|B|C but eliminate D|E|F

I had a completely working version on my Windows XAMPP testbed (in PHP) SELECT... ...WHERE itemTitle RLIKE '(?=.*A)+(?=.*B)+(?=.*C)+^((?!D|E|F).)*$' that stopped working when I moved the site to a real server with the error "repetition operator…
URi613
  • 27
  • 2
0
votes
1 answer

Trying to scale images in the single column for narrower screens

I have a really simple centred homepage with clickable images 788x335 pixels. They will auto sort themselves to 3 columns, 2 columns, then 1 column when I decrease the screen size horitontally. But I can't figure out how to scale the images in the…
J4367
  • 1
0
votes
0 answers

How to repeat a function for several vectors?

I bet there is already an answer, but I simply can't find it. I have several scales and I want to use function "alpha" for each of them to get cronbach's alpha let's say scale nr.1 has the items: a_1, a_2, a_3, a_4 and scale nr. 2 has the items:…
el_
  • 5
  • 2
0
votes
1 answer

Is there a way to get a fixed number of random rows from an SQL table while allowing for repetions

For the example here we will use the table NAMES and I need 3 rows returned. id name 1 Alpha 2 Beta 3 Chi 4 Delta 5 Epsilon I know the code SELECT * FROM names ORDER BY RAND() LIMIT 3; will return 3 randomized rows. But it is…
0
votes
0 answers

Repeat Adding Time Interval to Date

I have an app that delivers local notifications after a set time to remind people to take a break. What I'd like to also have is the app to display the time when the next break will be. But I'm not sure how to have the time automatically update once…
BenG94
  • 23
  • 5
0
votes
1 answer

R how to convert the data.frame into time series one by one

I have a series of data.frame like r t 1 x 2 2 y 3 3 z 4 but I want to convert these three into time series, like q = xts(as.matrix(data[1,]), order.by = "2011-09-28") qq = xts(as.matrix(data[2,]), order.by = "2011-09-28") qqq =…
Eva
  • 917
  • 4
  • 18
  • 23
0
votes
0 answers

Create human-like click and input over page using JS

I want to replicate human actions over a page repetitively. My current app uses a JavaScript Chrome Extension. It clicks by detecting the element my cursor is on and using the .click() function. It inputs text over