search for: value5

Displaying 3 results from an estimated 3 matches for "value5".

Did you mean: value
2011 May 05
3
Alter a line in a file.
...diffrent settings in the manor of: setting1="value1" setting2="value2" setting3="value3" setting4="value4" . . . What I want to do is open the file and change the value of a specific setting like wanna change setting4="value4" -> setting4="value5" and then save the file again. setting1="value1" setting2="value2" setting3="value3" setting4="value5" . . . -- View this message in context: http://r.789695.n4.nabble.com/Alter-a-line-in-a-file-tp3498187p3498187.html Sent from the R help mailing li...
2009 Aug 10
1
manipulating text to generate different formulas to use in nls()
...g on that number. For example, when there are two sinusoids: > nls( y ~ mu + A1 * cos(2*pi*f1*x - P1) + A2 * cos(2*pi*f2*x - P2), data = some.xy.data, start = list( mu=some.value0, A1=some.value1, P1=some.value2, A2=some.value3, P2=some.value4, f1=some.value5, f2=some.value6 ) ) Adding a third sinusoid, the model and the starting parameters needed become: > nls( y ~ mu + A1 * cos(2*pi*f1*x - P1) + A2 * cos(2*pi*f2*x - P2) + A3 * cos(2*pi*f3*x - P3), data = some.xy.data, start = list( mu=some.value0, A1=some.value1, P1=...
2007 Jun 06
2
lookup in CSV recipe
...e useful. I thought about adding it to the wiki, but thought I should check here first. # lookup items from a CSV file # v0.1 - 2007/06/06 # Adrian Bridgett, Opsera Ltd. # file in the format of: # colname1, colname2, colname3,... (must be first line) # key1, value2, value3,... # key2, value4, value5 # # lookup_csv(filename,key1,colname3) will then return value3 # # TODO: # proper CSV parsing (e.g. quoting) # regexp on the value? # return a supplied default if row not found? # add Excel and Openoffice support module Puppet::Parser::Functions newfunction(:lookup_csv, :type => :rvalue) do |...