blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
25e14a195a87e2bdb57f80b014f9f4a6aeef8f8e | fd6170e5986d2575061174ea3be6a2c5d1b614c9 | /cachematrix.R | 20c738172d2b0a0c2de66364153d35e438cff1ff | [] | no_license | cdiako16/ProgrammingAssignment2 | 2e092b0134b842bd288d11bcfe719de3334708a7 | 1cf6181a131983fb899592cac7a40e9747209087 | refs/heads/master | 2020-03-30T04:47:33.038076 | 2016-07-24T22:21:28 | 2016-07-24T22:21:28 | 64,082,483 | 0 | 0 | null | 2016-07-24T19:40:17 | 2016-07-24T19:40:16 | null | UTF-8 | R | false | false | 2,113 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
#__________________________________________________
# This assigment has two functions. The first one creates a "special" matrix
# object and can cache its inverse. The second one uses the output of the first
# function and computes the ... |
f2749ea8e3bdadcaa971cdf2fa2793bde29b2318 | 5cdc28ca46d98557a4199a4664308454c860751d | /R/name_updater.R | 0bc3dbfd17d5d318bf64968266051765fba34e1d | [] | no_license | AndyTan524/baseball_backend | e96902192981b3528d111c5aafcf06a7f24b0059 | f8de8733e83a1306e75c9d42b18b34ad1dfcdf55 | refs/heads/master | 2020-05-16T18:51:18.653678 | 2019-04-24T14:15:22 | 2019-04-24T14:15:22 | 183,242,198 | 0 | 1 | null | 2019-05-10T09:34:15 | 2019-04-24T14:08:25 | R | UTF-8 | R | false | false | 1,099 | r | name_updater.R | # Set up something to update this on a daily basis by loading new daily data and check for new player.
master <- read.csv("BIS/2016_player_list.csv")
today <- today() - 1
today <- format(today,"%Y%m%d")
batting <- read.csv(paste("BIS/Batting_",today,".csv",sep=""))
pitching <- read.csv(paste("BIS/Pitching_",today,".... |
7a8d9ddefb262ada791c86a45f33a51fc8afd4cd | 0171da74586a079e97269ba9b7a8c4146c204cd0 | /man/analyzeChr.Rd | 17253a87749bb2ad3fe119ba777c1635ff4f1f24 | [] | no_license | jtleek/derfinder-1 | bfda042e772224abbc911d94e0ba2c66fe5e9d08 | a88996a426a899a5d319c628e3b9411237145caa | refs/heads/master | 2021-01-22T13:42:50.235009 | 2013-11-08T18:19:41 | 2013-11-08T18:19:41 | 14,240,696 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,879 | rd | analyzeChr.Rd | \name{analyzeChr}
\alias{analyzeChr}
\title{Run the derfinder analysis on a chromosome}
\usage{
analyzeChr(chrnum, coverageInfo, models, cutoffPre = 5,
colsubset = NULL, scalefac = 32, chunksize = NULL,
adjustF = 0, cutoffFstat = 1e-08,
cutoffType = "theoretical", nPermute = 1,
seeds = as.integer(gsub... |
c1dd381ff09a74d3ea6c70115585adbba921c4fd | ea805d721a3cdc2db7a75e38a9b212e4e1885778 | /ribiosExpression/man/writeEset.Rd | d1fca2e5f370879f3124e330696b6c0cfd67e4cd | [] | no_license | grst/ribios | 28c02c1f89180f79f71f21a00ba8ad8c22be3251 | 430056c85f3365e1bcb5e565153a68489c1dc7b3 | refs/heads/master | 2023-06-01T04:48:20.792749 | 2017-04-10T14:28:23 | 2017-04-10T14:28:23 | 68,606,477 | 0 | 0 | null | 2016-09-19T13:04:00 | 2016-09-19T13:04:00 | null | UTF-8 | R | false | false | 4,039 | rd | writeEset.Rd | \name{writeEset}
\alias{readEset}
\alias{writeEset}
\title{
Import and export an ExpressionSet object as tab-delimited files
}
\description{
Two functions, \code{writeEset} and \code{readEset}, import and export
an \code{ExpressionSet} object as tab-delimited files
respectively. See details below for advantages... |
4d0193488551c947d4ee64734f8b81e5a4609cef | cf6d6b48a353b9d4807176064c1ba3db0bab3ee0 | /man/install_h2o.Rd | 78fa6013bebcb2491515b2e513516dabe24fa00d | [
"Apache-2.0"
] | permissive | javierluraschi/rsparkling | 05673ee602032dbab77713bd9bb74fc2a13fa660 | 4acb98ce989978718a8d93ddf75d6f9cb065d6bc | refs/heads/master | 2021-01-25T07:07:10.139239 | 2017-01-31T22:39:52 | 2017-01-31T22:39:52 | 80,698,186 | 0 | 0 | null | 2017-02-02T06:02:45 | 2017-02-02T06:02:44 | null | UTF-8 | R | false | true | 685 | rd | install_h2o.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/install_h2o.R
\name{install_h2o}
\alias{install_h2o}
\title{An easy installation of the H2O R pacakage}
\usage{
install_h2o(release_name = "rel-tverberg", release_number = "1")
}
\arguments{
\item{release_name}{Object of type character that s... |
f82805f2b0c212734ffaf6ee3262392d7ca7dfe7 | a0520c024186c353624365a97fbe71407bde7687 | /R/plotServer.R | d58577fea54d6cfb2b461cb5d7124257e4e0cf84 | [] | no_license | epurdom/clusterExperimentShiny | ae36464f1debc6b1e9186dd82b1289a1d2dd8f56 | 0b776088174ee6f4e6bed1fadbb71df566905e83 | refs/heads/master | 2021-05-01T03:49:07.314819 | 2016-11-28T00:42:51 | 2016-11-28T00:42:51 | 64,497,311 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,358 | r | plotServer.R | #' @rdname InternalModules
#' @export
#if fileName=NULL, renders plot; otherwise saves as png based on fileName
plotClustersServer<-function(code,fileName=NULL,recordCode=FALSE,
type=c("plotClusters","plotCoClustering","plotHeatmap","plotDendrogram","mergeClusters")){
type<-match.arg(ty... |
4dc95ef24ad105f7f9014d6e0e2ce8507b03d840 | 29585dff702209dd446c0ab52ceea046c58e384e | /Rpdb/R/coords.R | 81496890c85796f2961269e47a558e7810c47f4a | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,503 | r | coords.R | # Get or set the coordinates (either Cartesian or fractional atoms) of an object.
coords <- function(...)
UseMethod("coords")
'coords<-' <- function(x, value)
UseMethod("coords<-", x)
coords.default <- function(x1, x2, x3, basis = "xyz", ...)
{
if(!basis %in% c("xyz", "abc")) stop("Unrecognized basis")
t... |
345c09f97f15e6b3896f8ce48eafb2dce4f1928b | 7c53c14329aabdcb5a461728759246e3b65fef44 | /R/twosampleKtest.R | d51316937658dadc0c9e290083e932a96ccb53d9 | [] | no_license | ute/hidden2statspat | 4ff1267ef1864d3c4c5cae291739219746089f0a | 4930164936199b7637736d7992ff7d394bce81c4 | refs/heads/master | 2021-01-20T05:08:33.341676 | 2015-06-07T11:50:47 | 2015-06-07T11:50:47 | 12,253,533 | 1 | 0 | null | 2013-10-09T18:39:59 | 2013-08-20T20:33:55 | R | UTF-8 | R | false | false | 6,386 | r | twosampleKtest.R | #'@title Two sample K-permutation-test
#'@description Perform a permutation test to compare K-functions estimated on
#'two point pattern samples
#' Returns an object of class \code{sostest}
#'that also can be plotted, see the details.
#'@param x,y the point pattern samples to be compared, objects of class \code{ppsampl... |
2adce34f9668c46573cb5f67495fe451bd707711 | e648d4e3cca5c60bab6160f9df1deb9463b8da8a | /08_grad_project/Deliverables/biOps/man/imgFFT.Rd | 83aef85fafe8be8d9930c1ab4c3269e3fb7fe9b6 | [
"MIT"
] | permissive | blairg23/pattern-recognition | 9c65edda419671625eafe6711964391033768b50 | e00d8b67f7c73a81fac02f0cff8db95f88151121 | refs/heads/master | 2021-01-10T14:18:20.438260 | 2015-12-15T08:58:03 | 2015-12-15T08:58:03 | 48,028,773 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 571 | rd | imgFFT.Rd | \name{imgFFT}
\alias{imgFFT}
\title{Fast Fourier Transformation of an image}
\description{
This function applies a Fast Fourier Transformation on an imagedata.
}
\usage{imgFFT(imgdata, shift = TRUE)}
\arguments{
\item{imgdata}{The image}
\item{shift}{If TRUE (default), the transformation origin is centered}
}
\value... |
bb9b6c98519da95e39d8c889a2e9a5d49589165a | 3124eae2c2cc624306b83f945f0f0730841798ce | /demo/seewave.R | dc8d825d01de05b699d8d8e3ae0d629fa54af459 | [] | no_license | cran/seewave | 7841703a7f1cf237ce67e84f0f5b1dba877b1dff | 1f0b3d5688151141129368c17f826ccedcb4ad96 | refs/heads/master | 2023-08-08T11:45:55.093227 | 2023-07-16T05:50:02 | 2023-07-16T06:34:59 | 17,699,546 | 18 | 12 | null | 2023-01-27T12:57:14 | 2014-03-13T06:15:47 | R | UTF-8 | R | false | false | 2,300 | r | seewave.R | require(seewave); data(tico); data(orni); data(pellucens)
op1<-par(ask=TRUE)
# different oscillograms of a tropical sparrow song
oscillo(tico,f=22050)
oscillo(tico,f=22050,k=2,j=2,byrow=TRUE)
op<-par(bg="grey")
oscillo(tico,f=22050,k=4,j=1,title=TRUE,colwave="black",
coltitle="yellow",collab="red",collin... |
7e72ce62b0a3a1255f815a8bc13302ff21671de5 | 7e1b087503d5d65ff7a0d2da840ebd5ad6171768 | /run_analysis.R | 749cf11246e1477bb33902f187f1b781a587c095 | [] | no_license | lmalonso/GetData | a16d1e5be278dd5730f43758901f68f34b1953c4 | 38c69ab24bc6e1f7d6cbbd7d60305bec6a83a5a1 | refs/heads/master | 2020-04-06T04:30:17.382276 | 2015-06-21T19:36:55 | 2015-06-21T19:36:55 | 37,822,680 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,173 | r | run_analysis.R | #We set our working directory and assign thess data sets
actlabels<-read.table("activity_labels.txt",header=FALSE)
features<-read.table("features.txt",header=FALSE)
xtest<-read.table("test/X_test.txt",header=FALSE,sep="")
subtest<-read.table("test/subject_test.txt",header=FALSE)
ytest<-read.table("test/y_test.txt",head... |
8017bfbcecfca93d7f375dd121563f4e03c1d62b | 147f0bf99987b9acbf8c55491f49b2a14a0b3b1b | /statistics/project COURSERA/project.R | 696f1bb7cd37ca03590c907fce4189d4effad131 | [] | no_license | Ashutosh-vyas/r-codes | ec5a78ab2ca89c74e42805ffa0e0eb3c0c49909d | 40f591283af2f10ca4a2e9bed89cd1a1ada556d4 | refs/heads/master | 2021-01-20T06:57:22.710268 | 2015-06-17T09:54:57 | 2015-06-17T09:54:57 | 31,583,449 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,392 | r | project.R | # PROBLEM STATEMENT
# -----------------------------------------------------------------------------
#In this project you will investigate the exponential distribution in R and
#compare it with the Central Limit Theorem. The exponential distribution can
# be simulated in R with rexp(n, lambda) where lambda is the rate... |
ae99bcbce9e0ee7908506232f21241a2ed190e37 | a706b6857ad346a17fc3ef89c401d3439998295e | /scripts/summary_info.R | 1bd37e53ec2ebfcbd82cfd913abc2a0e6324d03a | [] | no_license | AoxuanWang/group_3_midpoint_report | 8b491f8469897d87478fc6f5a76f8af1d8002ef1 | 03a52cbcda3aa120bf637141ad4c585904d16a9c | refs/heads/master | 2023-01-15T23:51:59.259543 | 2020-11-30T08:52:00 | 2020-11-30T08:52:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15 | r | summary_info.R | ## summary info |
a72a96b403cf71e460afd69ffe65d372eef27b14 | 4f32160fe93781beaeb784e7751084dc7197dd10 | /cachematrix.R | 458ba2b22451492254bc704f4136b2113dece8dc | [] | no_license | Madhanrd/ProgrammingAssignment2 | fb992430669ba322c03961cd7d4c8896b645c2b3 | c4b6e271260f421f48819725bc715b0a6288052a | refs/heads/master | 2020-12-30T18:57:28.094600 | 2015-03-22T21:04:38 | 2015-03-22T21:04:38 | 32,648,709 | 0 | 0 | null | 2015-03-21T20:24:08 | 2015-03-21T20:24:08 | null | UTF-8 | R | false | false | 1,714 | r | cachematrix.R | ## The makeCacheMatrix function creates a special "matrix"
## which is really a list containing a function to
## 1. set the value of the matrix
## 2. get the value of the matrix
## 3. set the value of the inverse of the matrix
## 4. get the value of the inverse of the matrix
makeCacheMatrix <- function(special = matr... |
928dee6078fdfd59966e4fa08a2dc4625ce61522 | d593aafcabf6c2f69875ffbaace3b819996ecd11 | /man/all_county_fips.Rd | 4e9c13a6e8aee9f7b12da2386cbead5876dde420 | [] | no_license | GL-Li/ggtiger | 6ba6347720262df7ad1db0fac425a99adac8d54a | a37cf0b8cce81a3af9ccdd9bc23d91210f4ca91c | refs/heads/master | 2021-04-27T00:22:31.361743 | 2020-08-02T13:40:05 | 2020-08-02T13:40:05 | 123,801,296 | 14 | 0 | null | null | null | null | UTF-8 | R | false | true | 438 | rd | all_county_fips.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{all_county_fips}
\alias{all_county_fips}
\title{fips of each county}
\format{A data.table with 3109 rows and 3 variables
\describe{
\item{fips}{fips codes of state}
\item{state}{lower case state names}
\item{... |
bedd79950084318ba74aac9251441777b51b9ed6 | 03289c60f03e570b34ea923702c79f030d8fa676 | /splitData.R | 983b8ec6e7dda14cccab71e30898d10ca49d2c54 | [] | no_license | koehnden/is-seminar | 289a8612e44c5a6d3073300bcfe9f703eff03186 | 612263ae8d215d939e529666e565a2c0b5a74434 | refs/heads/master | 2016-08-10T09:36:31.327207 | 2016-02-20T15:17:04 | 2016-02-20T15:17:04 | 50,588,846 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,490 | r | splitData.R | ################### Split the Data Sets #####################
#
# We use a ratio of 60% training and 40% test
splitData <- function(data, ratio=0.6){
# to get the same split every time
set.seed(12345)
# get the index of the training set
idx.tr <- createDataPartition(data$target, p=ratio, list=FALSE)
#... |
7efd607596fbb4f3e6df59c0a05daa48bc3e18fb | d06c45000e06134211c99add0beea81ee0452244 | /03.DS-Probability/S3-Section 3/3.3 Section 3 Assessment/Assessment.R | 0756802d684c5301606926051801427201a1efa2 | [] | no_license | dgpaniagua/data-science-assessments | 24eb2d2c0f50a5a5f8b76db86e4f6fad0d803022 | 5c9af8ce74701f7df6431744128885e124cc7fe0 | refs/heads/main | 2023-09-05T14:01:52.179350 | 2021-11-22T04:40:59 | 2021-11-22T04:40:59 | 376,401,461 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,385 | r | Assessment.R | ########## Q1 ##########
n_question <- 44
choices <- 5
penalty_points <- -0.25
correct_points <- 1
p_correct <- 1/choices
p_wrong <- 1 - p_correct
##Q1a
p_correct
##Q1b
mu <- correct_points*p_correct + penalty_points*p_wrong
##Q1c: E[aX] = a.mu
E <- n_question * mu
##Q1d: SE[aX] = a.sigma
SE <- sqrt(n_question) *... |
325be09c7b2a2915c078ca20feb920727aab70dc | 03112612a44cc95b08b982bcc2937210929520f9 | /AddonSkeleton/prefs_info.r | a43398a6092597de61dfc625627b7ee271f4b9d0 | [] | no_license | HaikuArchives/ScannerBe | 703b5875d471380d432790f0d1c7117f608d1d5b | c4f889efda4839f48eca92bf669a0ff54e0cdc80 | refs/heads/master | 2021-01-23T05:45:21.581579 | 2007-04-01T19:21:38 | 2007-04-01T19:21:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 82 | r | prefs_info.r | resource( 'info', 0, "ScannerBe Info" )
{
"My Scanner, Version 0.9.0 1/22/98."
}
|
4e205906e4a3aa304cc6166ea11142a3f992731c | c54cdc3354a193ad9c0a8f1f3bce7312e93389c7 | /Plot2.R | 23aee39a442dda03259e0303987af4db60743c30 | [] | no_license | MayHsu/ExploratoryDataAnalysis_Project2 | 08fbd9e2aa9cca9e8981ea1f0942bcd4be08492e | 1677941810fad574933982531e8b6e1f7a6b66c8 | refs/heads/master | 2020-05-04T11:49:47.894644 | 2019-04-02T16:31:45 | 2019-04-02T16:31:45 | 179,116,405 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 936 | r | Plot2.R |
##declare url and zip file name
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip"
zipFile <- "exdata_data_NEI_data.zip"
##download file
if(!file.exists(zipFile)){
download.file(url,zipFile,method = "curl")
}
##unzip file
dataPath <- "exdata_data_NEI_data"
if(!file.exis... |
1d79463217aa877ebeccfbe2a22548b1628d739f | 06f65e3dd02dfdda5c8e7d3415892592675bf9aa | /man/bn_tab_cap.Rd | 852e5017fab65798f7914c20bb0b57a3f40ca89d | [] | no_license | renlund/bokner | 9af406a257ba350f8e67cd4a4024ee85d0d6decd | ade0a9ecd6bcd20f3c1cd6cbda3e4844b6003dd3 | refs/heads/master | 2023-04-07T00:01:56.807979 | 2023-03-23T13:54:38 | 2023-03-23T13:54:38 | 287,030,133 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 686 | rd | bn_tab_cap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/table_caption.r
\name{bn_tab_cap}
\alias{bn_tab_cap}
\alias{bn_tc}
\title{table caption}
\usage{
bn_tab_cap(caption, label = NULL)
bn_tc(caption, label = NULL)
}
\arguments{
\item{caption}{character; the caption}
\item{label}{character; the... |
4417646ae6a5f259b4772217a24183e0beb2470d | a1a41884c000415189f5b5f0b14c1dc33acadd87 | /mapper_gff_vs_genome_hierarchical_nostrand.R | 5a682946944cff4bb2ec45a2a3771e3cc6182a3e | [] | no_license | silverkey/HALO | b2755c262190e3556158d3c2083b5a03adc01865 | 1e6146bea41b16d8e991a74501845ddf3d9cf817 | refs/heads/master | 2021-01-10T22:07:40.635833 | 2014-12-07T16:49:33 | 2014-12-07T16:49:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,282 | r | mapper_gff_vs_genome_hierarchical_nostrand.R | # JACK THE MAPPER!!!
#
# VERSION gff_vs_genome_hierarchical_nostrand
#
# Takes a GFF file from a blast of 2 genomes and calculates the overlap
# between the features and a given genome.
#
# The GFF should be referred to the genome of which the script will
# load the annotations to calculate the overlap.
# It consider a... |
1db9da93db8d5f4a470598f493bc8e5448d6aac7 | 0eac6f72fc988546ee57127b5741e3d12e2379a5 | /tests/testthat/testMultinomCI.R | 44efe0965dc28ccac749923fabc27373f21e9b48 | [
"MIT"
] | permissive | spedygiorgio/markovchain | 4e70064a749f55d52bcdfffb7559e7027b161cc1 | 4eb1ec1b67f9231c129db5da3cc2ba51bd5f4121 | refs/heads/master | 2023-06-09T15:48:30.895373 | 2023-05-16T21:25:26 | 2023-05-16T21:25:26 | 31,481,152 | 111 | 58 | NOASSERTION | 2023-05-18T22:00:52 | 2015-02-28T23:54:38 | R | UTF-8 | R | false | false | 1,681 | r | testMultinomCI.R | #library(markovchain)
seq<-c("a", "b", "a", "a", "a", "a", "b", "a", "b", "a", "b", "a", "a", "b", "b", "b", "a")
mcfit<-markovchainFit(data=seq,byrow=TRUE)
# print(mcfit)
seqmat<-createSequenceMatrix(seq)
seqmat
mCI <- .multinomialCIRcpp(mcfit$estimate@transitionMatrix, seqmat, 0.95)
# print(mCI)
####end of creating... |
74f81301d15ec255cfd61450179af1025689afe7 | 7e7eec5a2d662e7d86fffb921ddf04c74c81cd68 | /R/sci-notation.r | ae95d4c0efd3da0df5149c5205e52cf4fde023ad | [] | no_license | ricschuster/Marxan_vs_ILP_paper | 69a46ce3c86e6334cfaaf2eb236a47c819f38527 | c87debff19238432119038a3c07dfbadab72a711 | refs/heads/master | 2023-03-11T20:46:21.999381 | 2020-11-05T21:09:18 | 2020-11-05T21:09:18 | 153,321,611 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 545 | r | sci-notation.r | sci_notation <- function(x, digits = 1) {
if (length(x) > 1) {
return(append(sci_notation(x[1]), sci_notation(x[-1])))
}
if (is.na(x)) {
return(0)
} else if (x == 0) {
return(NA)
}
exponent <- floor(log10(x))
base <- round(x / 10^exponent, digits)
if (base == 1) {
e <- as.exp... |
45c8fcd5c34a78b2dc0f5a37622eeeff416eee39 | 7e0f4777f4e06b0ac72b90422ac0d9c765767755 | /veghf/veghf-wetlands.R | 9ba57844bb117e7f31a8e25cec54cb7e6a8eb357 | [] | no_license | psolymos/abmianalytics | edd6a040082260f85afbf4fc25c4f2726b369392 | 9e801c2c564be155124109b4888d29c80bd1340d | refs/heads/master | 2023-01-30T05:00:32.776882 | 2023-01-21T05:36:23 | 2023-01-21T05:36:23 | 34,713,422 | 0 | 7 | null | 2017-01-20T19:07:59 | 2015-04-28T06:39:37 | R | UTF-8 | R | false | false | 5,660 | r | veghf-wetlands.R | HF_VERSION <- "2014_coarse" # load 2014 defs
source("~/repos/abmianalytics/veghf/veghf-setup.R")
load(file.path(ROOT, VER, "data", "analysis", "ages-by-nsr.Rdata"))
## wetland zones ----------------------------------------------------
## Buffers
f <- file.path(ROOT, VER, "data", "raw", "veghf",
"wetland", "VegV6... |
2bacfb6c52c80cfadebd9670e1dca1bf976038d4 | 0a5d2193a1a0b1f1cd2113d029c847761860ce97 | /H2O RF.R | a27a1fcd279fae36fef7770cda5155370867c0d1 | [] | no_license | Kinshuk86/BenchMarking-Predictive-Tools | 1f10c24371ea7cfa686df11aa76eabdc10d3ed42 | d0989015280eb9139c275a5d47ea769be63241d1 | refs/heads/master | 2021-01-23T13:29:45.468093 | 2017-09-06T22:36:59 | 2017-09-06T22:36:59 | 102,663,340 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,328 | r | H2O RF.R | if (! ("methods" %in% rownames(installed.packages()))) { install.packages("methods") }
if (! ("statmod" %in% rownames(installed.packages()))) { install.packages("statmod") }
if (! ("stats" %in% rownames(installed.packages()))) { install.packages("stats") }
if (! ("graphics" %in% rownames(installed.packages()))) { insta... |
4d839d25e8b2f60fbe3b4e86379de14df4161b6a | 6ad04ba4897e75f8940b0a6caadb03177c75da7e | /R/imu.R | dd439a43152f5dde0e4194ff99c904bf88673f08 | [] | no_license | munsheet/simts | 62da9689060e9f1f739e1e7a8cbbf9275ce752e3 | 0e8c7c16a6392e00c2dab67b79c38ef701c49018 | refs/heads/master | 2021-01-10T00:06:57.143932 | 2017-06-23T18:21:05 | 2017-06-23T18:21:05 | 93,349,929 | 0 | 0 | null | 2017-06-05T00:24:51 | 2017-06-05T00:24:51 | null | UTF-8 | R | false | false | 12,375 | r | imu.R | # Copyright (C) 2014 - 2017 James Balamuta, Stephane Guerrier, Roberto Molinari
#
# This file is part of simts R Methods Package
#
# The `simts` R package is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation,... |
4566dde52b979d784bbe98ba2e27c3111ce64b02 | 6db4bf0d2e83f5cdea196658a5eebfe875f321ae | /ass/Ques1/rnuif10.r | 3365fdf01a9e971f22f81618377f747efd0a1f6e | [] | no_license | akar5h/CS251-252 | f40c252461fcc65d6b4a6bca9ab3a97926a8e96c | 2da6d9240948e123487edc4588b17915d632c469 | refs/heads/master | 2020-03-09T12:55:42.172281 | 2018-04-09T15:59:12 | 2018-04-09T15:59:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 26 | r | rnuif10.r | u10=runif(100,0.0,1.0)
u10 |
1e4f394bda25d7a98386e49c636e4b9b1c62bf1e | 2f22faf604765348216fc9332d6611e01a6dd5f2 | /WKRDB-EST2/subGroup6/icesRDBES/data-raw/getTablesInHierarchies.r | 3b84318203a538bdb6c8d1d12d205eee511b8d31 | [
"MIT"
] | permissive | ices-eg/WK_RDBES | 6d54339f8bbc075f6ac05d65bbba7cdbeebc4233 | bda1fadf7f964b2f2578630621d6c2f89341a848 | refs/heads/master | 2022-10-21T23:12:20.395789 | 2022-10-07T14:45:53 | 2022-10-07T14:45:53 | 211,826,167 | 4 | 6 | null | 2021-09-27T08:05:03 | 2019-09-30T09:39:29 | R | UTF-8 | R | false | false | 2,634 | r | getTablesInHierarchies.r | # Use the RDBES xsd files to determine which tables are
# required in the different RDBES hierachies
# Set to TRUE if you want to download the
# lastest xsd files from GitHub
downloadFromGitHub <- TRUE
gitHubFileLocation <-
"https://api.github.com/repos/ices-tools-dev/RDBES/contents/XSD-files"
# The folder to read t... |
847c947a184d3ce9e58e74b90e17e84559803ebb | cd32d300faed890d520e27399e93662b47388926 | /PraceDomowe/PD7/Michal_Pastuszka_PD7/dane.R | 1b32c60acab609290b88389f133c31229450b93f | [] | no_license | Siemashko/TechnikiWizualizacjiDanych2018 | f01a7b3b513cf07d31261d176e56fb7b99583df6 | c6072805f3a9b3c1f0d7db34c2728cb4e20d562f | refs/heads/master | 2020-03-30T16:08:56.922922 | 2019-01-16T11:08:26 | 2019-01-16T11:08:26 | 151,395,331 | 0 | 1 | null | 2019-01-09T11:39:22 | 2018-10-03T10:24:06 | HTML | UTF-8 | R | false | false | 1,288 | r | dane.R | library(readxl)
library(data.table)
library(ggplot2)
library(ggmap)
pm10 <- data.table(read_excel("dane/to/2002_PM10_24g.xlsx"))
pm25 <- data.table(read_excel("dane/to/2002_PM2.5_24g.xlsx"))
lata <- seq(2003, 2017)
for(i in 1:15) {
x = data.table(read_excel(paste("dane/to/", lata[i], "_PM10_24g.xlsx", sep="")))
... |
4bbbeb8cbbb015d0f29994dcf2cbd5813b006433 | 786e89c7959029f9286abf8d133a8e7c930a5216 | /Functions/AdaCLV/get_iterative_threshold.R | 9042d8f04227a671e74b18ee0588e0cd1605baa1 | [] | no_license | rebeccamarion/AdaCLV | 61fe3f4d5ebe82ec438feb5cd698162fad217e06 | e123f9eeb8650dbaa90a159bd8a94aeb0a8496d3 | refs/heads/main | 2023-02-03T21:37:56.529721 | 2020-12-21T12:36:21 | 2020-12-21T12:36:21 | 322,311,906 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,061 | r | get_iterative_threshold.R | GetIterativeThresh <- function(x, eta = 3){
converged <- F
signal.list <- list()
indexes <- 1:length(x)
iter <- 1
indexes.sub <- indexes
x.temp <- x
while (converged == F){
mean.x <- mean(x.temp)
sd.x <- sd(x.temp)
signal.list[[iter]] <- indexes.sub[which(abs(x.temp) > (mean.x ... |
32ce45ea41539d7dd0d882971e35136268a3f120 | d7803d8b4f8ed4db75be0a6ed035f073ad2b8509 | /man/plot.mlma.Rd | a27492ae50b35f7b5fd3b82cde1c7729c9d3c646 | [] | no_license | cran/mlma | 1880c122afdc3ca865e1858c9551cb972308d161 | 45cfaca440d914c94c5d2c26e7eeab3674fa6ac8 | refs/heads/master | 2022-06-15T19:17:38.281692 | 2022-05-16T16:40:05 | 2022-05-16T16:40:05 | 48,084,225 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,723 | rd | plot.mlma.Rd | \name{plot.mlma}
\alias{plot.mlma}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Plot "mlma" Object
}
\description{
Plot the overall mediation effect or decomposed indirect effect from the selected mediator.
}
\usage{
\method{plot}{mlma}(x,..., var=NULL, cate=FALSE,
... |
725591f2e9fd770fbae4f3b3181ac2db678fd601 | f997169854672f36810e793a2932313f11b52139 | /man/lorem.Rd | b0c85dc1e7f6303d84410db9f4c7cb1a8844f105 | [] | no_license | jverzani/UsingR | 7e3fcbddae97a0ecd0268a9068af7a70ecc82907 | d1cd49622b6e85cf26710c5747423b4ba0721ef6 | refs/heads/master | 2021-01-09T20:53:56.202763 | 2020-07-29T16:53:55 | 2020-07-29T16:53:55 | 57,312,995 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 295 | rd | lorem.Rd | \name{lorem}
\alias{lorem}
\title{Placeholder text}
\description{
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
}
\usage{lorem}
\format{
a character string
}
\source{\url{http://www.lipsum.com/}}
\examples{
table(unlist(strsplit(lorem, "")))
}
\keyword{datasets}
|
a9a33b57231e289400782200ce0e40c5d2510099 | a047f577562585eb32b386d247b5637c1613cb3e | /code/clean_attributes.R | fd10eae43c634e30444018ff9210f0a45fa040df | [] | no_license | jshen226/STAT-628-2 | 636293fa00ee548aedcff9032a1676ba8ed30d3f | deabe20d2ca94283b725363b0deebac9115dfe4c | refs/heads/master | 2021-10-25T06:11:54.085872 | 2019-04-02T02:04:12 | 2019-04-02T02:04:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,441 | r | clean_attributes.R | rm(list = ls())
library(jsonlite)
library(dplyr)
library(data.table)
library(stringr)
business_train=jsonlite::stream_in(file("business_train.json"),pagesize = 100)
american_traditional_train=read.csv("americantraditional_sub_train.csv",header = T)
american_traditional_id=american_traditional_train$business_id... |
54311ad523901f3d14ca7fd057061c7fa330c396 | 7ed5ddafcffacc81a7e084cd54b8b63830c67ea5 | /R Scripts/Figure5a.R | f5071412f5adda59bc45b2663bb17c8cf9148a41 | [] | no_license | HIT-biostatistical/LAK | e6a2c6fbace051da6dcbe827063846a3bc697bdc | c114b58453ffc0bf7ac8d01a46c3d6d0ae22015c | refs/heads/master | 2021-07-18T08:23:30.439316 | 2020-06-05T13:01:49 | 2020-06-05T13:01:49 | 176,327,385 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,468 | r | Figure5a.R | setwd("~/LAK")
source("LAK.R")
library(pheatmap)
Zeisel<-read.table("Single Cell Data/Zeisel.txt", header = T)
gene_names<-as.vector(Zeisel$cell_id)
Zeisel <- as.matrix(Zeisel[,-1])
load("RData/Zeisel_LAK.RData")
gene_names <- gene_names[which(rowSums(Zeisel>0.5)>2)]
Zeisel<-Zeisel[rowSums(Zeisel>0.5)>2,]
rownames... |
33ae48e1dc7b5603898b8d2006c35f1d6b268a93 | a79f0d1f251792dac65be35f98b68529fe9f97dd | /munge_data.R | 6d349da65ef0cbab972974b81412b4cc93e2df1b | [] | no_license | NielInfante/Leonardi_interactions | 8ee1d7b006ea34860e6790256a49939f1b115e4c | 5404115188cd936282bf1671dd31e58aa4a22356 | refs/heads/master | 2022-12-23T07:08:06.058632 | 2020-09-14T19:10:43 | 2020-09-14T19:10:43 | 295,514,314 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,613 | r | munge_data.R | library(tidyverse)
library(DESeq2)
library(tximport)
#library(cowplot)
#library(gridExtra)
setwd('c://Users/nieli/projects/Leonardi/')
tx2gene <- read_tsv('Data/IDs')
metadata <- read_tsv('Data/meta.txt')
metadata$Sex <- as.factor(metadata$Sex)
metadata$Genotype <- as.factor(metadata$Genotype)
metadata$Feed <- as.f... |
ecc9435873c2c11bc810d3f8c5705af262f551df | 3abfaa6cf0b52c5ff44e9c0aa7d842f73e2d876e | /scripts/buoys-validator/resources/r/annual-comparison.R | 6506e73e8ee413a3a96ccfed40124ddb243a1207 | [] | no_license | rchailan/mirmidon-toolbox | 0c272c4f7b7fd3db1d2a2a975b8a4e86876bb677 | d116b1e0c8c7faaa4dd99144ea4965a1fa64fd03 | refs/heads/master | 2021-05-29T01:03:44.384387 | 2015-04-23T17:10:45 | 2015-04-23T17:10:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,086 | r | annual-comparison.R | require(ggplot2)
require(reshape2)
has2print<-FALSE
year<-"2012"
start<-"2012-01-01 00:00:00"
end<-"2012-12-31 23:00:00"
year<-"2011"
start<-"2011-01-01 00:00:00"
end<-"2011-12-31 23:00:00"
stations=c("MeteoFranc","Espiguette","Sete","Leucate","Banyuls")#,"NICE","PORQUEROLLES")
files=c("Lion_HS_","CANDHIS_export_pe... |
18099b5602c91d6c123948cd9ad4a9ab219508e0 | d7fc51552341d7873a90855e5fee9c29b7299caf | /man/train_pipeline.Rd | 480fc3847bbbbe7bb6c51a466ceb99c88dfd035d | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jeroenvdhoven/datapiper | 333460c8128ac8b49e534168dd17fd1aae98f2d9 | 6a035f6b3feee328586ef078ea95bad46ace5f69 | refs/heads/master | 2020-04-01T01:31:51.692883 | 2019-07-11T07:27:51 | 2019-07-11T07:27:51 | 152,742,519 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 3,045 | rd | train_pipeline.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pipeline.R
\name{train_pipeline}
\alias{train_pipeline}
\title{Create a train/test pipeline from individual functions}
\usage{
train_pipeline(..., response)
}
\arguments{
\item{...}{Pipe segments. Each pipe segment is a list containing at lea... |
59561865e2d9f90410c9e9cb4a146a2f448b6fee | 293c38314bc324400a68b8932ffbbdfabc0a6f4c | /man/correl2Comp.Rd | 675da1926f7b6538093e0dfb94ee28dad9d99486 | [] | no_license | bitona/MineICA | 43ef703ede27cf38f2a14631dff92d95d69293ea | 7c7785daa0cfbcabe0f18161a64552b616f7b14c | refs/heads/master | 2023-04-17T06:17:19.288231 | 2023-04-11T20:32:39 | 2023-04-11T20:32:39 | 71,994,441 | 2 | 1 | null | 2016-10-26T10:57:19 | 2016-10-26T10:57:19 | null | UTF-8 | R | false | false | 1,576 | rd | correl2Comp.Rd | \name{correl2Comp}
\alias{correl2Comp}
\title{correl2Comp}
\description{This function computes the correlation between two components.}
\usage{correl2Comp(comp1, comp2, type.corr = "pearson", plot = FALSE,
cutoff_zval = 0, test = FALSE, alreadyTreat = FALSE)}
\arguments{
\item{comp1}{The first component, ... |
dc4f792b9a00406675afc199dc45bd04e8fb7a8d | 20d793950af5e0c63f2a55eabbd1987d2fac517f | /man/treecanopy.Rd | a8c59bf9c5aa591e9c690baa8d4b5a778cd3fea1 | [] | no_license | RemkoDuursma/lgrdata | d708ad4af6dc586aa7ffbdc4ccf9bbb551da23bf | 40f47e6588c056dfc9c909951e718ce4775bda3e | refs/heads/master | 2020-04-18T15:36:00.468086 | 2019-06-19T09:45:57 | 2019-06-19T09:45:57 | 167,615,274 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,662 | rd | treecanopy.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zzz.R
\docType{data}
\name{treecanopy}
\alias{treecanopy}
\title{Tree canopy gradients in the Priest River Experimental Forest (PREF)}
\format{A data frame with 249 rows and 7 variables:
\describe{
\item{\code{ID}}{integer ID of the individ... |
6df015fd7af4c274348a547b658f015017ae72b9 | 5fc716629fc4a3b7c6467f1e2cc595ee77ada17d | /core/Conditionals.R | 98da314e11ee1162345fb84a82d7d4a502fd7323 | [] | no_license | jeandersonbc/r-programming | 7c0c3ddca19c3242eea6185027433d3935cf0120 | a3d90d69a7acc611dd326d5b6c697cdb556a9201 | refs/heads/master | 2020-06-30T03:56:02.764802 | 2016-11-23T02:50:11 | 2016-11-23T02:50:11 | 74,392,368 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 377 | r | Conditionals.R | # Conditionals
# rnorm generates N random numbers according to the normal distribution
randomValue <- rnorm(n=1)
# if-else are like any other c-like if-else statement
if (randomValue > 1) {
print(paste(randomValue, "is greater than one"))
} else if (randomValue >= -1) {
print(paste(randomValue, "between -1 and 1"... |
3e0b362548827544ad061eb561d3674fab262c07 | 29585dff702209dd446c0ab52ceea046c58e384e | /ADPclust/R/ADPclust-package.r | bc7e39f412990148705b2bbc728e7be15d9b7f9c | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 513 | r | ADPclust-package.r | #' @title Fast Clustering Using Adaptive Density Peak Detection
#'
#' @author Yifan "Ethan" Xu, Xiao-Feng Wang
#'
#' @import cluster
#' @import knitr
#' @import fields
#' @import dplyr
#' @references Rodriguez, A., & Laio, A. (2014). Clustering by fast search and find of density peaks. Science,
#' 344(6191), 1492-149... |
f70823b8dd6d37e06318beee751ea2386665f0da | a36fc4fd9b231e30e6d9519c77cafbdc9ceeaa27 | /cachematrix.R | 38f547239cf4eb08876bbe773def3d0528aa15ae | [] | no_license | aralfaruqi/ProgrammingAssignment2 | 818f6485f8b6757e1119565f58b8f3b4aa0c922d | 088ef0369ff739d28812ad2dd088b78a3fa49237 | refs/heads/master | 2022-12-14T11:55:48.615350 | 2020-09-15T14:27:13 | 2020-09-15T14:27:13 | 295,747,294 | 0 | 0 | null | 2020-09-15T14:04:47 | 2020-09-15T14:04:46 | null | UTF-8 | R | false | false | 897 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
makeCacheMatrix <- function(x=matrix()) {
inverseM <- NULL #init inverse as NULL
set<-function(y) {
x<<-y
inverseM<<-NULL
}
get<-function() {
x
}
setinverseM<-... |
649282eccdd2914a3d257185f1fe790798aefd0a | 0574647f4c0678d6073d64511ce04e5fcecb28b4 | /Change_Metrics_Extractor/GerritDataAnalyzer/src/experimental/LDATopicModeling.R | be105bff975e4261136a3999c9c6e65a3928b8fc | [] | no_license | atifghulamnabi/frAmework-clouD-bAsed-buG-predIctiOn | 516502a3dda6d4875b83df64e5e235a3b5e589c1 | bd18ce5e3632dd76ba4147af296f9db40ee7f5e2 | refs/heads/master | 2023-04-19T23:05:27.440786 | 2020-09-03T13:52:19 | 2020-09-03T13:52:19 | 230,427,835 | 1 | 2 | null | 2021-04-26T20:34:59 | 2019-12-27T10:57:29 | Java | UTF-8 | R | false | false | 5,271 | r | LDATopicModeling.R | # read in the libraries
library(tidyverse) # general utility & workflow functions
library(tidytext) # tidy implimentation of NLP methods
library(topicmodels) # for LDA topic modelling
library(tm) # general text mining functions
library(SnowballC) # for stemming
current_path <-
getActiveDocumentContext()$path # get ... |
6d442fb56270fab34e15626b682e4a606fa206bd | 0c96d5b06d6fbc73d96986854d09b8c320ac21b7 | /moving_average.R | 2ed26cc9d549625d1fa7bf9bdf3c68b64f427542 | [] | no_license | anastasiiakhil/Data_analysis | d355db25fdcb284979159c8830f7e529956122e2 | 0df00413afc473390ee03b494a08a0f7f5c5ab85 | refs/heads/master | 2021-06-21T20:00:22.986950 | 2021-01-14T13:56:27 | 2021-01-14T13:56:27 | 175,623,452 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 117 | r | moving_average.R | moving_average <- c()
for (i in 1:(length(AirPassengers)-9)){
moving_average[i] <- mean(AirPassengers[i:(i+9)])
}
|
e0f3f60c57139c4b30a8c3d1647feb94485c3257 | 208381569541724471055030ab223b0f1cebb59b | /Streetmaps.R | 7bba365410c3746fe60e00856685d1037f98f775 | [] | no_license | WickM/Streetmaps | 80fcb32f26ad7c6cb50bb64aa9dbd85121097568 | 9194e96442093e13b99c6a77c5a618192b4c3835 | refs/heads/master | 2020-11-24T09:31:53.700029 | 2019-12-16T12:11:09 | 2019-12-16T12:11:09 | 228,080,618 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,829 | r | Streetmaps.R |
library(tidyverse)
#devtools::install_github("ropensci/osmdata")
library(osmdata)
cord <- getbb("Paris")
cord[1,1] <- 2.220000
cord[1,2] <- 2.3800000
#
#
cord[2,1] <- 48.750000
cord[2,2] <- 48.900000
#
monochrome <- FALSE
bb <- cord
short_name <- "Paris"
highway_data<-bb %>%
... |
15325ffbfe58fc1f0b8ed116b144bd5e28919611 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.developer.tools/man/wellarchitected_create_lens_version.Rd | a9cbeaff250e103ba75c1c59d51cd6208bb1d8af | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 738 | rd | wellarchitected_create_lens_version.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wellarchitected_operations.R
\name{wellarchitected_create_lens_version}
\alias{wellarchitected_create_lens_version}
\title{Create a new lens version}
\usage{
wellarchitected_create_lens_version(
LensAlias,
LensVersion,
IsMajorVersion = ... |
455d3557bfac92c35a2edb3ad8928491f81b9a1a | 467ff9c3708853fa099b3e68bb08c5ef54aa9c99 | /ExploratoryDataAnalysis/project-1/plot2.R | 3c3d1cce523a3e8f85e85664ec057693c799ed4e | [] | no_license | bmei/datasciencecoursera | 1063ef1e3a50493a81a8077a89ca0d447ea6a4cf | dd2379ba7c497d69f717e20904c26bc788a41c63 | refs/heads/master | 2021-01-18T18:25:30.687680 | 2015-03-19T03:53:56 | 2015-03-19T03:53:56 | 19,218,703 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 592 | r | plot2.R | # read data
data <- read.table("household_power_consumption.txt", sep=';', header=TRUE, na.string='?')
# change the class and format of Date
data$Date <- as.Date(data$Date, format="%d/%m/%Y")
# subset the data
mydata <- data[data$Date<="2007-02-02" & data$Date>="2007-02-01",]
# form the datetime column by combining ... |
bd61bd7017666fd5bd0247dc2d101aac60abd9dc | 7e276072d233e583e975b63024503689f4149619 | /man/df_hist.Rd | c07707a6d8585b4b61f3a1e688fc07663373d94b | [] | no_license | Davide-bll/Shinymod | 924203095ddc536bdaead56b39b77593f1ce4bdb | 8c117e56cebdee184f6f76491dd0c5bf6460b382 | refs/heads/master | 2023-04-06T05:59:03.448747 | 2021-04-13T18:22:24 | 2021-04-13T18:22:24 | 260,253,887 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 412 | rd | df_hist.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/graphics.R
\name{df_hist}
\alias{df_hist}
\title{create an histogram object}
\usage{
df_hist(df, x_col, title = "Aggregate", custom = NULL)
}
\arguments{
\item{df}{df}
\item{x_col}{col to represent}
\item{title}{optional title}
\item{custo... |
8b15a78f09005e7acb5bd6af9681481817c35c7c | f14e3a8823d00a12c25493ff12a7303c8f8fe305 | /man/heatmap.Rd | 4c590929442618f9d3be3747df26e90577310962 | [] | no_license | cran/rtrim | 6565c068369efec0e9867b5fe397a641eb859638 | 80239e3f7cbeb66b9540284eed9fa1bd946d4666 | refs/heads/master | 2020-06-17T16:12:35.734973 | 2020-04-21T11:20:02 | 2020-04-21T11:20:02 | 74,989,195 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,934 | rd | heatmap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/trim_heatmap.R
\name{heatmap}
\alias{heatmap}
\title{Plot a heatmap representation of observed and/or imputed counts.}
\usage{
heatmap(
z,
what = c("data", "imputed", "fitted"),
log = TRUE,
xlab = "auto",
ylab = "Site #",
...
)
}
... |
8696720313b4c2c9ad63d987a3814ff4d6fc0181 | a2bcf83193959276f7bd8db656db53e58e875a26 | /shiny/app.R | dca42c7538ea99aca705ecf8ef984e7b86de9c9f | [] | no_license | PieceMaker/presentation-lsdg-docker | 2b3c22fafdfe390eb9e60499c9083b4c1d461065 | 09aa739cfad27583d344cbae6a653dcb5700ce99 | refs/heads/master | 2020-04-21T06:16:15.830018 | 2019-02-09T05:03:32 | 2019-02-09T05:03:32 | 169,361,528 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,072 | r | app.R | # install.packages("DT")
library(shiny)
# Read in credit risk data
creditData <- read.csv('./german_credit_data.csv', header = T, stringsAsFactors = T)
creditRiskModel <- glm(
Risk ~ Age + Sex + Job + Housing + Saving.accounts + Checking.account + Credit.amount + Duration + Purpose,
data = creditData,
family = ... |
b306a6db3426f81199c26ff4bd2ae6be78c29855 | 43e38032774538ac92ed367ee2a4fbe9fab6a413 | /plot4.R | bae5ccac85be189e76e296165de8379a262eb53c | [] | no_license | cgrdavis/ExploratoryData | d8e8f0229f460c6c178cc7a29d126a2865cae3f3 | add67831947934be0b08cd331f64bd21a2139433 | refs/heads/master | 2021-01-19T06:56:36.520330 | 2015-09-12T22:12:09 | 2015-09-12T22:12:09 | 42,367,997 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,899 | r | plot4.R | ##Getting and Cleaning Data
##Course 4 - Exploratory Data
##Course Project #1 - Plot 3
##identify the zip file
fileZip <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(fileZip, destfile="data.zip", method="wininet")
dateDownloaded <- date()
data2 <- data.frame()
... |
80aa68dbae1cdbad87eef2d95ab85c5d4b6fefb5 | f90481e75ba7830811c8a4b214dc36fd0ecc0e95 | /web/_data/R_code.R | c64294303cc98dc5655bb766c5932793c1ffb5e6 | [
"MIT"
] | permissive | ecoinfAEET/dataton_sibecol_2019 | 1fff2897cfd6ede06d1f7842d3d4e7f096827667 | 738d64e75f60f13a997adbce41432a4476dd4a9b | refs/heads/master | 2022-05-01T03:24:50.592242 | 2022-04-12T13:07:31 | 2022-04-12T13:07:31 | 157,699,455 | 1 | 2 | MIT | 2020-07-22T10:36:39 | 2018-11-15T11:19:40 | HTML | UTF-8 | R | false | false | 1,154 | r | R_code.R |
# Load data from Gbif and then run the following code:
# Name 'dat' to your data
ji <- function(xy, origin=c(0,0), cellsize=c(0.1,0.1)) {
t(apply(xy, 1, function(z) cellsize/2+origin+cellsize*(floor((z - origin)/cellsize))))
}
JI <- ji(cbind(dat$decimalLongitude, dat$decimalLatitude))
dat$X <- JI[, 1]
da... |
a5a97cf8a3ea85cdca72d54310adcdacf605e5a1 | 21bb3d4d09bc942b6ee2670d7472938803a384ca | /man/ler_pnadc_anual.Rd | d4e5f2a39b1fcd1bb0cdb3ddc544080c9b3fc10b | [
"MIT"
] | permissive | pedrorubin/pnadcpackage | a17e1f6113053e2c31f40192b2a972e481de96cc | d13918cf8252dd24e74c08c81c0603f5746fc270 | refs/heads/master | 2023-08-22T05:16:46.557475 | 2021-10-27T13:42:31 | 2021-10-27T13:42:31 | 418,287,067 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 608 | rd | ler_pnadc_anual.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ler_pnadc_anual.R
\name{ler_pnadc_anual}
\alias{ler_pnadc_anual}
\title{Carregar os microdados da PNADC anual}
\usage{
ler_pnadc_anual(ano, caminho_pnadc)
}
\arguments{
\item{ano}{ano}
\item{caminho_pnadc}{A pasta na qual os arquivos de micr... |
206027cdbc469d2835f1b04fe2fbc26282b35792 | 882819a9ae9827a1ccde551479c994a782622da3 | /tests/testthat/tests_plotplcfs.R | 5c5d3fa3f465b70df94f295661b0a9291d7a578b | [] | no_license | reumandc/fspack | f3f2b691c247e960157b18f835a1a5a79770b72b | 260aa14ffc4eab3d5e3e9c44a11e60981eca76f9 | refs/heads/master | 2020-03-28T03:56:46.010442 | 2018-10-16T17:13:49 | 2018-10-16T17:13:49 | 147,683,545 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,896 | r | tests_plotplcfs.R | context("plotplcfs")
test_that("test error handling",{
expect_error(plotplcfs("test",xlabel="testx",ylabel="testy"),
"Error in plotplcfs: plcflist must be a list of plcf objects")
expect_error(plotplcfs(list("test"),xlabel="testx",ylabel="testy"),
"Error in plotplcfs: plcflist must be... |
b28049a838ad4d8d36541b49166c7b071d3b18e8 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /WebGestaltR/R/idMappingPhosphosite.R | e9c5a54e5ba359e8c721a1b4321745ecc0d5e74e | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 7,099 | r | idMappingPhosphosite.R | #' @importFrom httr POST content
#' @importFrom dplyr right_join select left_join %>%
idMappingPhosphosite <- function(organism="hsapiens", dataType="list", inputGeneFile=NULL, inputGene=NULL, sourceIdType, targetIdType, collapseMethod="mean", mappingOutput=FALSE, outputFileName="", hostName="http://www.webgestalt.o... |
213ae54a982760cd8ecd0179bf4caeb74a555b95 | 1e800858d0d3130be58458b284f31cc196f48f10 | /simu.main.cluster5.sparse.R | e02f9ba4318a01099c2f5eb77b6191e4ca12b275 | [] | no_license | ShanYu3393/fusionFLM | 6f1ac495e680b10ac193abfdbff59b28c83cb12f | e216f63d2ff9adc86b64a1c78568966af22a92df | refs/heads/master | 2022-11-09T12:46:23.769244 | 2020-06-23T15:17:42 | 2020-06-23T15:17:42 | 273,521,201 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,065 | r | simu.main.cluster5.sparse.R | rm(list = ls())
# library
library(igraph)
library(fda)
library(fossil)
library(mclust)
library(cluster)
library(parallel)
# source files
source('alpha.func.5.R')
source('int.R')
source('int.2.R')
source('simu.data.generating.R')
source('delta.matrix.R')
source('edge.generating.R')
source('fit.fusionFLM.R')
source('plo... |
aa276e33b6d9cad5baffbd36828ac3446d8d32f9 | e2a5cdf2dcbd788ac7c091897b5a027a809c302a | /man/latlongNeighborhoodData.Rd | 547e86aebe1c3e49a5197cb4df8320e01995813f | [] | no_license | lindbrook/cholera | 3d20a0b76f9f347d7df3eae158bc8a357639d607 | 71daf0de6bb3fbf7b5383ddd187d67e4916cdc51 | refs/heads/master | 2023-09-01T01:44:16.249497 | 2023-09-01T00:32:33 | 2023-09-01T00:32:33 | 67,840,885 | 138 | 13 | null | 2023-09-14T21:36:08 | 2016-09-10T00:19:31 | R | UTF-8 | R | false | true | 792 | rd | latlongNeighborhoodData.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/latlongNeighborhoodData.R
\name{latlongNeighborhoodData}
\alias{latlongNeighborhoodData}
\title{Compute network graph of roads, cases and pumps.}
\usage{
latlongNeighborhoodData(vestry = FALSE, case.set = "observed",
embed.addr = TRUE, mult... |
13ed183a261999f2ea61ac368b6f05177fdf0bcb | 8543b54ea30ee36884605dbc2ab60ad79cdac285 | /man/string2mat.Rd | de3f3c7e2689de4a580c517f90318c7cad93bfe7 | [] | no_license | cran/BiDAG | 3486d63fff82d3285b084e4ccfabb5198f4e81d5 | 6097d8ea159f5e4dc3c95b6d815d8e827efd5532 | refs/heads/master | 2023-05-27T11:45:52.035215 | 2023-05-16T11:46:02 | 2023-05-16T11:46:02 | 97,764,089 | 3 | 2 | null | null | null | null | UTF-8 | R | false | true | 1,823 | rd | string2mat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/graphhelpfns.R
\name{string2mat}
\alias{string2mat}
\title{Deriving interactions matrix}
\usage{
string2mat(curnames, int, mapping = NULL, type = c("int"), pf = 2)
}
\arguments{
\item{curnames}{character vector with gene names which will be u... |
b92319744a3121763a722e40abf04cd56941d978 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ade4/examples/ungulates.Rd.R | 2c45e9a0fdcb9c32b4c177828aebc7cd86e49887 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 905 | r | ungulates.Rd.R | library(ade4)
### Name: ungulates
### Title: Phylogeny and quantitative traits of ungulates.
### Aliases: ungulates
### Keywords: datasets
### ** Examples
data(ungulates)
ung.phy <- newick2phylog(ungulates$tre)
plot(ung.phy,clabel.l=1.25,clabel.n=0.75)
ung.x <- log(ungulates$tab[,1])
ung.y <- log((ungulates$tab[,2]... |
879dd1d33b9bbeac9640fd01ef0ed76e640a8b13 | 79a54bdd930b0ff24bee12107a0f2d4ea0141a12 | /man/prep_cell_info.Rd | f62cff2ecade6871d7d949bb89157c07d4cba1ca | [] | no_license | abcwcm/Klebanoff21LT2 | 957ef1d19263f35653de9347fac24ac2b8da166b | 6bb124f4d5d97fece322d422e533a3e898c43ce8 | refs/heads/master | 2023-04-13T23:20:27.592502 | 2022-03-03T11:26:43 | 2022-03-03T11:26:43 | 465,661,359 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 548 | rd | prep_cell_info.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrangling_sce.R
\name{prep_cell_info}
\alias{prep_cell_info}
\title{Add clonotype information to the colData of a SCE object}
\usage{
prep_cell_info(sce.object, clonotype_info = clono_info_wt)
}
\arguments{
\item{sce.object}{SCE object}
\ite... |
0e9f057c0459382be2128219109609c0a3ded81d | 482ea7e84633220747229d91b9d9c03865b544b6 | /ensembleMOS/man/ensembleMOSlognormal.Rd | 67bc33bed54b60857822d582f173e3098d1fb6f0 | [] | no_license | Three-Poles/Reprocessing | b3a8aeb17e1c3efacf85fbb30b0e2f0134a54648 | a849f369fb386c3238fd07851e5c1449d7946122 | refs/heads/master | 2020-08-09T19:51:09.654977 | 2019-10-14T07:53:27 | 2019-10-14T07:53:27 | 214,160,276 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,248 | rd | ensembleMOSlognormal.Rd | \name{ensembleMOSlognormal}
\alias{ensembleMOSlognormal}
\title{
Log-normal EMOS modeling
}
\description{
Fits a log-normal EMOS model to ensemble forecasts for
specified dates.
}
\usage{
ensembleMOSlognormal(ensembleData, trainingDays, consecutive = FALSE,
dates = NULL, control = controlMOSl... |
a98c9f52bf40fbe58f33e48b2854a95fcafbee2f | 214c1b6017f13f571c309f7521ef1ee3ba7c48ec | /man/report_lm.Rd | 683c9f8a9e85d27d19e2c858b4446d32543c7aa3 | [
"MIT"
] | permissive | a1trl9/svnc | be392560a5ed1e653f310614273b274c14ffa126 | 896b51e49929896cec272805f704764f73e93fa1 | refs/heads/master | 2020-09-22T11:30:33.845864 | 2019-12-01T14:40:53 | 2019-12-01T14:40:53 | 225,176,351 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 343 | rd | report_lm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/report_lm.R
\name{report_lm}
\alias{report_lm}
\title{report_lm}
\usage{
report_lm(data, x, y)
}
\arguments{
\item{x}{key of independent variable}
\item{y}{key of dependent variable}
\item{df}{dataframe, source of plot}
}
\value{
None
}
\de... |
20b576e5a53a5b80921208d52380cdca1e07ef67 | a68fcf7bad70e91af4b398df8bee04b9b0bda82e | /S34_S38_phylogenetic_comparative_methods/scripts/resources/slouch/R/regimes.R | f7ae897b48dc47cba38e777534b515177f0f0ff3 | [] | no_license | hj1994412/teleost_genomes_immune | 44aac06190125b4dea9533823b33e28fc34d6b67 | 50f1552ebb5f19703b388ba7d5517a3ba800c872 | refs/heads/master | 2021-03-06T18:24:10.316076 | 2016-08-27T10:58:39 | 2016-08-27T10:58:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 392 | r | regimes.R | `regimes` <-
function (topology, times, regime.specs, term) {
N <- length(term);
reg <- set.of.regimes(topology,regime.specs);
R <- length(reg);
beta <- vector(R*N, mode="list");
for (i in 1:N) {
for (k in 1:R) {
p <- pedigree(topology, term[i]);
n <- length(p);
beta[[i + N*(k-1)]] <- as.intege... |
5931775192904f5e67dbfcb9a7e55cc812b734cc | de1ab8c0db8b5fb7092953ff423e2bc2172f2a07 | /make_LANDSAT8_layers_for_extraction.R | 3e9fe46a691d91f4275ef2e0530b1dd5f8713ab2 | [] | no_license | ranalut/ChicagoGrasslandBirds | 244bc88bfbd50b0d23f2881818f7b4212c552b16 | b373c7e496f22d1c37c3fd57f58b6b185b2affa8 | refs/heads/master | 2020-05-26T10:46:20.318317 | 2015-04-01T05:09:34 | 2015-04-01T05:09:34 | 15,231,597 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,150 | r | make_LANDSAT8_layers_for_extraction.R | ### make LANDSAT 8 grids for extraction and prediction
library(raster)
setwd("D:/Chicago_Grasslands/BIRD_DATA/BCN")
all<-read.csv("31qryBreeding_JGS_version.csv", header=T)
## trim observations to those meeting requirements
obs<-all[all$VALID==1&all$PROTOCOL_ID=="P21"&all$DURATION_HRS==0.08&all$ALL_OBS_REPORTED==1,... |
b1def1ea2a31f161e695a7ed48121f1e9bb475d5 | 9449f53d55603e4ce50ce8dc7275dcf3af9fa00f | /pollen-on-silk/load-genes.R | 9aac01c768dddb195364abf4fb279d3659244b1d | [] | no_license | carnegie-dpb/evanslab-java | 96cd835a87bea453278baf3d04a6460879aa32bb | fd26166340a911c74676eafa1b9dcd97502d72f4 | refs/heads/master | 2021-07-25T14:27:25.427832 | 2021-06-24T17:39:01 | 2021-06-24T17:39:01 | 79,609,668 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 359 | r | load-genes.R | ##
## load data from an alleles to genes file
##
## params
sourceAltTotalMin=10
sourceAltReadRatioMin=0.5
sourceRefFractionMax=0.1
targetRefFractionMin=0.9
genes = read.table("pollen-genes-10-0.1-0.9.tsv", header=T, sep="\t")
genes$SrcRefTot = genes$SrcRF + genes$SrcRR
genes$SrcAltTot = genes$SrcAF + genes$SrcAR
ge... |
d3a5d81c3e70567a671b4bc8e921d98784bb69e1 | 89cd9cf8c4124d1a9dd5803d94af1eeee158b05e | /Old Files/my functions.R | 274f6b4abb5f69326d6417e763fe471180128c90 | [] | no_license | NicolaPilia/Thesis | 1c7c4b69e9eec1b2072b7e84c07f76a11bcea303 | 077d850b5665d4e31a8992d13f4f1f73bd0af62d | refs/heads/master | 2022-12-07T02:38:16.431305 | 2020-09-02T17:36:07 | 2020-09-02T17:36:07 | 276,679,617 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 714 | r | my functions.R | #My functions
#for preparing data for Confusion Matrix
conf_clean<-function(x){
x<-ifelse(x>0.5,1,0)%>%factor()
x<-as.vector(x)
x[is.na(x)] <-0
x<-as.factor(x)
}
complete_analysis<-function(y,z){
#creating the corpus
library(tm)
corp<-Corpus(VectorSource(y))
#tokenization
corp<-tm_map(corp,stripWhi... |
023686f364479aa6655cee4b95d4e79726bb23f0 | c9420d71ce4b56c91a4c1326be3b79c07bddb428 | /data-raw/sig_exp.R | 3a7676b82916c142193aed7091784056a99f34c2 | [] | no_license | SiYangming/TSGene | 7deaa27375a5ef7427374a791d38a218e4aca146 | bca0a8f47071b5454a27823333a021c44a12a2be | refs/heads/master | 2023-02-23T18:46:03.289378 | 2021-02-06T18:04:24 | 2021-02-06T18:04:24 | 336,546,963 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 354 | r | sig_exp.R | library(readr)
library(dplyr)
### All the precomputed P-values for gene expression difference between tumor
### and normal samples for all human tumor suppressor genes in pan-cancer
raw <- read_tsv("https://bioinfo.uth.edu/TSGene/sig_exp.txt")
sig_exp <- raw
save(sig_exp, file = "data/sig_exp.rda")
write_tsv(sig_ex... |
38a711f2aeb830edbe0b7a2b3268b8f0817388ad | b926f0ac08bfe1b7c0feb654849cbdc70330d462 | /man/print_rdfa.Rd | 83928908081da26c3bb73ec705680fd5d6b8fcf8 | [
"CC0-1.0"
] | permissive | hpiwowar/knitcitations | 2157e0c94c376dc5a539996c1b472310d0ae0a9d | 97456fe4fa138eac68dc4e242500bf9fe8c4012c | refs/heads/master | 2021-01-17T22:50:40.657655 | 2013-02-11T19:51:22 | 2013-02-11T19:51:22 | 8,145,133 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 231 | rd | print_rdfa.Rd | \name{print_rdfa}
\alias{print_rdfa}
\title{format for rdfa markup of references}
\usage{
print_rdfa(bib)
}
\arguments{
\item{bib}{a bibentry object}
}
\description{
format for rdfa markup of references
}
\keyword{internal}
|
d91ebec91a7ef0bb4049dfff4e36c41259ed8487 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/OpenMx/examples/mxFitFunctionAlgebra.Rd.R | 8f0c79a4b7ffaad6838f3580bf7d056af90170cd | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 894 | r | mxFitFunctionAlgebra.Rd.R | library(OpenMx)
### Name: mxFitFunctionAlgebra
### Title: Create MxFitFunctionAlgebra Object
### Aliases: mxFitFunctionAlgebra MxFitFunctionAlgebra-class
### print,MxFitFunctionAlgebra-method show,MxFitFunctionAlgebra-method
### ** Examples
# Create and fit a very simple model that adds two numbers using mxFitFu... |
e0bb090666775148b3893046bdc5c633f3519449 | 2b2aee3352f8a10c121fe74036eddec01b3ee595 | /man/initializeMutationRate.Rd | 017d44699b6d638c52c1d409c68924623e0d0a43 | [
"MIT"
] | permissive | rdinnager/slimr | 56f1fef0a83198bce292dd92dc1014df87c2d686 | e2fbb7115c7cca82dabd26dc6560e71a8cd0958b | refs/heads/master | 2023-08-21T14:00:36.089104 | 2023-07-31T03:11:09 | 2023-07-31T03:11:09 | 226,999,099 | 8 | 1 | NOASSERTION | 2023-08-03T05:44:32 | 2019-12-10T01:04:16 | R | UTF-8 | R | false | true | 5,828 | rd | initializeMutationRate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/slim_lang.R
\name{initializeMutationRate}
\alias{initializeMutationRate}
\alias{Initialize$initializeMutationRate}
\alias{.Init$initializeMutationRate}
\title{SLiM method initializeMutationRate}
\usage{
initializeMutationRate(rates, ends, sex... |
b24dec986ce192d459b3c6f2a0ba025d5b17ee17 | 385bb86445590ecd4d6eaab510f55585861b9fcb | /R/ugomquantreg-package.R | 0fe1d0a0d2aa6217b447fc00332d37f4d03b7272 | [] | no_license | cran/ugomquantreg | fbe74a719bcd2479f550d93ef0b2395f0540f585 | 819888fcee801c3f1b24b25fda45d72f91ff1009 | refs/heads/master | 2023-06-06T03:41:47.153531 | 2021-06-28T05:40:02 | 2021-06-28T05:40:02 | 381,083,965 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,019 | r | ugomquantreg-package.R | #' @docType package
#' @name ugomquantreg-package
#' @aliases ugomquantreg-package
#'
#' @title Overview of the ugomquantreg package
#'
#' @description The \pkg{ugomquantreg} package implements the probability density function, quantile function, cumulative distribution function and random number generation function fo... |
5c7863da524a1de2e9a1c86947efd50c79334cba | 850a375ce77a10f2e52e46c4ff4229c45e0798e1 | /src/tt_Post.R | deabfa9fb6782f44086231b82db39af198b683ff | [] | no_license | josephedwardoreilly/TidyTuesday | e7d1f04468aa6c6202f4661e4df71a03e7c1ef1e | 68e7a1489b097f1160a60d0792b884d81ec0ad9d | refs/heads/master | 2023-07-15T21:46:33.986887 | 2021-08-25T19:41:30 | 2021-08-25T19:41:30 | 354,812,775 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,420 | r | tt_Post.R | require(data.table)
require(ggplot2)
require(viridis)
require(ggtext)
# Load the data
tidy.week <- '2021-04-13'
tuesdata <- tidytuesdayR::tt_load(tidy.week)
# Data Wrangling/Prep -----------------------------------------------------
x <- data.table(tuesdata$post_offices)
x <- x[, .(name, established, discontinued, ... |
21e65797480a01ba5a9bbe77d500a0fb553f31d0 | edee4a9c4cf3c35a52dfc99ac53279ab23e069ab | /examples/FeatureCollection/idw_interpolation.R | 45ed6515a63ce1d4c0c4be88598736795df9ddba | [
"Apache-2.0"
] | permissive | benardonyango/rgee | a8dd22a72f2c77a0d1e88f6177c740942fe2cfbc | e9e0f2fa7065e79c1c794bd7387fd0af633031ff | refs/heads/master | 2022-04-09T18:10:23.689798 | 2020-03-31T10:56:00 | 2020-03-31T10:56:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,904 | r | idw_interpolation.R | library(rgee)
# ee_reattach() # reattach ee as a reserved word
ee_Initialize()
sampling <- function(sample) {
lat = sample$get('latitude')
lon = sample$get('longitude')
ch4 = sample$get('ch4')
ee$Feature(ee$Geometry$Point(c(lon, lat)),list(ch4 = ch4))
}
# Import two weeks of S5P methane and composite by mean... |
6c28c5a981e123e133de8cde4af90dc6bcfd67df | 3d3dca4a42b1777c13108e03ca0e3bfcd9a93205 | /Portfolios/O_CS_load.R | 0420b9574086b6f5bdee130e269a29cf318222e9 | [] | no_license | BioAimie/AnalyticsWebHub | 90afaaf4abf09ef0799ddaa5bd762233975f2e38 | 4f650049cdbfb2ce41ab072655878a5a7a12d5e7 | refs/heads/master | 2021-03-27T12:31:24.229879 | 2017-07-27T16:50:14 | 2017-07-27T16:50:14 | 74,378,065 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,724 | r | O_CS_load.R | library(RODBC)
# Open the connection to PMS1
PMScxn <- odbcConnect("PMS_PROD")
queryText <- readLines("SQL/O_CS_StockLevels.sql")
query <- paste(queryText,collapse="\n")
stockInv.df <- sqlQuery(PMScxn,query)
queryText <- readLines("SQL/O_CS_RefurbShipments.sql")
query <- paste(queryText,collapse="\n")
refurbShip.df ... |
5dd82baa915e78eae6fc73850200319b9272b5c1 | beba131dedd39cfdd6e18f45e5edcc1d23ee037e | /plot6.R | a2b044ae6be1cdd8412aadad2b019a6c15058efa | [] | no_license | taserian/ExDataProject2 | 23f4952b2cd46548f9a8739ab90d154c1fb508f8 | afb94c2cbfa6a32d68cc86bf0c538c40316407ef | refs/heads/master | 2021-01-10T02:54:02.821644 | 2015-05-24T16:42:45 | 2015-05-24T16:42:45 | 36,149,924 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,302 | r | plot6.R | # Compare emissions from motor vehicle sources in Baltimore City with emissions
# from motor vehicle sources in Los Angeles County, California (fips ==
# "06037"). Which city has seen greater changes over time in motor vehicle
# emissions?
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Cod... |
688692cdf7cdcac8916974f60f55f5255c587a3e | 56b32941415e9abe063d6e52754b665bf95c8d6a | /R-Portable/App/R-Portable/library/igraph/tests/test_get.diameter.R | ca4456b2fd613bfc3d6531345bd57903e7af963c | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-newlib-historical",
"GPL-2.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only",
"MIT"
] | permissive | voltek62/seo-viz-install | 37ed82a014fc36e192d9a5e5aed7bd45327c8ff3 | e7c63f4e2e4acebc1556912887ecd6a12b4458a0 | refs/heads/master | 2020-05-23T08:59:32.933837 | 2017-03-12T22:00:01 | 2017-03-12T22:00:01 | 84,758,190 | 1 | 0 | MIT | 2019-10-13T20:51:49 | 2017-03-12T21:20:14 | C++ | UTF-8 | R | false | false | 516 | r | test_get.diameter.R |
context("get_diameter")
test_that("get_diameter works", {
library(igraph)
g <- make_ring(10)
E(g)$weight <- sample(seq_len(ecount(g)))
d <- diameter(g)
gd <- get_diameter(g)
sp <- distances(g)
expect_that(d, equals(max(sp)))
expect_that(sp[ gd[1], gd[length(gd)] ], equals(d))
d <- diameter(g, we... |
339966515601565b190ab6a1a3ccbeb85b656d5e | 331d29945b9a4dfa95ae3787702935c9f89dd22a | /src/plot_data/NHC_map_multiple_versions.R | d4b1c0585075cec96200d5e0374bb2a5ed41a1e9 | [] | no_license | amcarter/NHC_2019_metabolism | 80647234ab4e68f788d7589511f90108903eb5ca | 466b96027e751dfb1d314ee04f0d7ab2697abf2d | refs/heads/master | 2023-06-22T05:58:48.498863 | 2021-07-23T04:00:07 | 2021-07-23T04:00:07 | 255,482,332 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,800 | r | NHC_map_multiple_versions.R | ################################
# Make Map of NHC watershed with different subsets of sites for presentation
# A Carter
# 3.27.2021
library(nhdplusTools)
library(tidyverse)
library(sf)
library(tmap)
library(rgdal)
library(maps)
library(rgee)
setwd('C:/Users/Alice Carter/Dropbox (Duke Bio_Ea)/projects/hall_50yl2/NHC... |
63b4be9a4ab128b843061ca98d89a16fe412f015 | e7af507b207ca3f018a1ffed68026dfe77c21eff | /R/eng-mod_focus_20200406_mort_veneto.R | a1fef47be0dffd25847521432dd67c3c246a68e8 | [
"CC-BY-4.0"
] | permissive | UBESP-DCTV/covid19ita | 24a4f692988dbd78ffe43eb14258d30053ab37f6 | 0a94f4da7ab02ae469e11e6c5f7ca61c6122e3a1 | refs/heads/master | 2023-04-11T07:54:38.776100 | 2023-03-23T18:03:40 | 2023-03-23T18:03:40 | 246,156,761 | 9 | 3 | CC-BY-4.0 | 2020-11-22T15:46:38 | 2020-03-09T22:40:08 | R | UTF-8 | R | false | false | 14,391 | r | eng-mod_focus_20200406_mort_veneto.R | #' focus_20200406_mort_veneto UI Function
#'
#' @description A shiny Module.
#'
#' @param id,input,output,session Internal parameters for {shiny}.
#'
#' @noRd
#'
#' @importFrom shiny NS tagList
eng_mod_0406_mort_ve_ui <- function(id) {
ns <- NS(id)
fluidPage(
fluidRow(box(
width = 12,
p(HTML("
... |
435e2a2ce02e0436020fb1d8c6d4622c29ee9ced | 8da89ff84396fb73d5b139398e351adf0cf1a080 | /man/score.Rd | 51a22474de12413a57bb4f69728e4c00aa8ae415 | [] | no_license | UBESP-DCTV/rexams | f4ce0347213a2eac678414910082c3daf8d9f977 | f2353d7db89b8386be0feeeda365e82489881db5 | refs/heads/master | 2020-03-20T10:50:10.725246 | 2018-09-10T11:32:37 | 2018-09-10T11:32:37 | 137,386,189 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 235 | rd | score.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/score.R
\name{score}
\alias{score}
\title{Score}
\usage{
score(x)
}
\arguments{
\item{x}{a boolean}
}
\value{
1 if TRUE, -1 if FALSE
}
\description{
Score
}
|
0d2742130ef97f929fcf363df17602030dd3c9ae | 6c498ad3e5c3b97cc4c8cb6a26b9c15d68d6a933 | /r/man/model_search.Rd | 78702011f5e658e08ef0a53046c7fb117b5175cb | [] | no_license | ModelOriented/weles | 6b327dcf4c97f0a2df637fed3b28a7bfb48aea1b | 2b76fb0ed6b42c0395426eebdb8fcb9765dc43e7 | refs/heads/master | 2020-07-27T09:06:29.253125 | 2019-11-30T14:08:21 | 2019-11-30T14:08:21 | 209,040,281 | 9 | 4 | null | 2019-09-18T14:55:07 | 2019-09-17T11:53:01 | HTML | UTF-8 | R | false | true | 1,788 | rd | model_search.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/model_search.r
\name{model_search}
\alias{model_search}
\title{Find model that interests you the most}
\usage{
model_search(language = NA, language_version = NA, row = NA,
column = NA, missing = NA, classes = NA, owner = NA,
tags = c(), r... |
6bc112eee14572d9ebb13dc4afd9eff3c04c660a | ba05b04ebd7376d6ea805f5c3ea5431fa30c4313 | /scripts/nchs_vital_stats_mortality_tidy.R | 3ae5f498714148a637b289e6d8c95983ca253a1b | [
"CC0-1.0"
] | permissive | UACC-renedherrera/NCHS-Leading-Causes-of-Death-USA | fc50ab3ed36bf1947ccbe5da7e3880e350fedae5 | 72fd4655426ee0563c06b45266a6821ec06e7df5 | refs/heads/main | 2023-06-30T03:30:30.683943 | 2021-08-04T21:34:54 | 2021-08-04T21:34:54 | 392,426,715 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,925 | r | nchs_vital_stats_mortality_tidy.R | # set up ----
# load packages to read and tidy data
library(here)
library(tidyverse)
library(janitor)
# source citation ----
#
# notes about the data:
# https://www.cdc.gov/nchs/data/dvs/Multiple-Cause-Record-Layout-2019-508.pdf
#
# set values
# url <- "https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/DVS/... |
28dd5aecc930d1edb74307215c94bb15e7b67bfb | 37a70a2a8c84f353d45cd678f059cbe5446d5346 | /day2/hw0829.R | 9b409d236f8e774f093278e42118aceb3b3be88a | [] | no_license | jee0nnii/DataITGirlsR | a27f7ce1c3f90765366f120ff85cd7f2cee60e8c | cc6e7b3f2d30c690a41e4ca5a165d32de47d3c3f | refs/heads/master | 2021-03-19T16:49:01.412022 | 2017-11-06T15:21:56 | 2017-11-06T15:21:56 | 109,706,695 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,012 | r | hw0829.R | ####1월_박스오피스.excel 파일을이용해, 다음문제를풀어보자!####
getwd()
setwd()
boxoffice_jan <- read.csv("boxoffice_jan.csv")
head(boxoffice_jan)
View(boxoffice_jan)
####1.매출액의최대값, 최소값, 평균을구하여라.####
bo_j_revenue <- boxoffice_jan$매출액
bo_j_revenue
bo_j_max <- max(bo_j_revenue)
bo_j_max
bo_j_min <- min(bo_j_revenue)
bo_j_min
bo_j_mean <- mea... |
42efaa31e8baf9f71153deb5946ce913adb8ba4e | f0d35b6ea0ebe9517537ecdf921bb442f1fd7550 | /ColonelHouNote/src/main/java/com/hn/opensource/scale/pre/辅助构造器.rd | 3f84795450593b9bae01e7d88f14bcd5b1d44817 | [] | no_license | jiangsy163/ColonelHouNote | 01191a63d51542b09ef23e9662896e8407211119 | 6173c265c82b7b0197846cf621ecebab44073ef6 | refs/heads/master | 2021-01-14T12:47:41.091704 | 2015-11-19T08:40:09 | 2015-11-26T08:41:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 419 | rd | 辅助构造器.rd | 类能有任意多的辅助构造器
辅助构造器的名称为this,在类中定义
辅助构造器必须以一个主构造器或其他已定义的辅助构造器调用开始
class HELLOWORLD{
private var value1=“”
private var value2=“”
def this(m:String){
this() //调用主构造器
this.value1=m}
def this(m:String,n:String){
this(m) //调用已定义的辅助构造器
this.value2=n}} |
824266e1b3ccf4dc73200fe58d3be8b4f17aefa0 | 723aa099e0ca3ae77e5e6a60e2c9f46288d9ecb6 | /chapter5.R | c66a2ebec40b690b76497a9b8bfa28cfc55222c7 | [] | no_license | anhnguyendepocen/code-r-journalism | ef530885bf493927510b4861cb934bd238239b1f | 78706a395f5594dae680e8bc9e6e1c2dc6b2ca8a | refs/heads/master | 2020-05-01T04:16:08.877185 | 2018-08-15T21:22:45 | 2018-08-15T21:22:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,043 | r | chapter5.R | ---
title: "Chapter 5"
tutorial:
id: "code.r-journalism/chapter-5"
version: .8
output:
learnr::tutorial:
progressive: true
theme: lumen
highlight: espresso
include:
before_body: _navbar.html
runtime: shiny_prerendered
---
```{r setup, include=FALSE}
library(learnr)
library(tidyverse)
library(checkr)
kni... |
488ecfa9121bf7827fdb39b8ed96bdfb336b38b4 | a92c154607a68a36905e86843bae56065bed5a6b | /_RF/_run6/4_predictRF_future.R | e9ed7b1b411768ad76d32831056704bc2febcdd1 | [] | no_license | fabiolexcastro/centralAmericaCocoa | 41c7af22ef3bbde8d55750ac06741fb613e59e33 | de0c4bc0d4168fc27c8fcdfe732afe515f1855e2 | refs/heads/master | 2021-05-13T18:36:03.720454 | 2018-01-09T21:05:45 | 2018-01-09T21:05:45 | 116,870,527 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,452 | r | 4_predictRF_future.R | # CIAT, 2016 Updated: February 2017
# Author: Bunn & Castro
# Target: predict RF Future
# Load libraries
library(tidyverse)
library(raster)
library(rgdal)
library(cclust)
library(outliers)
library(dismo)
library(gtools)
library(multcomp)
library(sp)
library(rgeos)
library(outliers)
library(FactoMineR)
library(pROC)... |
1794682b611be77a74fe87d16f1fca655958cca8 | 040c27633646c78485b75cc908400d184f006490 | /Fra_Check_tree.R | 80faa4957acb370430255190db379389241884f1 | [] | no_license | Gowthaman227/Decision-Tree-Algorithm | 013acad3ec7361a954c09216ceae792904641090 | d66294cd5fc5eb3118eee2cdc54e9fc2c04f5de6 | refs/heads/master | 2022-11-23T04:09:54.211011 | 2020-07-27T15:20:17 | 2020-07-27T15:20:17 | 282,936,053 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,604 | r | Fra_Check_tree.R | library(party)
library(C50)
library(caret)
Fra_Check <- read.csv(file.choose())
View(Fra_Check)
str(Fra_Check)
Fra_Check$Taxable.Income <- ifelse(Fra_Check$Taxable.Income<= 30000,"Risky","Good")
Fra_Check$Taxable.Income <- as.factor(Fra_Check$Taxable.Income)
View(Fra_Check)
## Creating partition for training a... |
86db77ac246b8494580398c2b15f3c87f6f9f05c | ae3a01bcafd7b940c15d8edb9b5a4105655d5fe2 | /source_functions/lrt_calc.R | 679f785a86f0cd043d4aee63a7749dd63ae4cf89 | [] | no_license | harlydurbin/angus_hairshed | a5c29713c340f839e3fe6b6ae5f831b812555d11 | dc31e4d5bb69945ae41753f494896aacea272133 | refs/heads/master | 2023-03-02T01:42:41.507055 | 2021-02-12T19:00:08 | 2021-02-12T19:00:08 | 276,473,429 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 172 | r | lrt_calc.R | lrt_calc <-
function(ll_null, ll_test) {
pval <- pchisq(ll_null - ll_test, 1, lower.tail = FALSE, log.p = TRUE)/2
-log10(exp(pval))
} |
d908e2e0c641cb37b375337624a01fa0ab293547 | da7b0f2eaab98442566c5d8bcad60ac1d72443ae | /code.R | 518fbbcd0f35b01fadede40f84d04a5137057edc | [] | no_license | priyanka-sharma29/Hypothesis-Testing-Statistical-Analysis-Regression-Modeling | 6fa49ab8bc14e26afad2da303e7466a10a61baac | 851daa3293913a73c417274baa648d587a0f42f5 | refs/heads/master | 2020-03-06T20:54:31.690607 | 2018-08-17T08:24:58 | 2018-08-17T08:24:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,709 | r | code.R | #Read the file
crime1 <- read.csv(file.choose(), header=T)
#Joining the county file
county<-read.csv("C:\\Users\\priya\\Desktop\\Fall 2017\\STATS\\Final Project\\data\\NC_Counties.csv",1 )
View(county)
county<-na.omit(county)
View(county)
crimenc<- merge(crime1,county,by.x="county", by.y="County.Code")
crime... |
96498262bd0592045493ae35543f10033a30cac6 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/anyOutside/libFuzzer_anyOutside/anyOutside_valgrind_files/1610056345-test.R | 2beafc8386210f4a7301dea8081d82455a534718 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 158 | r | 1610056345-test.R | testlist <- list(a = 1650614882L, b = 1650614882L, x = c(1650614882L, 1650614882L, 1650614882L))
result <- do.call(grattan:::anyOutside,testlist)
str(result) |
d1d2e711a159176de181632f75203533856a744e | 20f94728c7b940abe1b4232f697811984a305cd0 | /plot3.R | 5650dda6bb692a86b8e98799f309dfca0d05afe5 | [] | no_license | MichaelSzczepaniak/ExData_Plotting1 | 9fc8f87f2e9536b9ce90bb4197af72d201b524f4 | 441c117c87ee4cd88adb254e1ec7d211123c2c0f | refs/heads/master | 2020-12-25T07:22:00.398890 | 2015-08-05T16:45:04 | 2015-08-05T16:50:56 | 40,136,474 | 0 | 0 | null | 2015-08-03T16:46:55 | 2015-08-03T16:46:55 | null | UTF-8 | R | false | false | 2,136 | r | plot3.R | ## Reads in the data to generate plot
## fileName - location of the data file, e.g. "household_power_consumption.txt"
## startRow - first row of the data file to be read
## readCount - number of rows of the data file to be read
readHouseholdPowerData <-
function(fileName, startRow, readCount) {
colClasses <... |
b91a635cd2c967eb1429d9614c5161c2c9ea69bb | 54494856f914c185be05a5acaa3f3527068e6af8 | /Contest1/models/pca_prep.R | 3fcca4f3cd903fe7588b48253231bb00218db24d | [] | no_license | tmastny/machine_learning_class | eba8ca58ebef177fdd3d98ac89982412abfc1ad1 | 55020ea278aba7ee99176627a10e52f90a204cb3 | refs/heads/master | 2021-04-27T19:30:46.426001 | 2018-03-26T20:49:48 | 2018-03-26T20:49:48 | 122,357,314 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 660 | r | pca_prep.R |
library(tidyverse)
library(recipes)
library(caret)
paintings <- read_csv('Contest1/train.csv')
test_data <- read_csv('Contest1/test.csv')
paint_recipe <- recipe(class ~ ., data = head(paintings))
paint_recipe <- paint_recipe %>%
step_center(all_predictors()) %>%
step_scale(all_predictors()) %>%
step_pca(all_... |
ec36cbf06982c91b8e86187e590cf534a2603ff0 | a01c9b894cbfe75c924bdf8d563e4021fb3b1e0d | /Code for separate plots/screes.R | ec9c3f7375ead251b5f9d354241d1c72d60792de | [] | no_license | hansronald/kandidaten | 5a7fc930ffb74013c30fff47100d46faae0f3bc8 | b78badf6ce840967bf8d0fbbbaf8837e664590de | refs/heads/master | 2018-07-15T03:41:10.079267 | 2018-06-01T14:22:29 | 2018-06-01T14:22:29 | 126,025,418 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,378 | r | screes.R | setwd("/Users/rebecka/Documents/Dokument/MSG900/Kod/precisionsmatriser")
prec = as.matrix(read.table("model_p200.csv", sep=','))
cov200 = solve(prec)
n = 80
datagen = mvrnorm(n = n, mu = integer(dim(cov200)[1]), Sigma = cov200, tol = 1e-6, empirical = FALSE, EISPACK = FALSE)
cov200 = cov(datagen)
prec = as.matrix(rea... |
f87aee12a3260ed48866119bc134784001b0f28a | be54ba5a39bafbfbe7935d15c8957b92ee61ff20 | /scripts/access_spotify_data.R | ca0e2d7cd2ae5fb44567e6fde98a5d260667c0d6 | [
"MIT"
] | permissive | StephaininZ/spotify_data | f72d1baf7a5118554c85123376fc63c5518e80a6 | 8b65cf0686afe76cb6eb7704c0c73d5b7a81c6e6 | refs/heads/main | 2023-02-23T05:30:41.409377 | 2021-02-02T00:16:11 | 2021-02-02T00:16:11 | 335,115,982 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,197 | r | access_spotify_data.R | #### Preamble ####
# Purpose: Access data retrieved from Spotify API
# Author: Yingying Zhou
# Data: 01 February 2021
# Contact: yingying.zhou@utoronto.ca
# License: MIT
# Pre-requisites:
# - Register for a Spotify developer account
# - Obtain Client ID and Client Secret from App and save locally in .Renviron
# - Nee... |
be9032ba711afab634c63bf3dfb7bf0c50128b1e | fe87c441eb8e2994484666125469c395d4435140 | /man/watbal.update.Rd | 900c5b3fcac99844bce66bafc561e0beadb33568 | [] | no_license | ritviksahajpal/ZeBook | a655229af0e6b6038bbfe456592582b5e299477a | 36d79718a605c2f996a7d1a44694860ff0621f2d | refs/heads/master | 2021-01-13T17:23:28.970824 | 2013-06-17T00:00:00 | 2013-06-17T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 667 | rd | watbal.update.Rd | \name{watbal.update}
\alias{watbal.update}
\title{WaterBalance model - calculate change in soil water for one day}
\usage{
watbal.update(WAT0, RAIN, ETr, param, WP, FC)
}
\arguments{
\item{WAT0}{: Water at the beginning of the day (mm).}
\item{RAIN}{: Rainfall of day (mm)}
\item{ETr}{: Evapotranspi... |
7e73ade10bfe90e45492e28daa5288fbf91f9837 | 9b294e57af2624950201131ba07e73e49c9600e3 | /R/semi.markov.3states.ic.R | 02b2ee47583ee5117dfcbfb348cffcd6b9b9fd62 | [] | no_license | cran/RISCA | fa0f27acfe1e9f492f0bf081d952e9285b8723b4 | 64415a11d20579620602aa7d04684acdd1811cbf | refs/heads/master | 2023-04-06T02:21:48.922948 | 2023-03-22T17:50:02 | 2023-03-22T17:50:02 | 236,882,460 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 44,600 | r | semi.markov.3states.ic.R |
semi.markov.3states.ic <-function(times0, times1, times2, sequences, weights=NULL, dist, cuts.12=NULL,cuts.13=NULL,cuts.23=NULL,ini.dist.12=NULL, ini.dist.13=NULL, ini.dist.23=NULL, cov.12=NULL, init.cov.12=NULL, names.12=NULL, cov.13=NULL, init.cov.13=NULL, names.13=NULL, cov.23=NULL, init.cov.23=NULL, names.23=NULL... |
06c24742bc5c86c33764899ede16c6d80566a73f | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.application.integration/man/mwaa_create_web_login_token.Rd | 13493bf26c8f83dd284af5ac467eb5891532b61f | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 712 | rd | mwaa_create_web_login_token.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mwaa_operations.R
\name{mwaa_create_web_login_token}
\alias{mwaa_create_web_login_token}
\title{Creates a web login token for the Airflow Web UI}
\usage{
mwaa_create_web_login_token(Name)
}
\arguments{
\item{Name}{[required] The name of the A... |
e75066bf33179a709e10318f85ccc1395cf65810 | a442e52a01ba59da34bdca21ba4e2f3dc4f7e599 | /man/tfpwmk.Rd | b537820a4ef5d23aadd6875bf507bd82b54fcd34 | [] | no_license | cran/modifiedmk | 93f91b680e1f6a0e935eb193afb7f6d015e19507 | 87569a63622e996fd423fb872bba0ffb01ed7c2e | refs/heads/master | 2023-05-25T18:17:54.465263 | 2021-06-10T06:20:02 | 2021-06-10T06:20:02 | 107,578,860 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 2,210 | rd | tfpwmk.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tfpwmk.R
\name{tfpwmk}
\alias{tfpwmk}
\title{Mann-Kendall Trend Test Applied to Trend-Free Prewhitened Time Series Data in Presence of Serial Correlation Using Yue et al. (2002) Approach}
\usage{
tfpwmk(x)
}
\arguments{
\item{x}{- Ti... |
ba95d8eaea65bae0b2d1b62478b8a4e7fbf7b4e0 | 065d5b3617507f983379e45d2c94c85a29a65667 | /.Rprofile | 32a1313144c07703a2ed55756df06815b8960c99 | [] | no_license | aloosefish/aloosefish_website | 22b117275d0ee9700d2cfbb6ec88c4a61dc15673 | 74c7ead9230933bf8eb3635143f232baa2349fc2 | refs/heads/master | 2021-06-23T01:30:05.616889 | 2019-06-11T17:49:36 | 2019-06-11T17:49:36 | 138,337,204 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 141 | rprofile | .Rprofile | options(blogdown.author = "Ian Davis")
options(blogdown.ext = ".Rmd")
options(blogdown.subdir = "post")
options(blogdown.yaml.empty = TRUE)
|
d86964f9a7235848605ee75d9840ec9d660337e9 | 2363bb535bd8d73fbeaed0195dfe9abf3c0e7b77 | /setting.R | ca8fe8c158fcab0d2246165329fdd9275dd52525 | [
"Apache-2.0"
] | permissive | OHDSI/ETL---Korean-NEDIS | 7bd5713f7ee35a445d813c3ef0ffa6511fee4efd | b3bbfb04e17ce9e3eed8f3dc1b11869944362336 | refs/heads/master | 2020-03-20T10:19:50.090905 | 2019-06-10T08:12:29 | 2019-06-10T08:12:29 | 137,366,496 | 1 | 0 | Apache-2.0 | 2019-02-16T04:36:25 | 2018-06-14T14:07:20 | null | UTF-8 | R | false | false | 1,940 | r | setting.R | # paackage loading
library(dplyr)
library(lubridate)
library(SqlRender)
library(DatabaseConnector)
dataFolder<- "" ##"<set your data folder where your NEDIS file exists >"
scriptFolder <- "" ##"<set your script folder for ETL where your script file exists>"
EMIHPTMI_file <- "" ## "insert your csv fil... |
71e5b052f32e55f34c131c39450db656176d65b6 | 5aad40ba5a1eb29799c1ad1c21495faa07e99b36 | /extern/adobe_photoshop_cs5_sdk_win/pluginsdk/samplecode/format/simpleformat/mac/SimpleFormatUI.r | fe0bb0a86130d4eec3930cec3bea61c900112347 | [] | no_license | q4a/navidia_proj | 3525bcfdb12dc20dcecf08f2603324feceef7394 | 32c839744ad849f8d4d0273c635c4d601cc1980f | refs/heads/master | 2023-04-16T10:44:39.466782 | 2019-11-30T10:26:47 | 2019-11-30T10:26:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,654 | r | SimpleFormatUI.r | // ADOBE SYSTEMS INCORPORATED
// Copyright 1993 - 2002 Adobe Systems Incorporated
// All Rights Reserved
//
// NOTICE: Adobe permits you to use, modify, and distribute this
// file in accordance with the terms of the Adobe license agreement
// accompanying it. If you have received this file from a source
// other t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.