« first day (2480 days earlier)      last day (916 days later) » 

12:24 AM
1
Q: In R, how to model one level of a factor with another level of the same factor using lm() on a tidydata frame

mattbI'm working on the publicly available dataset 'FEV.dat' on this page (raw data here) and am trying to fit a linear model. I can do this without issue when the data is in wide format, but once I put it into a tidy format, I don't know how to fit the same model. Here is my code: library(tidyverse) ...

 
12:36 AM
4
Q: Tiling the plane with finitely many congruent pieces

James ProppSuppose $A_1,\dots,A_n$ are measurable subsets of the plane that are all related by rigid motions such that $|(A_1 \cup \dots \cup A_n)^c| = 0$ and $|A_i \cap A_j| = 0$ for all $1 \leq i < j \leq n$, where $|S|$ denotes the Lebesgue measure of $S$. Must each $A_i$ have the property that $|A_i \ca...

 
 
4 hours later…
5:05 AM
1
Q: Reference for the Hodge diamond of the Iwasawa threefold

AmorFatiLet $X = G/\Gamma$ denote the Iwasawa threefold, where $$G = \left\{\begin{pmatrix} 1 & z_1 & z_3\\ 0 & 1 & z_2\\ 0 & 0 & 1\end{pmatrix} : z_1, z_2, z_3 \in \mathbb{C} \right\},$$ and $\Gamma$ is the discrete subgroup $$\Gamma=\left\{\begin{pmatrix} 1 & z_1 & z_3\\ 0 & 1 & z_2\\ 0 & 0 & 1\end{pma...

 
 
2 hours later…
7:33 AM
2
Q: Confusion on the matter of raising complex numbers to rational powers.

BarbatulkaI have been going over Courant’s textbook on Calculus (“Differential and Integral Calculus, Vol. 1”) and I have stumbled upon a problem I literally have no idea how to approach. It is located in the problem set of Appendix 2 to Chapter 1, and it states that I shall evaluate the expression $(3-3i)...

 
 
8 hours later…
3:03 PM
2
Q: Solve the equation in positive integers.

Mohit KumarSolve the equation in positive integers for $ x,y $ $$ \frac{47}{\sqrt x} \ + \ \frac{43}{\sqrt y} = \frac{1}{\sqrt {2021}}$$ I tried factoring , squaring , putting integer restrictions but didn't seem to go anywhere. Please provide the way through.

 
 
2 hours later…
5:11 PM
0
Q: How to add new in Build Action from a package

XenohonI want to add a new item/type under Item > Properties > "Build Action" from a package(i.e. nuget) I used Avalonia as a reference: Item Schema File Avalonia.props Avalonia.target AvaloniaBuildTasks.props AvaloniaBuildTasks.targets Avalonia.csproj I cut out a lot of unnecessary stuff, which left...

 
5:29 PM
6
Q: How to execute raku script from interpreter?

conI open raku/rakudo/perl6 thus: con@V:~/Scripts/perl6$ perl6 To exit type 'exit' or '^D' > Is the above environment called the "interpreter"? I have been searching forever, and I cannot find what it's called. How can I execute a rakudo script like I would do source('script.R') in R, or exec(open...

 
 
2 hours later…
7:29 PM
0
Q: Validation.EncodingRequired CWE 116 by appscan

Second OneI am getting Validation.EncodingRequired for this code public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { FileUploadForm uploadForm = (FileUploadForm) form; FileOutputStream outputStream = null; F...

 
7:47 PM
0
Q: How to avoid internal calculation error in VBA EXCEL type Double math operation?

Fred CaillouxFrom EXCEL 2007, I came up with this VBA code when reading this website: Convert Decimal to Binary fraction The main goal is to come up with a function that will convert fractional numbers into binary representation. Here is my code: Sub DTBfraction() ' Decimal to Binary Dim myFraction As Double ...

 
8:17 PM
6
Q: Raku: Trouble Accessing Value of a Multidimensional Hash

Garrett SI am having issues accessing the value of a 2-dimensional hash. From what I can tell online, it should be something like: %myHash{"key1"}{"key2"} #Returns value However, I am getting the error: "Type Array does not support associative indexing." for @tracks -> $title { $_ = $title; ...

 

« first day (2480 days earlier)      last day (916 days later) »