formula

Get quadratic equation term of a graph in R

给你一囗甜甜゛ 提交于 2019-12-06 10:31:13
问题 I need to find the quadratic equation term of a graph I have plotted in R. When I do this in excel, the term appears in a text box on the chart but I'm unsure how to move this to a cell for subsequent use (to apply to values requiring calibrating) or indeed how to ask for it in R. If it is summonable in R, is it saveable as an object to do future calculations with? This seems like it should be a straightforward request in R, but I can't find any similar questions. Many thanks in advance for

Excel Evaluate formula error

╄→гoц情女王★ 提交于 2019-12-06 10:23:43
My VBA code is Function yEval(entry As String) yEval = Evaluate(entry) Application.Volatile End Function in Sheet1 in cell f4 i have formula =yEval(Sheet2!E19) cell d4 on sheet1 contains number 12 Sheet2!I19 contains string $Q if Sheet2!e19 has string INDIRECT("pries!"&Sheet2!I19&12) or INDIRECT("pries!"&Sheet2!I19&Sheet1!d4) or INDIRECT("pries!"&Sheet2!I19&"Sheet1!D"&row()+12) the formula return result from sheet pries!$Q12 if Sheet2!e19 has string INDIRECT("pries!"&Sheet2!I19&address(row(),4)) or INDIRECT("pries!"&Sheet2!I19&"Sheet1!D"&row()) the formula return result 0 it seems like

neural network using all input variables?

本秂侑毒 提交于 2019-12-06 08:30:06
问题 I am a newbie to neural networks and been trying out the algorithm with some big data sets. Is there a way to include all the input variables into the network without having to type all the names? For example I have around 30 variables which I'd like to use as input to predict the output. Is there a shortcut for the following command? net <- neuralnet(Output~Var1+Var2+Var3+Var4+.....upto Var30, data, hidden=0) I've looked everywhere but couldn't find the solution to this. Sorry if this is a

Solving a cubic to find nearest point on a curve to a point

这一生的挚爱 提交于 2019-12-06 06:33:29
问题 Ok, I have a projectile that has its position defined such that: a.x = initialX + initialDX * time; a.y = initialY + initialDY * time + 0.5 * gravtiy * time^2; I want to be able to predict which obstacles in my environment this projectile will collide with. I plan on checking the distance from A the closest point on the curve to the point P . I figure that at the point A the tangent to the curve will be perpendicular to the vector AP , and that the tangent to the curve at A will simply be the

String to Number and back algorithm

杀马特。学长 韩版系。学妹 提交于 2019-12-06 06:19:57
问题 This is a hard one (for me) I hope people can help me. I have some text and I need to transfer it to a number, but it has to be unique just as the text is unique. For example: The word 'kitty' could produce 12432, but only the word kitty produces that number. The text could be anything and a proper number should be given. One problem the result integer must me a 32-bit unsigned integer, that means the largest possible number is 2147483647. I don't mind if there is a text length restriction,

iPhone - AVAudioPlayer - convert decibel level into percent

旧巷老猫 提交于 2019-12-06 05:31:22
问题 I like to update an existing iPhone application which is using AudioQueue for playing audio files. The levels (peakPowerForChannel, averagePowerForChannel) were linear form 0.0f to 1.0f. Now I like to use the simpler class AVAudioPlayer which works fine, the only issue is that the levels which are now in decibel, not linear from -120.0f to 0.0f. Has anyone a formula to convert it back to the linear values between 0.0f and 1.0f? Thanks Tom 回答1: Several Apple examples use the following formula

(excel 2013) Dynamic change of formula depending on number of items in another sheet

≯℡__Kan透↙ 提交于 2019-12-06 04:50:09
i have a specific problem to solve. I dont know how to do it but want to do it without macro or worse without VB script. I will explain what i have and then what i want to do. I have (plan to have) many sheets in worksheet. first sheet is some intro sheet, where i have also one column containing name of sheets in every cell. i am using formula "=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256)" so i can change name of sheet and it will change also name of sheet in intro sheet cell. so for imagination i have column N and there i have sheet1, under that sheet2 and so on... Each of

How to count number of grouped rows in the Crystal Report

依然范特西╮ 提交于 2019-12-06 04:16:02
问题 I need to count and show number of rows of grouped data in the report. I already have number of rows of total data in Report Footer section (I used Count() function and that works fine), but I need to have total rows in the Group Footer section which shows number of rows of grouped data. The visible explanation of the problem is shown under. Thanks. ---------------------------------------------------- Group 1 row 1--------------------------- row 2--------------------------- . . . row N-------

Crystal Report: How to evaluate multiple IF statements in one formula?

北慕城南 提交于 2019-12-06 00:24:17
问题 Background I'm attempting to do some nice looking validation on the details row of my report. I have several formulas named as Assert statements, that return false if they fail a test and true if they pass. Goal I would like to create an array that stores "rule violations" and then displays them in a field at the end of the row, under a heading called "Broken Rules" What I've done so far Created an Array and Initialized it as an empty string array in the report header Created a formula to do

Average day and night temperature in excel

眉间皱痕 提交于 2019-12-05 22:10:44
I have a large dataset of temperature and humidity readings, collected every half hour for a year. I'd like to get an average of day and night temperature, but my experiments with averageifs have so far failed. This is as far as I got. =AVERAGEIFS(Sheet1!D$7:D$17622,Sheet1!$C$7:$C$17622, ">="&$A21, Sheet1!$C$7:$C$17622,"<" &$A22) The values in A21 and A22 are 6:00 and 18:00, formatted as h:mm. This just returns a DIV/0! error - I don't have any zeros, so I don't know what the issue is. I have exactly the same formula working with dates. Both formulas are drawing on the same input, entered into